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
chenpangpang
transformers
Commits
3114df41
Unverified
Commit
3114df41
authored
Jun 10, 2022
by
Loubna Ben Allal
Committed by
GitHub
Jun 10, 2022
Browse files
update README.md (#17657)
- use CodeParrot scores of v1.1 - change evaluation command to use accelerate
parent
c99ddcc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/research_projects/codeparrot/README.md
examples/research_projects/codeparrot/README.md
+2
-2
No files found.
examples/research_projects/codeparrot/README.md
View file @
3114df41
...
...
@@ -165,7 +165,7 @@ python scripts/validation_loss.py \
In addition we evaluate the model on OpenAI's _HumanEval_ benchmark. You can run the evaluation with the following command:
```
bash
python
scripts/human_eval.py
--model_ckpt
lvwerra/codeparrot
\
accelerate launch
scripts/human_eval.py
--model_ckpt
lvwerra/codeparrot
\
--do_sample
True
\
--temperature
0.2
\
--top_p
0.95
\
...
...
@@ -178,7 +178,7 @@ The results as well as reference values are shown in the following table:
| Model | pass@1 | pass@10 | pass@100|
|-------|--------|---------|---------|
|CodeParrot 🦜 (110M) | 3.80% | 6.57% | 12.78% |
|CodeParrot 🦜 (1.5B) | 3.
58
% | 8.
03
% | 1
4.96
% |
|CodeParrot 🦜 (1.5B) | 3.
99
% | 8.
69
% | 1
7.88
% |
|||||
|Codex (25M)| 3.21% | 7.1% | 12.89%|
|Codex (85M)| 8.22% | 12.81% | 22.40% |
...
...
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