Crystalcareai commited on
Commit
d162bdb
·
verified ·
1 Parent(s): e2adc7c

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +81 -0
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - tiiuae/Falcon3-10B-Base
4
+ library_name: transformers
5
+ tags:
6
+ - mergekit
7
+ - merge
8
+
9
+ ---
10
+ <img src="https://huggingface.co/arcee-train/Virtuoso-Lite/resolve/main/virtuoso-lite.jpg" alt="Virtuoso-Lite Logo" style="display: block; margin: 0 auto;" />
11
+
12
+ **Virtuoso-Lite (10B)** is our next-generation, 10-billion-parameter language model based on the Llama-3 architecture. It is distilled from Deepseek-v3 using ~1.1B tokens/logits, allowing it to achieve robust performance at a significantly reduced parameter count compared to larger models. Despite its compact size, Virtuoso-Lite excels in a variety of tasks, demonstrating advanced reasoning, code generation, and mathematical problem-solving capabilities.
13
+
14
+ ### GGUF
15
+ Quantizations available [here](https://huggingface.co/arcee-ai/Virtuoso-Lite-GGUF)
16
+
17
+ ### Model Details
18
+ - **Architecture Base:** Falcon-10B (based on Llama-3)
19
+ - **Parameter Count:** 10B
20
+ - **Tokenizer:**
21
+ - Initially integrated with Deepseek-v3 tokenizer for logit extraction.
22
+ - Final alignment uses the Llama-3 tokenizer, with specialized “tokenizer surgery” for cross-architecture compatibility.
23
+ - **Distillation Data:**
24
+ - ~1.1B tokens/logits from Deepseek-v3’s training data.
25
+ - Logit-level distillation using a proprietary “fusion merging” approach for maximum fidelity.
26
+ - **License:** [Apache-2.0](#license)
27
+
28
+ ### Background on Deepseek Distillation
29
+ Deepseek-v3 serves as the teacher model, from which we capture logits across billions of tokens. Rather than standard supervised fine-tuning, Virtuoso-Lite applies a full logit-level replication to preserve the most crucial insights from the teacher. This approach enables:
30
+ - Strong performance on technical/scientific queries
31
+ - Enhanced code generation and debugging
32
+ - Improved consistency in math-intensive tasks
33
+
34
+ ### Intended Use Cases
35
+ - **Chatbots & Virtual Assistants**
36
+ - **Lightweight Enterprise Data Analysis**
37
+ - **Research Prototypes & Proofs of Concept**
38
+ - **STEM Educational Tools (where smaller footprint is advantageous)**
39
+
40
+ ### Evaluations
41
+ <img src="https://huggingface.co/arcee-train/Virtuoso-Lite/resolve/main/Benchmarks.png" alt="Virtuoso-Lite Logo" style="display: block; margin: 0 auto;" />
42
+
43
+
44
+ ### How to Use
45
+ Below is a sample code snippet using `transformers`:
46
+
47
+ ```python
48
+ from transformers import AutoTokenizer, AutoModelForCausalLM
49
+
50
+ model_name = "arcee-ai/virtuoso-lite"
51
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
52
+ model = AutoModelForCausalLM.from_pretrained(model_name)
53
+
54
+ prompt = "Provide a concise summary of quantum entanglement."
55
+ inputs = tokenizer(prompt, return_tensors="pt")
56
+ outputs = model.generate(**inputs, max_new_tokens=150)
57
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
58
+ ```
59
+
60
+ ### Training & Fine-Tuning
61
+ - **Initial Training:** Began with Falcon-10B, optimized for large-scale text ingestion.
62
+ - **Distillation & Merging:**
63
+ - Trained on ~1.1B tokens/logits from Deepseek-v3.
64
+ - Employed “fusion merging” to capture detailed teacher insights.
65
+ - Final step included DPO to enhance alignment and mitigate hallucinations.
66
+ - **Future Developments:** We plan to incorporate additional R1 distillations to further improve specialized performance and reduce model footprint.
67
+
68
+ ### Performance
69
+ Virtuoso-Lite demonstrates strong results across multiple benchmarks (e.g., BBH, MMLU-PRO, MATH), often standing its ground against models with higher parameter counts. This efficiency is largely credited to logit-level distillation, which compresses the teacher model’s capabilities into a more parameter-friendly package.
70
+
71
+ ### Limitations
72
+ - **Context Length:** 128k Tokens (may vary depending on the final tokenizer settings and system resources).
73
+ - **Knowledge Cut-off:** Training data may not reflect the latest events or developments beyond June 2024.
74
+
75
+ ### Ethical Considerations
76
+ - **Content Generation Risks:** Like any language model, Virtuoso-Lite can generate potentially harmful or biased content if prompted in certain ways.
77
+ -
78
+ ### License
79
+ **Virtuoso-Lite (10B)** 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.
80
+
81
+ If you have questions or would like to share your experiences using Virtuoso-Lite (10B), please connect with us on social media. We’re excited to see what you build—and how this model helps you innovate!