Improve language tag

#2
by lbourdois - opened
Files changed (1) hide show
  1. README.md +91 -77
README.md CHANGED
@@ -1,78 +1,92 @@
1
- ---
2
- base_model:
3
- - Qwen/Qwen2.5-32B
4
- library_name: transformers
5
- tags:
6
- - mergekit
7
- - merge
8
- license: apache-2.0
9
- ---
10
- <img src="https://huggingface.co/arcee-train/Virtuoso-Medium-v2/resolve/main/virtuoso-medium.jpg" alt="Virtuoso-Lite Logo" style="display: block; margin: 0 auto;" />
11
-
12
- **Virtuoso-Medium-v2 (32B)** is our next-generation, 32-billion-parameter language model that builds upon the original Virtuoso-Medium architecture. This version is distilled from Deepseek-v3, leveraging an expanded dataset of 5B+ tokens worth of logits. It achieves higher benchmark scores than our previous release (including surpassing Arcee-Nova 2024 in certain tasks).
13
-
14
- ### Model Details
15
- - **Architecture Base:** Qwen-2.5-32B
16
- - **Parameter Count:** 32B
17
- - **Tokenizer:**
18
- - Initially integrated with Deepseek-v3 tokenizer for logit extraction.
19
- - Final alignment uses the Qwen tokenizer, using specialized “tokenizer surgery” for cross-architecture compatibility.
20
- - **Distillation Data:**
21
- - ~1.1B tokens/logits from Deepseek-v3’s training data.
22
- - Logit-level distillation using a proprietary “fusion merging” approach afterwards for maximum fidelity.
23
- - **License:** [Apache-2.0](#license)
24
-
25
- ### Background on Deepseek Distillation
26
- Deepseek-v3 serves as the teacher model, from which we capture logits across billions of tokens. Rather than standard supervised fine-tuning, we apply a full logit-level replication. This ensures more precise transference of knowledge, including advanced reasoning in:
27
- - Technical and scientific queries
28
- - Complex code generation
29
- - Mathematical problem-solving
30
-
31
- ### Intended Use Cases
32
- - **Advanced Chatbots & Virtual Assistants**
33
- - **Enterprise Data Analysis & Workflow Automation**
34
- - **Research Simulations & Natural Language Understanding**
35
- - **Educational Tools for STEM Fields**
36
-
37
- ### Evaluations
38
- <img src="https://huggingface.co/arcee-train/Virtuoso-Lite/resolve/main/Benchmarks.png" alt="Virtuoso-Lite Logo" style="display: block; margin: 0 auto;" />
39
-
40
- ### How to Use
41
- Below is a sample code snippet using `transformers`:
42
-
43
- ```python
44
- from transformers import AutoTokenizer, AutoModelForCausalLM
45
-
46
- model_name = "arcee-ai/virtuoso-medium-v2-32b"
47
- tokenizer = AutoTokenizer.from_pretrained(model_name)
48
- model = AutoModelForCausalLM.from_pretrained(model_name)
49
-
50
- prompt = "Provide a concise summary of quantum entanglement."
51
- inputs = tokenizer(prompt, return_tensors="pt")
52
- outputs = model.generate(**inputs, max_new_tokens=150)
53
- print(tokenizer.decode(outputs[0], skip_special_tokens=True))
54
- ```
55
-
56
- ### Training & Fine-Tuning
57
- - **Initial Training:** Began with Qwen-32B, calibrated for large-scale text ingestion.
58
- - **Distillation & Merging:**
59
- - Trained on ~1.1B tokens worth of Deepseek-v3 logits.
60
- - Employed “fusion merging” to retain as much teacher expertise as possible.
61
- - Final step included DPO to improve alignment and reduce model hallucinations.
62
- - **Continuous Development:** Additional R1 distillations are in progress to further enhance performance and specialization.
63
-
64
- ### Performance
65
- Thanks to a larger parameter count and a richer training corpus, Virtuoso-Medium-v2 delivers high scores across multiple benchmarks (BBH, MMLU-PRO, MATH, etc.). It frequently surpasses other 30B+ models and even some 70B+ architectures in specific tasks.
66
-
67
- ### Limitations
68
- - **Context Length:** 128k Tokens
69
- - **Knowledge Cut-off:** Training data may not reflect the latest events or developments, leading to gaps in current knowledge beyond June 2024.
70
-
71
- ### Ethical Considerations
72
- - **Content Generation Risks:** Like any language model, Virtuoso-Medium-v2 can potentially generate harmful or biased content if prompted in certain ways.
73
-
74
- ### License
75
- **Virtuoso-Medium-v2 (32B)** is released under the [Apache-2.0 License](https://www.apache.org/licenses/LICENSE-2.0). You are free to use, modify, and distribute this model in both commercial and non-commercial applications, subject to the terms and conditions of the license.
76
-
77
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  If you have questions or would like to share your experiences using these models, please connect with us on social media. We’re excited to see what you build—and how these models help you innovate!
 
1
+ ---
2
+ base_model:
3
+ - Qwen/Qwen2.5-32B
4
+ library_name: transformers
5
+ tags:
6
+ - mergekit
7
+ - merge
8
+ license: apache-2.0
9
+ language:
10
+ - zho
11
+ - eng
12
+ - fra
13
+ - spa
14
+ - por
15
+ - deu
16
+ - ita
17
+ - rus
18
+ - jpn
19
+ - kor
20
+ - vie
21
+ - tha
22
+ - ara
23
+ ---
24
+ <img src="https://huggingface.co/arcee-train/Virtuoso-Medium-v2/resolve/main/virtuoso-medium.jpg" alt="Virtuoso-Lite Logo" style="display: block; margin: 0 auto;" />
25
+
26
+ **Virtuoso-Medium-v2 (32B)** is our next-generation, 32-billion-parameter language model that builds upon the original Virtuoso-Medium architecture. This version is distilled from Deepseek-v3, leveraging an expanded dataset of 5B+ tokens worth of logits. It achieves higher benchmark scores than our previous release (including surpassing Arcee-Nova 2024 in certain tasks).
27
+
28
+ ### Model Details
29
+ - **Architecture Base:** Qwen-2.5-32B
30
+ - **Parameter Count:** 32B
31
+ - **Tokenizer:**
32
+ - Initially integrated with Deepseek-v3 tokenizer for logit extraction.
33
+ - Final alignment uses the Qwen tokenizer, using specialized “tokenizer surgery” for cross-architecture compatibility.
34
+ - **Distillation Data:**
35
+ - ~1.1B tokens/logits from Deepseek-v3’s training data.
36
+ - Logit-level distillation using a proprietary “fusion merging” approach afterwards for maximum fidelity.
37
+ - **License:** [Apache-2.0](#license)
38
+
39
+ ### Background on Deepseek Distillation
40
+ Deepseek-v3 serves as the teacher model, from which we capture logits across billions of tokens. Rather than standard supervised fine-tuning, we apply a full logit-level replication. This ensures more precise transference of knowledge, including advanced reasoning in:
41
+ - Technical and scientific queries
42
+ - Complex code generation
43
+ - Mathematical problem-solving
44
+
45
+ ### Intended Use Cases
46
+ - **Advanced Chatbots & Virtual Assistants**
47
+ - **Enterprise Data Analysis & Workflow Automation**
48
+ - **Research Simulations & Natural Language Understanding**
49
+ - **Educational Tools for STEM Fields**
50
+
51
+ ### Evaluations
52
+ <img src="https://huggingface.co/arcee-train/Virtuoso-Lite/resolve/main/Benchmarks.png" alt="Virtuoso-Lite Logo" style="display: block; margin: 0 auto;" />
53
+
54
+ ### How to Use
55
+ Below is a sample code snippet using `transformers`:
56
+
57
+ ```python
58
+ from transformers import AutoTokenizer, AutoModelForCausalLM
59
+
60
+ model_name = "arcee-ai/virtuoso-medium-v2-32b"
61
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
62
+ model = AutoModelForCausalLM.from_pretrained(model_name)
63
+
64
+ prompt = "Provide a concise summary of quantum entanglement."
65
+ inputs = tokenizer(prompt, return_tensors="pt")
66
+ outputs = model.generate(**inputs, max_new_tokens=150)
67
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
68
+ ```
69
+
70
+ ### Training & Fine-Tuning
71
+ - **Initial Training:** Began with Qwen-32B, calibrated for large-scale text ingestion.
72
+ - **Distillation & Merging:**
73
+ - Trained on ~1.1B tokens worth of Deepseek-v3 logits.
74
+ - Employed “fusion merging” to retain as much teacher expertise as possible.
75
+ - Final step included DPO to improve alignment and reduce model hallucinations.
76
+ - **Continuous Development:** Additional R1 distillations are in progress to further enhance performance and specialization.
77
+
78
+ ### Performance
79
+ Thanks to a larger parameter count and a richer training corpus, Virtuoso-Medium-v2 delivers high scores across multiple benchmarks (BBH, MMLU-PRO, MATH, etc.). It frequently surpasses other 30B+ models and even some 70B+ architectures in specific tasks.
80
+
81
+ ### Limitations
82
+ - **Context Length:** 128k Tokens
83
+ - **Knowledge Cut-off:** Training data may not reflect the latest events or developments, leading to gaps in current knowledge beyond June 2024.
84
+
85
+ ### Ethical Considerations
86
+ - **Content Generation Risks:** Like any language model, Virtuoso-Medium-v2 can potentially generate harmful or biased content if prompted in certain ways.
87
+
88
+ ### License
89
+ **Virtuoso-Medium-v2 (32B)** is released under the [Apache-2.0 License](https://www.apache.org/licenses/LICENSE-2.0). You are free to use, modify, and distribute this model in both commercial and non-commercial applications, subject to the terms and conditions of the license.
90
+
91
+
92
  If you have questions or would like to share your experiences using these models, please connect with us on social media. We’re excited to see what you build—and how these models help you innovate!