forked from EleutherAI/lm-evaluation-harness
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compare results between Jsquad prompt with title and without title (#84)
* re-evaluate models with jsquad prompt with title * update jsquad to include titles into the prompt * re-evaluate models with jsquad prompt with title * inherit JSQuAD v1.2 tasks from v1.1 for readability * re-evaluate models with jsquad prompt with title * wont need jsquad_v11 * revert result.json and harness.sh in models * fix format
- Loading branch information
Showing
37 changed files
with
582 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MODEL_ARGS="pretrained=abeja/gpt-neox-japanese-2.7b,device_map=auto,torch_dtype=auto" | ||
TASK="jsquad-1.2-0.2" | ||
python main.py --model hf-causal --model_args $MODEL_ARGS --tasks $TASK --num_fewshot "3" --device "cuda" --output_path "models/abeja-gpt-neox-japanese-2.7b/result.jsquad-1.2.json" |
22 changes: 22 additions & 0 deletions
22
models/abeja-gpt-neox-japanese-2.7b/result.jsquad-1.2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"results": { | ||
"jsquad-1.2-0.2": { | ||
"exact_match": 15.803692030616839, | ||
"f1": 25.18326978234071 | ||
} | ||
}, | ||
"versions": { | ||
"jsquad-1.2-0.2": 1.2 | ||
}, | ||
"config": { | ||
"model": "hf-causal", | ||
"model_args": "pretrained=abeja/gpt-neox-japanese-2.7b,device_map=auto,torch_dtype=auto", | ||
"num_fewshot": 3, | ||
"batch_size": null, | ||
"device": "cuda", | ||
"no_cache": false, | ||
"limit": null, | ||
"bootstrap_iters": 100000, | ||
"description_dict": {} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
models/cyberagent/cyberagent-open-calm-1b/harness.jsquad-1.2.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MODEL_ARGS="pretrained=cyberagent/open-calm-1b,device_map=auto,torch_dtype=auto" | ||
TASK="jsquad-1.2-0.2" | ||
python main.py --model hf-causal --model_args $MODEL_ARGS --tasks $TASK --num_fewshot "3" --device "cuda" --output_path "models/cyberagent-open-calm-1b/result.jsquad-1.2.json" |
22 changes: 22 additions & 0 deletions
22
models/cyberagent/cyberagent-open-calm-1b/result.jsquad-1.2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"results": { | ||
"jsquad-1.2-0.2": { | ||
"exact_match": 39.53174245835209, | ||
"f1": 49.49399460234075 | ||
} | ||
}, | ||
"versions": { | ||
"jsquad-1.2-0.2": 1.2 | ||
}, | ||
"config": { | ||
"model": "hf-causal", | ||
"model_args": "pretrained=cyberagent/open-calm-1b", | ||
"num_fewshot": 3, | ||
"batch_size": null, | ||
"device": "cuda", | ||
"no_cache": false, | ||
"limit": null, | ||
"bootstrap_iters": 100000, | ||
"description_dict": {} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
models/cyberagent/cyberagent-open-calm-3b/harness.jsquad-1.2.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MODEL_ARGS="pretrained=cyberagent/open-calm-3b,device_map=auto,torch_dtype=auto" | ||
TASK="jsquad-1.2-0.2" | ||
python main.py --model hf-causal --model_args $MODEL_ARGS --tasks $TASK --num_fewshot "2" --device "cuda" --output_path "models/cyberagent/cyberagent-open-calm-3b/result.jsquad-1.2.json" |
22 changes: 22 additions & 0 deletions
22
models/cyberagent/cyberagent-open-calm-3b/result.jsquad-1.2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"results": { | ||
"jsquad-1.2-0.2": { | ||
"exact_match": 44.529491220171096, | ||
"f1": 56.02141036867636 | ||
} | ||
}, | ||
"versions": { | ||
"jsquad-1.2-0.2": 1.2 | ||
}, | ||
"config": { | ||
"model": "hf-causal", | ||
"model_args": "pretrained=cyberagent/open-calm-3b,device_map=auto,torch_dtype=auto", | ||
"num_fewshot": 2, | ||
"batch_size": null, | ||
"device": "cuda", | ||
"no_cache": false, | ||
"limit": null, | ||
"bootstrap_iters": 100000, | ||
"description_dict": {} | ||
} | ||
} |
Oops, something went wrong.