Improve language tag
#2
by
lbourdois
- opened
README.md
CHANGED
|
@@ -1,225 +1,237 @@
|
|
| 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 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
type:
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
type:
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
type:
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
type:
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
name:
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
name:
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
name:
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
The model
|
| 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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
base_model:
|
| 18 |
+
- Qwen/Qwen2.5-7B-Instruct
|
| 19 |
+
pipeline_tag: text-generation
|
| 20 |
+
library_name: transformers
|
| 21 |
+
tags:
|
| 22 |
+
- opus
|
| 23 |
+
- code
|
| 24 |
+
- cot
|
| 25 |
+
- lcot
|
| 26 |
+
- LlaMa
|
| 27 |
+
model-index:
|
| 28 |
+
- name: Taurus-Opus-7B
|
| 29 |
+
results:
|
| 30 |
+
- task:
|
| 31 |
+
type: text-generation
|
| 32 |
+
name: Text Generation
|
| 33 |
+
dataset:
|
| 34 |
+
name: IFEval (0-Shot)
|
| 35 |
+
type: wis-k/instruction-following-eval
|
| 36 |
+
split: train
|
| 37 |
+
args:
|
| 38 |
+
num_few_shot: 0
|
| 39 |
+
metrics:
|
| 40 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
| 41 |
+
value: 42.23
|
| 42 |
+
name: averaged accuracy
|
| 43 |
+
source:
|
| 44 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FTaurus-Opus-7B
|
| 45 |
+
name: Open LLM Leaderboard
|
| 46 |
+
- task:
|
| 47 |
+
type: text-generation
|
| 48 |
+
name: Text Generation
|
| 49 |
+
dataset:
|
| 50 |
+
name: BBH (3-Shot)
|
| 51 |
+
type: SaylorTwift/bbh
|
| 52 |
+
split: test
|
| 53 |
+
args:
|
| 54 |
+
num_few_shot: 3
|
| 55 |
+
metrics:
|
| 56 |
+
- type: acc_norm
|
| 57 |
+
value: 34.23
|
| 58 |
+
name: normalized accuracy
|
| 59 |
+
source:
|
| 60 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FTaurus-Opus-7B
|
| 61 |
+
name: Open LLM Leaderboard
|
| 62 |
+
- task:
|
| 63 |
+
type: text-generation
|
| 64 |
+
name: Text Generation
|
| 65 |
+
dataset:
|
| 66 |
+
name: MATH Lvl 5 (4-Shot)
|
| 67 |
+
type: lighteval/MATH-Hard
|
| 68 |
+
split: test
|
| 69 |
+
args:
|
| 70 |
+
num_few_shot: 4
|
| 71 |
+
metrics:
|
| 72 |
+
- type: exact_match
|
| 73 |
+
value: 22.73
|
| 74 |
+
name: exact match
|
| 75 |
+
source:
|
| 76 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FTaurus-Opus-7B
|
| 77 |
+
name: Open LLM Leaderboard
|
| 78 |
+
- task:
|
| 79 |
+
type: text-generation
|
| 80 |
+
name: Text Generation
|
| 81 |
+
dataset:
|
| 82 |
+
name: GPQA (0-shot)
|
| 83 |
+
type: Idavidrein/gpqa
|
| 84 |
+
split: train
|
| 85 |
+
args:
|
| 86 |
+
num_few_shot: 0
|
| 87 |
+
metrics:
|
| 88 |
+
- type: acc_norm
|
| 89 |
+
value: 10.18
|
| 90 |
+
name: acc_norm
|
| 91 |
+
source:
|
| 92 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FTaurus-Opus-7B
|
| 93 |
+
name: Open LLM Leaderboard
|
| 94 |
+
- task:
|
| 95 |
+
type: text-generation
|
| 96 |
+
name: Text Generation
|
| 97 |
+
dataset:
|
| 98 |
+
name: MuSR (0-shot)
|
| 99 |
+
type: TAUR-Lab/MuSR
|
| 100 |
+
args:
|
| 101 |
+
num_few_shot: 0
|
| 102 |
+
metrics:
|
| 103 |
+
- type: acc_norm
|
| 104 |
+
value: 14.22
|
| 105 |
+
name: acc_norm
|
| 106 |
+
source:
|
| 107 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FTaurus-Opus-7B
|
| 108 |
+
name: Open LLM Leaderboard
|
| 109 |
+
- task:
|
| 110 |
+
type: text-generation
|
| 111 |
+
name: Text Generation
|
| 112 |
+
dataset:
|
| 113 |
+
name: MMLU-PRO (5-shot)
|
| 114 |
+
type: TIGER-Lab/MMLU-Pro
|
| 115 |
+
config: main
|
| 116 |
+
split: test
|
| 117 |
+
args:
|
| 118 |
+
num_few_shot: 5
|
| 119 |
+
metrics:
|
| 120 |
+
- type: acc
|
| 121 |
+
value: 32.79
|
| 122 |
+
name: accuracy
|
| 123 |
+
source:
|
| 124 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FTaurus-Opus-7B
|
| 125 |
+
name: Open LLM Leaderboard
|
| 126 |
+
---
|
| 127 |
+
|
| 128 |
+
# **Taurus-Opus-7B**
|
| 129 |
+
|
| 130 |
+
Taurus-Opus-7B is built upon the LLaMA (Large Language Model Meta AI) 7B architecture, optimized to provide advanced reasoning capabilities while maintaining efficiency. With 7 billion parameters, it strikes a balance between performance and computational resource requirements. The model has been fine-tuned with a focus on chain-of-thought (CoT) reasoning, leveraging specialized datasets to enhance its problem-solving abilities. Taurus-Opus-7B is designed for tasks requiring logical reasoning, detailed explanations, and multi-step problem-solving, making it ideal for applications such as instruction-following, text generation, and coding assistance.
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
# **Key Features and Improvements**
|
| 134 |
+
|
| 135 |
+
1. **Optimized Reasoning Capabilities**:
|
| 136 |
+
The model showcases significant improvements in context understanding, reasoning, and mathematical problem-solving through fine-tuning with long CoT datasets.
|
| 137 |
+
|
| 138 |
+
2. **Enhanced Instruction Following**:
|
| 139 |
+
Taurus-Opus-7B excels in generating long, coherent outputs (up to 4K tokens), understanding structured data, and producing structured outputs like JSON.
|
| 140 |
+
|
| 141 |
+
3. **Lightweight Efficiency**:
|
| 142 |
+
Its 7B parameter size makes it more resource-efficient compared to larger models while retaining high-quality performance for reasoning and content generation tasks.
|
| 143 |
+
|
| 144 |
+
4. **Long-Context Support**:
|
| 145 |
+
Offers support for long contexts of up to 64K tokens, enabling the handling of large datasets or extended conversations.
|
| 146 |
+
|
| 147 |
+
5. **Multilingual Proficiency**:
|
| 148 |
+
The model supports 20+ languages, including English, Spanish, French, German, Portuguese, Chinese, Japanese, and more, making it suitable for global applications.
|
| 149 |
+
|
| 150 |
+
# **Quickstart with transformers**
|
| 151 |
+
|
| 152 |
+
Here’s a code snippet to load **Taurus-Opus-7B** using the `transformers` library:
|
| 153 |
+
|
| 154 |
+
```python
|
| 155 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 156 |
+
|
| 157 |
+
model_name = "prithivMLmods/Taurus-Opus-7B"
|
| 158 |
+
|
| 159 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 160 |
+
model_name,
|
| 161 |
+
torch_dtype="auto",
|
| 162 |
+
device_map="auto"
|
| 163 |
+
)
|
| 164 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 165 |
+
|
| 166 |
+
prompt = "Explain the importance of chain-of-thought reasoning in large language models."
|
| 167 |
+
messages = [
|
| 168 |
+
{"role": "system", "content": "You are a helpful assistant with expertise in logical reasoning and problem-solving."},
|
| 169 |
+
{"role": "user", "content": prompt}
|
| 170 |
+
]
|
| 171 |
+
text = tokenizer.apply_chat_template(
|
| 172 |
+
messages,
|
| 173 |
+
tokenize=False,
|
| 174 |
+
add_generation_prompt=True
|
| 175 |
+
)
|
| 176 |
+
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
|
| 177 |
+
|
| 178 |
+
generated_ids = model.generate(
|
| 179 |
+
**model_inputs,
|
| 180 |
+
max_new_tokens=512
|
| 181 |
+
)
|
| 182 |
+
generated_ids = [
|
| 183 |
+
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
|
| 184 |
+
]
|
| 185 |
+
|
| 186 |
+
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
| 187 |
+
```
|
| 188 |
+
# **Intended Use**
|
| 189 |
+
|
| 190 |
+
1. **Reasoning and Context Understanding**:
|
| 191 |
+
Taurus-Opus-7B is tailored for complex reasoning tasks, contextual understanding, and solving problems requiring logical deduction.
|
| 192 |
+
|
| 193 |
+
2. **Mathematical Problem-Solving**:
|
| 194 |
+
Designed for advanced mathematical reasoning and calculations, making it valuable for education, research, and engineering tasks.
|
| 195 |
+
|
| 196 |
+
3. **Code Assistance**:
|
| 197 |
+
Provides robust coding support, including writing, debugging, and optimizing code across multiple programming languages.
|
| 198 |
+
|
| 199 |
+
4. **Data Analysis**:
|
| 200 |
+
Excels in analyzing structured data and generating structured outputs, aiding automation workflows and data-driven insights.
|
| 201 |
+
|
| 202 |
+
5. **Multilingual Support**:
|
| 203 |
+
Facilitates applications such as multilingual chatbots, content generation, and translation in 20+ languages.
|
| 204 |
+
|
| 205 |
+
6. **Extended Content Generation**:
|
| 206 |
+
Suitable for generating detailed reports, articles, and instructional guides, handling outputs up to 4K tokens.
|
| 207 |
+
|
| 208 |
+
# **Limitations**
|
| 209 |
+
|
| 210 |
+
1. **Hardware Requirements**:
|
| 211 |
+
While more efficient than larger models, Taurus-Opus-7B still requires high-memory GPUs or TPUs for optimal performance.
|
| 212 |
+
|
| 213 |
+
2. **Language Quality Variations**:
|
| 214 |
+
Output quality may vary across supported languages, especially for less commonly used languages.
|
| 215 |
+
|
| 216 |
+
3. **Creativity Limitations**:
|
| 217 |
+
The model may sometimes generate repetitive or inconsistent results in creative or highly subjective tasks.
|
| 218 |
+
|
| 219 |
+
4. **Real-Time Knowledge Constraints**:
|
| 220 |
+
The model lacks awareness of events or knowledge updates beyond its training data.
|
| 221 |
+
|
| 222 |
+
5. **Prompt Dependency**:
|
| 223 |
+
Results heavily depend on the specificity and clarity of input prompts, requiring well-structured queries for the best performance.
|
| 224 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
|
| 225 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/prithivMLmods__Taurus-Opus-7B-details)!
|
| 226 |
+
Summarized results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/contents/viewer/default/train?q=prithivMLmods%2FTaurus-Opus-7B&sort[column]=Average%20%E2%AC%86%EF%B8%8F&sort[direction]=desc)!
|
| 227 |
+
|
| 228 |
+
| Metric |Value (%)|
|
| 229 |
+
|-------------------|--------:|
|
| 230 |
+
|**Average** | 26.06|
|
| 231 |
+
|IFEval (0-Shot) | 42.23|
|
| 232 |
+
|BBH (3-Shot) | 34.23|
|
| 233 |
+
|MATH Lvl 5 (4-Shot)| 22.73|
|
| 234 |
+
|GPQA (0-shot) | 10.18|
|
| 235 |
+
|MuSR (0-shot) | 14.22|
|
| 236 |
+
|MMLU-PRO (5-shot) | 32.79|
|
| 237 |
+
|