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: docs/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,5 @@ Majority of this documentation is adapted from [lm-eval-harness](https://github.
8
8
9
9
* To learn about the command line flags, see the [commands](commands.md)
10
10
* To learn how to add a new moddel, see the [Model Guide](model_guide.md).
11
-
* For a crash course on adding new tasks to the library, see our [Task Guide](task_guide.md).
11
+
* For a crash course on adding new tasks to the library, see our [Task Guide](task_guide.md).
12
+
* If you need to upload your datasets into correct HF format with viewer supported, please refer to [tools](https://github.com/EvolvingLMMs-Lab/lmms-eval/tree/pufanyi/hf_dataset_docs/tools)
content=f"[Question]\n{question}\n\n"+f"[Assistant 1]\n{ans1}\n\n[End of Assistant 1]\n\n"+f"[Assistant 2]\n{ans2}\n\n[End of Assistant 2]\n\n"f"[System]\n{judge_rules}\n\n"
option_prompt="Select the best answer to the following multiple-choice question based on the video and the subtitles. Respond with only the letter (A, B, C, or D) of the correct option."
150
+
question=doc["question"]
151
+
option=str(doc["options"])
152
+
question=question+"\n"+option
153
+
full_prompt=option_prompt+"\n"+question+"\n"+"The best answer is:"
154
+
returnfull_prompt
155
+
# Frames + Subs
156
+
# This video's subtitles are listed below:
157
+
# 【subtitles】
158
+
159
+
# Select the best answer to the following multiple-choice question based on the video and the subtitles. Respond with only the letter (A, B, C, or D) of the correct option.
160
+
# 【question】
161
+
# The best answer is:
162
+
# Frames / Frames + Audio
163
+
# Select the best answer to the following multiple-choice question based on the video. Respond with only the letter (A, B, C, or D) of the correct option.
option_prompt="Select the best answer to the following multiple-choice question based on the video and the subtitles. Respond with only the letter (A, B, C, or D) of the correct option."
0 commit comments