Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Bielik
Browse files- src/about.py +7 -2
- src/leaderboard/read_evals.py +5 -0
src/about.py
CHANGED
@@ -120,10 +120,15 @@ pip install -e .
|
|
120 |
and run benchmark for 0-shot and 5-shot:
|
121 |
|
122 |
```
|
123 |
-
lm_eval --model hf --model_args pretrained=
|
124 |
-
lm_eval --model hf --model_args pretrained=
|
125 |
```
|
126 |
|
|
|
|
|
|
|
|
|
|
|
127 |
"""
|
128 |
|
129 |
EVALUATION_QUEUE_TEXT = """
|
|
|
120 |
and run benchmark for 0-shot and 5-shot:
|
121 |
|
122 |
```
|
123 |
+
lm_eval --model hf --model_args pretrained=speakleash/Bielik-7B-Instruct-v0.1 --tasks polish --num_fewshot 0 --device cuda:0 --batch_size 16 --verbosity DEBUG --output_path results/ --log_samples
|
124 |
+
lm_eval --model hf --model_args pretrained=speakleash/Bielik-7B-Instruct-v0.1 --tasks polish --num_fewshot 5 --device cuda:0 --batch_size 16 --verbosity DEBUG --output_path results/ --log_samples
|
125 |
```
|
126 |
|
127 |
+
## List of Polish models
|
128 |
+
|
129 |
+
* speakleash/Bielik-7B-Instruct-v0.1
|
130 |
+
* speakleash/Bielik-7B-v0.1
|
131 |
+
|
132 |
"""
|
133 |
|
134 |
EVALUATION_QUEUE_TEXT = """
|
src/leaderboard/read_evals.py
CHANGED
@@ -69,6 +69,11 @@ class EvalResult:
|
|
69 |
org_and_model = re.sub(",prefix_token_id=\d+", "", org_and_model)
|
70 |
org_and_model = re.sub("/$", "", org_and_model)
|
71 |
|
|
|
|
|
|
|
|
|
|
|
72 |
org_and_model = org_and_model.split("/", 1)
|
73 |
|
74 |
if len(org_and_model) == 1:
|
|
|
69 |
org_and_model = re.sub(",prefix_token_id=\d+", "", org_and_model)
|
70 |
org_and_model = re.sub("/$", "", org_and_model)
|
71 |
|
72 |
+
if org_and_model=='speakleash/mistral_7B-v2/spkl-only-e1_333887a5':
|
73 |
+
org_and_model='speakleash/Bielik-7B-v0.1'
|
74 |
+
elif org_and_model=='speakleash/mistral_7B-v2/spkl-only_sft_v2/e1_base/spkl-only_v10wa_7e6-e2_bbc67e89':
|
75 |
+
org_and_model='speakleash/Bielik-7B-Instruct-v0.1'
|
76 |
+
|
77 |
org_and_model = org_and_model.split("/", 1)
|
78 |
|
79 |
if len(org_and_model) == 1:
|