Crystalcareai commited on
Commit
70bcbf6
·
verified ·
1 Parent(s): c63ebd9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +59 -25
README.md CHANGED
@@ -1,42 +1,76 @@
1
  ---
2
  base_model:
3
- - arcee-train/Qwen2.5-32B-DSV3-Merge-V5
4
- - arcee-train/virtuoso-medium
5
  library_name: transformers
6
  tags:
7
  - mergekit
8
  - merge
9
-
10
  ---
11
- # output_merge2
12
 
13
- This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
14
 
15
- ## Merge Details
16
- ### Merge Method
17
 
18
- This model was merged using the [Arcee Fusion](https://arcee.ai) merge method using [arcee-train/virtuoso-medium](https://huggingface.co/arcee-train/virtuoso-medium) as a base.
 
 
 
 
 
 
 
 
 
19
 
20
- ### Models Merged
 
 
 
 
21
 
22
- The following models were included in the merge:
23
- * [arcee-train/Qwen2.5-32B-DSV3-Merge-V5](https://huggingface.co/arcee-train/Qwen2.5-32B-DSV3-Merge-V5)
 
 
 
24
 
25
- ### Configuration
 
26
 
27
- The following YAML configuration was used to produce this model:
 
28
 
29
- ```yaml
30
- merge_method: arcee_fusion
31
- base_model: arcee-train/virtuoso-medium
32
- models:
33
- - model: arcee-train/virtuoso-medium
34
- parameters:
35
- weight: 0.8
36
- - model: arcee-train/Qwen2.5-32B-DSV3-Merge-V5
37
- parameters:
38
- weight: 0.2
39
- dtype: float32
40
- out_dtype: bfloat16
41
 
 
 
 
 
42
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  base_model:
3
+ - Qwen/Qwen2.5-32B
 
4
  library_name: transformers
5
  tags:
6
  - mergekit
7
  - merge
 
8
  ---
 
9
 
10
+ ## Model Card: Virtuoso-Medium-v2 (32B)
11
 
12
+ ### Overview
13
+ **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).
14
 
15
+ ### Model Details
16
+ - **Architecture Base:** Qwen-2.5-32B
17
+ - **Parameter Count:** 32B
18
+ - **Tokenizer:**
19
+ - Initially integrated with Deepseek-v3 tokenizer for logit extraction.
20
+ - Final alignment uses the Qwen tokenizer, using specialized “tokenizer surgery” for cross-architecture compatibility.
21
+ - **Distillation Data:**
22
+ - ~1.1B tokens/logits from Deepseek-v3’s training data.
23
+ - Logit-level distillation using a proprietary “fusion merging” approach afterwards for maximum fidelity.
24
+ - **License:** [Apache-2.0](#license)
25
 
26
+ ### Background on Deepseek Distillation
27
+ 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:
28
+ - Technical and scientific queries
29
+ - Complex code generation
30
+ - Mathematical problem-solving
31
 
32
+ ### Intended Use Cases
33
+ - **Advanced Chatbots & Virtual Assistants**
34
+ - **Enterprise Data Analysis & Workflow Automation**
35
+ - **Research Simulations & Natural Language Understanding**
36
+ - **Educational Tools for STEM Fields**
37
 
38
+ ### How to Use
39
+ Below is a sample code snippet using `transformers`:
40
 
41
+ ```python
42
+ from transformers import AutoTokenizer, AutoModelForCausalLM
43
 
44
+ model_name = "arcee-ai/virtuoso-medium-v2-32b"
45
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
46
+ model = AutoModelForCausalLM.from_pretrained(model_name)
 
 
 
 
 
 
 
 
 
47
 
48
+ prompt = "Provide a concise summary of quantum entanglement."
49
+ inputs = tokenizer(prompt, return_tensors="pt")
50
+ outputs = model.generate(**inputs, max_new_tokens=150)
51
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
52
  ```
53
+
54
+ ### Training & Fine-Tuning
55
+ - **Initial Training:** Began with Qwen-32B, calibrated for large-scale text ingestion.
56
+ - **Distillation & Merging:**
57
+ - Trained on ~1.1B tokens worth of Deepseek-v3 logits.
58
+ - Employed “fusion merging” to retain as much teacher expertise as possible.
59
+ - Final step included DPO to improve alignment and reduce model hallucinations.
60
+ - **Continuous Development:** Additional R1 distillations are in progress to further enhance performance and specialization.
61
+
62
+ ### Performance
63
+ 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.
64
+
65
+ ### Limitations
66
+ - **Context Length:** 128k Tokens
67
+ - **Knowledge Cut-off:** Training data may not reflect the latest events or developments, leading to gaps in current knowledge beyond June 2024.
68
+
69
+ ### Ethical Considerations
70
+ - **Content Generation Risks:** Like any language model, Virtuoso-Medium-v2 can potentially generate harmful or biased content if prompted in certain ways.
71
+
72
+ ### License
73
+ **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.
74
+
75
+
76
+ 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!