Improve language tag
#3
by
lbourdois - opened
README.md
CHANGED
|
@@ -1,229 +1,235 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
language:
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
name:
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
name:
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
name:
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
type:
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
name:
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
name:
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
)
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
|
| 228 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 229 |
|MMLU-PRO (5-shot) | 7.30|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- zho
|
| 5 |
+
- eng
|
| 6 |
+
- fra
|
| 7 |
+
- spa
|
| 8 |
+
- por
|
| 9 |
+
- deu
|
| 10 |
+
- ita
|
| 11 |
+
- rus
|
| 12 |
+
- jpn
|
| 13 |
+
- kor
|
| 14 |
+
- vie
|
| 15 |
+
- tha
|
| 16 |
+
- ara
|
| 17 |
+
library_name: transformers
|
| 18 |
+
base_model:
|
| 19 |
+
- Qwen/Qwen2.5-1.5B-Instruct
|
| 20 |
+
pipeline_tag: text-generation
|
| 21 |
+
tags:
|
| 22 |
+
- qwen
|
| 23 |
+
- qwq
|
| 24 |
+
model-index:
|
| 25 |
+
- name: Bellatrix-1.5B-xElite
|
| 26 |
+
results:
|
| 27 |
+
- task:
|
| 28 |
+
type: text-generation
|
| 29 |
+
name: Text Generation
|
| 30 |
+
dataset:
|
| 31 |
+
name: IFEval (0-Shot)
|
| 32 |
+
type: wis-k/instruction-following-eval
|
| 33 |
+
split: train
|
| 34 |
+
args:
|
| 35 |
+
num_few_shot: 0
|
| 36 |
+
metrics:
|
| 37 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
| 38 |
+
value: 19.64
|
| 39 |
+
name: averaged accuracy
|
| 40 |
+
source:
|
| 41 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FBellatrix-1.5B-xElite
|
| 42 |
+
name: Open LLM Leaderboard
|
| 43 |
+
- task:
|
| 44 |
+
type: text-generation
|
| 45 |
+
name: Text Generation
|
| 46 |
+
dataset:
|
| 47 |
+
name: BBH (3-Shot)
|
| 48 |
+
type: SaylorTwift/bbh
|
| 49 |
+
split: test
|
| 50 |
+
args:
|
| 51 |
+
num_few_shot: 3
|
| 52 |
+
metrics:
|
| 53 |
+
- type: acc_norm
|
| 54 |
+
value: 9.49
|
| 55 |
+
name: normalized accuracy
|
| 56 |
+
source:
|
| 57 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FBellatrix-1.5B-xElite
|
| 58 |
+
name: Open LLM Leaderboard
|
| 59 |
+
- task:
|
| 60 |
+
type: text-generation
|
| 61 |
+
name: Text Generation
|
| 62 |
+
dataset:
|
| 63 |
+
name: MATH Lvl 5 (4-Shot)
|
| 64 |
+
type: lighteval/MATH-Hard
|
| 65 |
+
split: test
|
| 66 |
+
args:
|
| 67 |
+
num_few_shot: 4
|
| 68 |
+
metrics:
|
| 69 |
+
- type: exact_match
|
| 70 |
+
value: 12.61
|
| 71 |
+
name: exact match
|
| 72 |
+
source:
|
| 73 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FBellatrix-1.5B-xElite
|
| 74 |
+
name: Open LLM Leaderboard
|
| 75 |
+
- task:
|
| 76 |
+
type: text-generation
|
| 77 |
+
name: Text Generation
|
| 78 |
+
dataset:
|
| 79 |
+
name: GPQA (0-shot)
|
| 80 |
+
type: Idavidrein/gpqa
|
| 81 |
+
split: train
|
| 82 |
+
args:
|
| 83 |
+
num_few_shot: 0
|
| 84 |
+
metrics:
|
| 85 |
+
- type: acc_norm
|
| 86 |
+
value: 3.8
|
| 87 |
+
name: acc_norm
|
| 88 |
+
source:
|
| 89 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FBellatrix-1.5B-xElite
|
| 90 |
+
name: Open LLM Leaderboard
|
| 91 |
+
- task:
|
| 92 |
+
type: text-generation
|
| 93 |
+
name: Text Generation
|
| 94 |
+
dataset:
|
| 95 |
+
name: MuSR (0-shot)
|
| 96 |
+
type: TAUR-Lab/MuSR
|
| 97 |
+
args:
|
| 98 |
+
num_few_shot: 0
|
| 99 |
+
metrics:
|
| 100 |
+
- type: acc_norm
|
| 101 |
+
value: 4.44
|
| 102 |
+
name: acc_norm
|
| 103 |
+
source:
|
| 104 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FBellatrix-1.5B-xElite
|
| 105 |
+
name: Open LLM Leaderboard
|
| 106 |
+
- task:
|
| 107 |
+
type: text-generation
|
| 108 |
+
name: Text Generation
|
| 109 |
+
dataset:
|
| 110 |
+
name: MMLU-PRO (5-shot)
|
| 111 |
+
type: TIGER-Lab/MMLU-Pro
|
| 112 |
+
config: main
|
| 113 |
+
split: test
|
| 114 |
+
args:
|
| 115 |
+
num_few_shot: 5
|
| 116 |
+
metrics:
|
| 117 |
+
- type: acc
|
| 118 |
+
value: 7.3
|
| 119 |
+
name: accuracy
|
| 120 |
+
source:
|
| 121 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FBellatrix-1.5B-xElite
|
| 122 |
+
name: Open LLM Leaderboard
|
| 123 |
+
---
|
| 124 |
+
<pre align="center">
|
| 125 |
+
____ ____ __ __ __ ____ ____ ____ _ _
|
| 126 |
+
( _ \( ___)( ) ( ) /__\ (_ _)( _ \(_ _)( \/ )
|
| 127 |
+
) _ < )__) )(__ )(__ /(__)\ )( ) / _)(_ ) (
|
| 128 |
+
(____/(____)(____)(____)(__)(__)(__) (_)\_)(____)(_/\_)
|
| 129 |
+
</pre>
|
| 130 |
+
|
| 131 |
+
# **Bellatrix-1.5B-xElite**
|
| 132 |
+
|
| 133 |
+
Bellatrix-1.5B-xElite is based on a reasoning-based model designed for the QWQ synthetic dataset entries. The pipeline's instruction-tuned, text-only models are optimized for multilingual dialogue use cases, including agentic retrieval and summarization tasks. These models outperform many of the available open-source options. Bellatrix is an auto-regressive language model that uses an optimized transformer architecture. The tuned versions utilize supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF).
|
| 134 |
+
|
| 135 |
+
# **Quickstart with Transformers**
|
| 136 |
+
|
| 137 |
+
Here provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.
|
| 138 |
+
|
| 139 |
+
```python
|
| 140 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 141 |
+
|
| 142 |
+
model_name = "prithivMLmods/Bellatrix-1.5B-xElite"
|
| 143 |
+
|
| 144 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 145 |
+
model_name,
|
| 146 |
+
torch_dtype="auto",
|
| 147 |
+
device_map="auto"
|
| 148 |
+
)
|
| 149 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 150 |
+
|
| 151 |
+
prompt = "Give me a short introduction to large language model."
|
| 152 |
+
messages = [
|
| 153 |
+
{"role": "system", "content": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant."},
|
| 154 |
+
{"role": "user", "content": prompt}
|
| 155 |
+
]
|
| 156 |
+
text = tokenizer.apply_chat_template(
|
| 157 |
+
messages,
|
| 158 |
+
tokenize=False,
|
| 159 |
+
add_generation_prompt=True
|
| 160 |
+
)
|
| 161 |
+
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
|
| 162 |
+
|
| 163 |
+
generated_ids = model.generate(
|
| 164 |
+
**model_inputs,
|
| 165 |
+
max_new_tokens=512
|
| 166 |
+
)
|
| 167 |
+
generated_ids = [
|
| 168 |
+
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
|
| 169 |
+
]
|
| 170 |
+
|
| 171 |
+
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
| 172 |
+
```
|
| 173 |
+
|
| 174 |
+
# **Intended Use:**
|
| 175 |
+
|
| 176 |
+
1. **Multilingual Dialogue Systems:**
|
| 177 |
+
- Designed for conversational AI applications, capable of handling dialogue across multiple languages.
|
| 178 |
+
- Useful in customer service, chatbots, and other dialogue-centric use cases.
|
| 179 |
+
|
| 180 |
+
2. **Reasoning and QWQ Dataset Applications:**
|
| 181 |
+
- Optimized for tasks requiring logical reasoning and contextual understanding, particularly in synthetic datasets like QWQ.
|
| 182 |
+
|
| 183 |
+
3. **Agentic Retrieval:**
|
| 184 |
+
- Supports retrieval-augmented generation tasks, helping systems fetch and synthesize information effectively.
|
| 185 |
+
|
| 186 |
+
4. **Summarization Tasks:**
|
| 187 |
+
- Excels in summarizing long or complex text while maintaining coherence and relevance.
|
| 188 |
+
|
| 189 |
+
5. **Instruction-Following Tasks:**
|
| 190 |
+
- Can execute tasks based on specific user instructions due to instruction-tuning during training.
|
| 191 |
+
|
| 192 |
+
6. **Language Generation:**
|
| 193 |
+
- Suitable for generating coherent and contextually relevant text in various domains and styles.
|
| 194 |
+
|
| 195 |
+
# **Limitations:**
|
| 196 |
+
|
| 197 |
+
1. **Synthetic Dataset Bias:**
|
| 198 |
+
- Optimization for QWQ and similar datasets may make the model less effective on real-world or less structured data.
|
| 199 |
+
|
| 200 |
+
2. **Data Dependency:**
|
| 201 |
+
- Performance may degrade on tasks or languages not well-represented in the training dataset.
|
| 202 |
+
|
| 203 |
+
3. **Computational Requirements:**
|
| 204 |
+
- The optimized transformer architecture may demand significant computational resources, especially for fine-tuning or large-scale deployments.
|
| 205 |
+
|
| 206 |
+
4. **Potential Hallucinations:**
|
| 207 |
+
- Like most auto-regressive models, it may generate plausible-sounding but factually incorrect or nonsensical outputs.
|
| 208 |
+
|
| 209 |
+
5. **RLHF-Specific Biases:**
|
| 210 |
+
- Reinforcement Learning with Human Feedback (RLHF) can introduce biases based on the preferences of the annotators involved in the feedback process.
|
| 211 |
+
|
| 212 |
+
6. **Limited Domain Adaptability:**
|
| 213 |
+
- While effective in reasoning and dialogue tasks, it may struggle with highly specialized domains or out-of-distribution tasks.
|
| 214 |
+
|
| 215 |
+
7. **Multilingual Limitations:**
|
| 216 |
+
- Although optimized for multilingual use, certain low-resource languages may exhibit poorer performance compared to high-resource ones.
|
| 217 |
+
|
| 218 |
+
8. **Ethical Concerns:**
|
| 219 |
+
- May inadvertently generate inappropriate or harmful content if safeguards are not applied, particularly in sensitive applications.
|
| 220 |
+
|
| 221 |
+
9. **Real-Time Usability:**
|
| 222 |
+
- Latency in inference time could limit its effectiveness in real-time applications or when scaling to large user bases.
|
| 223 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
|
| 224 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/prithivMLmods__Bellatrix-1.5B-xElite-details)!
|
| 225 |
+
Summarized results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/contents/viewer/default/train?q=prithivMLmods%2FBellatrix-1.5B-xElite&sort[column]=Average%20%E2%AC%86%EF%B8%8F&sort[direction]=desc)!
|
| 226 |
+
|
| 227 |
+
| Metric |Value (%)|
|
| 228 |
+
|-------------------|--------:|
|
| 229 |
+
|**Average** | 9.55|
|
| 230 |
+
|IFEval (0-Shot) | 19.64|
|
| 231 |
+
|BBH (3-Shot) | 9.49|
|
| 232 |
+
|MATH Lvl 5 (4-Shot)| 12.61|
|
| 233 |
+
|GPQA (0-shot) | 3.80|
|
| 234 |
+
|MuSR (0-shot) | 4.44|
|
| 235 |
|MMLU-PRO (5-shot) | 7.30|
|