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
e6ca2021
Commit
e6ca2021
authored
May 07, 2023
by
ingyuseong
Browse files
Resolve confilict on init file
parent
dae050b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lm_eval/tasks/__init__.py
lm_eval/tasks/__init__.py
+5
-3
No files found.
lm_eval/tasks/__init__.py
View file @
e6ca2021
...
...
@@ -57,6 +57,7 @@ from . import klue
from
.
import
ko_translation
from
.
import
korquad
from
.
import
korunsmile
from
.
import
kohatespeech
########################################
# Translation tasks
...
...
@@ -69,7 +70,6 @@ gpt3_translation_benchmarks = {
"wmt16"
:
[
'en-ro'
,
'ro-en'
,
'de-en'
,
'en-de'
],
# German, Romanian
}
# 28 total
selected_translation_benchmarks
=
{
**
gpt3_translation_benchmarks
,
...
...
@@ -88,7 +88,7 @@ all_translation_benchmarks = {
# All tasks
########################################
# task 레지스트리에 클래스 추가
TASK_REGISTRY
=
{
# GLUE
"cola"
:
glue
.
CoLA
,
...
...
@@ -322,9 +322,11 @@ TASK_REGISTRY = {
"ko_en_translation"
:
ko_translation
.
KoEnTranslation
,
"en_ko_translation"
:
ko_translation
.
EnKoTranslation
,
"korunsmile"
:
korunsmile
.
KorUnSmile
"kohatespeech"
:
kohatespeech
.
HateSpeech
,
"kohatespeech_gen_bias"
:
kohatespeech
.
GenderBias
,
"kohatespeech_apeach"
:
kohatespeech
.
Apeach
}
ALL_TASKS
=
sorted
(
list
(
TASK_REGISTRY
))
...
...
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