Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model:
|
3 |
+
- arcee-ai/Arcee-Maestro-7B-Preview
|
4 |
+
library_name: transformers
|
5 |
+
license: apache-2.0
|
6 |
+
---
|
7 |
+
|
8 |
+
**Arcee-Maestro-7B-Preview (7B)** is Arcee's first reasoning model trained with reinforment learning. It is based on the Qwen2.5-7B DeepSeek-R1 distillation **DeepSeek-R1-Distill-Qwen-7B** with further GPRO training. Though this is just a preview of our upcoming work, it already shows promising improvements to mathematical and coding abilities across a range of tasks.
|
9 |
+
|
10 |
+
### Model Details
|
11 |
+
|
12 |
+
- Architecture Base: DeepSeek-R1-Distill-Qwen-7B (Qwen2.5-7B)
|
13 |
+
- Parameter Count: 7B
|
14 |
+
- Reinforcement Learning: GRPO with 450,000 **verified** math problems with some coding examples
|
15 |
+
- License: [Apache-2.0](https://huggingface.co/arcee-ai/Arcee-Maestro-7B-Preview#license)
|
16 |
+
|
17 |
+
### Intended Use Cases
|
18 |
+
|
19 |
+
- Advanced reasoning
|
20 |
+
- Mathematics
|
21 |
+
- Coding
|
22 |
+
|
23 |
+
### Evaluations
|
24 |
+
|
25 |
+

|
26 |
+
|
27 |
+
Arcee Maestro 7B preview shows great gains in mathematics and coding, surpassing O1 preview in many metrics.
|
28 |
+
|
29 |
+
### How to use
|
30 |
+
|
31 |
+
Below is a sample code snippet using `transformers`:
|
32 |
+
|
33 |
+
```python
|
34 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
35 |
+
|
36 |
+
model_name = "arcee-ai/Arcee-Maestro-7B-Preview"
|
37 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
38 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
39 |
+
|
40 |
+
prompt = "Provide a concise summary of quantum entanglement."
|
41 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
42 |
+
outputs = model.generate(**inputs, max_new_tokens=150)
|
43 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
44 |
+
```
|
45 |
+
|
46 |
+
### Training & Fine-Tuning
|
47 |
+
|
48 |
+
- **Initial Training**: Began with DeepSeek-R1-Distill-Qwen-7B
|
49 |
+
- **GRPO**:
|
50 |
+
- Trained on 450,000 verified math problems
|
51 |
+
- Additional bootstrapped coding examples
|
52 |
+
|
53 |
+
### Performance
|
54 |
+
|
55 |
+
Arcee-Maestro-7B-Preview shows strong performance in mathematics as well as coding, competing against even O1 preview, a model far surprassing its size.
|
56 |
+
|
57 |
+
### Limitations
|
58 |
+
|
59 |
+
- **Context Length:** 128k Tokens (may vary depending on the final tokenizer settings and system resources).
|
60 |
+
- **Knowledge Cut-off:** Training data may not reflect the latest events or developments beyond June 2024.
|
61 |
+
|
62 |
+
### Ethical Considerations
|
63 |
+
- **Content Generation Risks:** Like any language model, Arcee-Maestro-7B-Preview can generate potentially harmful or biased content if prompted in certain ways.
|
64 |
+
|
65 |
+
### License
|
66 |
+
**Arcee-Maestro-7B-Preview (7B)** 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.
|
67 |
+
|
68 |
+
If you have questions or would like to share your experiences using Arcee-Maestro-7B-Preview (7B), please connect with us on social media. We’re excited to see what you build—and how this model helps you innovate!
|