Skip to content

Commit

Permalink
change config files
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehengWang committed Feb 20, 2025
1 parent bc52f16 commit 83fe0f1
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
13 changes: 13 additions & 0 deletions examples/datasets_config_default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"sort_strategy": "random",
"dataset_1": {
"file_name": "",
"prompt_field": "",
"select_ratio": 1
},
"dataset_2": {
"file_name": "",
"prompt_field": "",
"select_ratio": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sort": "original",
"sort_strategy": "original",
"dataset_1": {
"file_name": "hf://datasets/fka/awesome-chatgpt-prompts/prompts.csv",
"prompt_field": "prompt",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"sort": "random",
"sort_strategy": "random",
"dataset_1": {
"file_name": "conversation_sample.csv",
"prompt_field": "user_message",
"select_ratio": 6
},
"dataset_2": {
"file_name": "../datasets/GPT4_coding_sample.csv",
"file_name": "~/.cache/tracestorm/GPT4_coding_sample.csv",
"prompt_field": "user_prompt",
"select_ratio": 4
}
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@ ignore = ["B007"] # Loop control variable not used within loop body

[tool.isort]
use_parentheses = true
skip_gitignore = true
skip_gitignore = true

[tool.setuptools]
packages = { find = { exclude = ["examples"] } }
10 changes: 0 additions & 10 deletions tracestorm/datasets_config/datasets_config_missing.json

This file was deleted.

0 comments on commit 83fe0f1

Please sign in to comment.