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
e65e5bbd
Unverified
Commit
e65e5bbd
authored
Dec 15, 2023
by
Lenni Justen
Committed by
GitHub
Dec 16, 2023
Browse files
add correct openai api key to README.md (#1138)
parent
38c36613
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
e65e5bbd
...
@@ -149,7 +149,7 @@ Our library also supports the evaluation of models served via several commercial
...
@@ -149,7 +149,7 @@ Our library also supports the evaluation of models served via several commercial
To call a hosted model, use:
To call a hosted model, use:
```
bash
```
bash
export
OPENAI_API_
SECRET_
KEY
=
YOUR_KEY_HERE
export
OPENAI_API_KEY
=
YOUR_KEY_HERE
lm_eval
--model
openai-completions
\
lm_eval
--model
openai-completions
\
--model_args
engine
=
davinci
\
--model_args
engine
=
davinci
\
--tasks
lambada_openai,hellaswag
--tasks
lambada_openai,hellaswag
...
...
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