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
OpenDAS
opencompass
Commits
b9b145c3
Unverified
Commit
b9b145c3
authored
Sep 11, 2023
by
Tong Gao
Committed by
GitHub
Sep 11, 2023
Browse files
[Docs] Fix incorrect name in get_started (#380)
parent
ca68637c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
configs/models/opt/hf_opt_125m.py
configs/models/opt/hf_opt_125m.py
+2
-0
configs/models/opt/hf_opt_350m.py
configs/models/opt/hf_opt_350m.py
+2
-0
docs/en/get_started.md
docs/en/get_started.md
+1
-1
docs/zh_cn/get_started.md
docs/zh_cn/get_started.md
+1
-1
No files found.
configs/models/opt/hf_opt_125m.py
View file @
b9b145c3
...
...
@@ -19,3 +19,5 @@ opt125m = dict(
batch_size
=
128
,
run_cfg
=
dict
(
num_gpus
=
1
),
# Run configuration for specifying resource requirements
)
models
=
[
opt125m
]
configs/models/opt/hf_opt_350m.py
View file @
b9b145c3
...
...
@@ -19,3 +19,5 @@ opt350m = dict(
batch_size
=
64
,
run_cfg
=
dict
(
num_gpus
=
1
),
# Run configuration for specifying resource requirements
)
models
=
[
opt350m
]
docs/en/get_started.md
View file @
b9b145c3
...
...
@@ -90,7 +90,7 @@ In OpenCompass, each evaluation task consists of the model to be evaluated and t
Users can combine the models and datasets they want to test using `--models` and `--datasets`.
```bash
python run.py --models opt_125m opt_350m --datasets siqa_gen winograd_ppl
python run.py --models
hf_
opt_125m
hf_
opt_350m --datasets siqa_gen winograd_ppl
```
The models and datasets are pre-stored in the form of configuration files in `configs/models` and `configs/datasets`. Users can view or filter the currently available model and dataset configurations using `tools/list_configs.py`.
...
...
docs/zh_cn/get_started.md
View file @
b9b145c3
...
...
@@ -89,7 +89,7 @@ OpenCompass 中,每个评测任务都由待评测的模型和数据集组成
用户可以通过 `--models` 和 `--datasets` 组合待测试的模型和数据集。
```bash
python run.py --models opt_125m opt_350m --datasets siqa_gen winograd_ppl
python run.py --models
hf_
opt_125m
hf_
opt_350m --datasets siqa_gen winograd_ppl
```
模型和数据集以配置文件的形式预先存放在 `configs/models` 和 `configs/datasets` 下。用户可以通过 `tools/list_configs.py` 查看或筛选当前可用的模型和数据集配置。
...
...
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