Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
e20ef72e
Unverified
Commit
e20ef72e
authored
Jun 16, 2025
by
fuder.eth
Committed by
GitHub
Jun 16, 2025
Browse files
Fix Typo in README and Comment in utils_mcq.py (#3057)
* Update README.md * Update utils_mcq.py
parent
d09e03dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lm_eval/tasks/arab_culture/README.md
lm_eval/tasks/arab_culture/README.md
+1
-1
lm_eval/tasks/arab_culture/utils_mcq.py
lm_eval/tasks/arab_culture/utils_mcq.py
+1
-1
No files found.
lm_eval/tasks/arab_culture/README.md
View file @
e20ef72e
...
...
@@ -65,6 +65,6 @@ REGION=True
**Please add these flags add environment variables.**
*
We also allow for prompting in English, which we found to ach
e
ive higher results on most of the evaluated models (please refer to our paper).
*
We also allow for prompting in English, which we found to achi
e
ve higher results on most of the evaluated models (please refer to our paper).
*
To change the language of the prompt, Define the
`ARABIC`
environment variable.
lm_eval/tasks/arab_culture/utils_mcq.py
View file @
e20ef72e
...
...
@@ -88,7 +88,7 @@ def doc_to_text(doc):
first_statement
=
first_statement
,
choices
=
choices_str
)
### apply jais chat temp
e
late
### apply jais chat template
if
MODEL_NAME
and
"jais"
in
MODEL_NAME
and
"chat"
in
MODEL_NAME
:
if
ARABIC
:
doc_text
=
JAIS_CHAT_AR
.
format
(
question
=
doc_text
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment