You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ To test your own query generator with our framework, you would need to extend `Q
58
58
59
59
### Running the test
60
60
61
+
#### OpenAI
61
62
To test it out with just 1 question (instead of all 175):
62
63
63
64
```bash
@@ -73,6 +74,22 @@ python main.py \
73
74
-v
74
75
```
75
76
77
+
#### HuggingFace
78
+
To test it out with just 10 questions (instead of all 175):
79
+
80
+
```bash
81
+
mkdir results #create directory for storing results
82
+
83
+
# use the -W option to ignore warnings about sequential use of pipeline
84
+
python -W main.py \
85
+
-q data/questions_gen.csv \
86
+
-o results/results.csv \
87
+
-g hf \
88
+
-f query_generators/prompts/sample_hf_prompt.md \
89
+
-m defog/starcoder-finetune-v3 \
90
+
-n 10
91
+
```
92
+
76
93
You can explore the results generated and aggregated the various metrics that you care about to understand your query generator's performance. Happy iterating!
0 commit comments