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
adec7faa
Unverified
Commit
adec7faa
authored
Jul 01, 2021
by
Leo Gao
Committed by
GitHub
Jul 01, 2021
Browse files
Update README.md
parent
ba3fa9c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
adec7faa
...
...
@@ -212,7 +212,7 @@ To evaluate a model, (e.g. GPT-2) on NLU tasks (e.g. RTE, Winograd Scheme Challe
python main.py
\
--model
gpt2
\
--device
cuda:0
\
--tasks
rte,wsc
\
--tasks
lambada,hellaswag
\
--num_fewshot
2
```
...
...
@@ -222,7 +222,7 @@ If you have access to an OpenAI API key, you can also evaluate GPT-3 on various
export
OPENAI_API_SECRET_KEY
=
YOUR_KEY_HERE
python main.py
\
--model
gpt3
\
--tasks
rte,wsc
\
--tasks
lambada,hellaswag
\
--provide_description
\
--num_fewshot
2
```
...
...
@@ -235,7 +235,7 @@ python main.py \
--model
gpt2
\
--model_args
pretrained
=
EleutherAI/gpt-neo-1.3B
\
--device
cuda:0
\
--tasks
rte,wsc
\
--tasks
lambada,hellaswag
\
--num_fewshot
2
```
...
...
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