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
ModelZoo
llama3_pytorch
Commits
2eba7620
Commit
2eba7620
authored
Apr 27, 2024
by
Rayyyyy
Browse files
add evaluation result image
parent
223a7500
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
README.md
README.md
+4
-1
doc/evaluation.png
doc/evaluation.png
+0
-0
No files found.
README.md
View file @
2eba7620
...
@@ -141,7 +141,7 @@ torchrun --nproc_per_node 1 example_chat_completion.py \
...
@@ -141,7 +141,7 @@ torchrun --nproc_per_node 1 example_chat_completion.py \
--max_seq_len
512
--max_batch_size
6
--max_seq_len
512
--max_batch_size
6
```
```
##
验证
##
Evaluation
1.
安装
`llama-recipes`
、
`lm-eval`
库
1.
安装
`llama-recipes`
、
`lm-eval`
库
```
bash
```
bash
# llama-recipes 下载
# llama-recipes 下载
...
@@ -166,6 +166,9 @@ cd ../
...
@@ -166,6 +166,9 @@ cd ../
cd
/path/of/llama-recipes/recipes/evaluation
cd
/path/of/llama-recipes/recipes/evaluation
python eval.py
--model
hf
--model_args
pretrained
=
/home/llama3/Meta-Llama-3-8B-Instruct,dtype
=
"float"
--tasks
hellaswag
--device
cuda
--batch_size
8
python eval.py
--model
hf
--model_args
pretrained
=
/home/llama3/Meta-Llama-3-8B-Instruct,dtype
=
"float"
--tasks
hellaswag
--device
cuda
--batch_size
8
```
```
<div
align=
center
>
<img
src=
"./doc/evaluation.png"
/>
</div>
## result
## result
-
Meta-Llama-3-8B-Instruct
-
Meta-Llama-3-8B-Instruct
...
...
doc/evaluation.png
0 → 100644
View file @
2eba7620
52.1 KB
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