lucyknada commited on
Commit
7eb3a86
·
verified ·
1 Parent(s): 1ea8f47

Upload ./README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +68 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - Qwen/Qwen2.5-14B
4
+ library_name: transformers
5
+ license: apache-2.0
6
+ ---
7
+ ### exl2 quant (measurement.json in main branch)
8
+ ---
9
+ ### check revisions for quants
10
+ ---
11
+
12
+
13
+
14
+ **Virtuoso-Small-v2 (14B)** is our next-generation, 14-billion-parameter language model that builds upon the original Virtuoso-Small architecture. This version is distilled from Deepseek-v3, leveraging an expanded dataset of 5B+ tokens worth of logits.
15
+
16
+ ### Model Details
17
+ - **Architecture Base:** Qwen-2.5-14B
18
+ - **Parameter Count:** 14B
19
+ - **Tokenizer:**
20
+ - Initially integrated with Deepseek-v3 tokenizer for logit extraction.
21
+ - Final alignment uses the Qwen tokenizer, using specialized “tokenizer surgery” for cross-architecture compatibility.
22
+ - **Distillation Data:**
23
+ - ~1.1B tokens/logits from Deepseek-v3’s training data.
24
+ - Logit-level distillation using a proprietary “fusion merging” approach afterwards for maximum fidelity.
25
+ - **License:** [Apache-2.0](#license)
26
+
27
+ ### Background on Deepseek Distillation
28
+ 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:
29
+ - Technical and scientific queries
30
+ - Complex code generation
31
+ - Mathematical problem-solving
32
+
33
+ ### How to Use
34
+ Below is a sample code snippet using `transformers`:
35
+
36
+ ```python
37
+ from transformers import AutoTokenizer, AutoModelForCausalLM
38
+
39
+ model_name = "arcee-ai/Virtuoso-Small-v2"
40
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
41
+ model = AutoModelForCausalLM.from_pretrained(model_name)
42
+
43
+ prompt = "Provide a concise summary of quantum entanglement."
44
+ inputs = tokenizer(prompt, return_tensors="pt")
45
+ outputs = model.generate(**inputs, max_new_tokens=150)
46
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
47
+ ```
48
+
49
+ ### Training & Fine-Tuning
50
+ - **Initial Training:** Began with Qwen-14B, calibrated for large-scale text ingestion.
51
+ - **Distillation & Merging:**
52
+ - Trained on ~1.1B tokens worth of Deepseek-v3 logits.
53
+ - Employed “fusion merging” to retain as much teacher expertise as possible.
54
+ - Final step included DPO to improve alignment and reduce model hallucinations.
55
+ - **Continuous Development:** Additional R1 distillations are in progress to further enhance performance and specialization.
56
+
57
+ ### Limitations
58
+ - **Context Length:** 128k Tokens
59
+ - **Knowledge Cut-off:** Training data may not reflect the latest events or developments, leading to gaps in current knowledge beyond June 2024.
60
+
61
+ ### Ethical Considerations
62
+ - **Content Generation Risks:** Like any language model, Virtuoso-Small-v2 can potentially generate harmful or biased content if prompted in certain ways.
63
+
64
+ ### License
65
+ **Virtuoso-Small-v2 (14B)** 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.
66
+
67
+
68
+ 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!