Crystalcareai
commited on
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model:
|
3 |
+
- tiiuae/Falcon3-10B-Base
|
4 |
+
library_name: transformers
|
5 |
+
license: other
|
6 |
+
tags:
|
7 |
+
- mergekit
|
8 |
+
- merge
|
9 |
+
|
10 |
+
---
|
11 |
+
<img src="https://huggingface.co/arcee-train/Virtuoso-Lite/resolve/main/virtuoso-lite.jpg" alt="Virtuoso-Lite Logo" style="display: block; margin: 0 auto;" />
|
12 |
+
|
13 |
+
**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.
|
14 |
+
|
15 |
+
## Note
|
16 |
+
This is the pre-distilled version of [Virtuoso-Lite](https://huggingface.co/arcee-ai/Virtuoso-Lite), a standard SFT+RLHF merge training run used to validate the model before proceeding with the additional training steps outlined below.
|
17 |
+
### GGUF
|
18 |
+
Quantizations available [here](https://huggingface.co/arcee-ai/Virtuoso-Lite-GGUF)
|
19 |
+
|
20 |
+
### Model Details
|
21 |
+
- **Architecture Base:** Falcon-10B (based on Llama-3)
|
22 |
+
- **Parameter Count:** 10B
|
23 |
+
- **Tokenizer:**
|
24 |
+
- Initially integrated with Deepseek-v3 tokenizer for logit extraction.
|
25 |
+
- Final alignment uses the Llama-3 tokenizer, with specialized “tokenizer surgery” for cross-architecture compatibility.
|
26 |
+
- **Distillation Data:**
|
27 |
+
- ~1.1B tokens/logits from Deepseek-v3’s training data.
|
28 |
+
- Logit-level distillation using a proprietary “fusion merging” approach for maximum fidelity.
|
29 |
+
- **License:** [falcon-llm-license](https://falconllm.tii.ae/falcon-terms-and-conditions.html)
|
30 |
+
|
31 |
+
### Background on Deepseek Distillation
|
32 |
+
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:
|
33 |
+
- Strong performance on technical/scientific queries
|
34 |
+
- Enhanced code generation and debugging
|
35 |
+
- Improved consistency in math-intensive tasks
|
36 |
+
|
37 |
+
### Intended Use Cases
|
38 |
+
- **Chatbots & Virtual Assistants**
|
39 |
+
- **Lightweight Enterprise Data Analysis**
|
40 |
+
- **Research Prototypes & Proofs of Concept**
|
41 |
+
- **STEM Educational Tools (where smaller footprint is advantageous)**
|
42 |
+
|
43 |
+
### Evaluations
|
44 |
+
<img src="https://huggingface.co/arcee-train/Virtuoso-Lite/resolve/main/Benchmarks.png" alt="Virtuoso-Lite Logo" style="display: block; margin: 0 auto;" />
|
45 |
+
|
46 |
+
|
47 |
+
### How to Use
|
48 |
+
Below is a sample code snippet using `transformers`:
|
49 |
+
|
50 |
+
```python
|
51 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
52 |
+
|
53 |
+
model_name = "arcee-ai/virtuoso-lite"
|
54 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
55 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
56 |
+
|
57 |
+
prompt = "Provide a concise summary of quantum entanglement."
|
58 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
59 |
+
outputs = model.generate(**inputs, max_new_tokens=150)
|
60 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
61 |
+
```
|
62 |
+
|
63 |
+
### Training & Fine-Tuning
|
64 |
+
- **Initial Training:** Began with Falcon-10B, optimized for large-scale text ingestion.
|
65 |
+
- **Distillation & Merging:**
|
66 |
+
- Trained on ~1.1B tokens/logits from Deepseek-v3.
|
67 |
+
- Employed “fusion merging” to capture detailed teacher insights.
|
68 |
+
- Final step included DPO to enhance alignment and mitigate hallucinations.
|
69 |
+
- **Future Developments:** We plan to incorporate additional R1 distillations to further improve specialized performance and reduce model footprint.
|
70 |
+
|
71 |
+
### Performance
|
72 |
+
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.
|
73 |
+
|
74 |
+
### Limitations
|
75 |
+
- **Context Length:** 128k Tokens (may vary depending on the final tokenizer settings and system resources).
|
76 |
+
- **Knowledge Cut-off:** Training data may not reflect the latest events or developments beyond June 2024.
|
77 |
+
|
78 |
+
### Ethical Considerations
|
79 |
+
- **Content Generation Risks:** Like any language model, Virtuoso-Lite can generate potentially harmful or biased content if prompted in certain ways.
|
80 |
+
-
|
81 |
+
### License
|
82 |
+
**Virtuoso-Lite (10B)** is released under the [falcon-llm-license License](https://falconllm.tii.ae/falcon-terms-and-conditions.html). 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.
|
83 |
+
|
84 |
+
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!
|