Fernando J. Albornoz commited on
Commit
116a4bc
·
verified ·
1 Parent(s): 1012d58

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +95 -4
README.md CHANGED
@@ -13,9 +13,100 @@ language:
13
 
14
  # Uploaded model
15
 
16
- - **Developed by:** enosislabs
17
- - **License:** apache-2.0
18
- - **Finetuned from model :** unsloth/qwen3-1.7b-unsloth-bnb-4bit
19
 
20
- This qwen3 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
 
13
 
14
  # Uploaded model
15
 
16
+ # Math Mini 1.7B (Preview)
 
 
17
 
18
+ **Math Mini 1.7B (Preview)** is a larger, more capable model developed by **Enosis Labs** as part of the "Mini Series." Building on the foundation of the 0.6B version, this 1.7B model delivers significantly improved performance, deeper reasoning, and greater accuracy in mathematical tasks. It is fine-tuned from the original `Qwen/Qwen3-1.7B` base model (not from Unsloth's pre-adapted versions).
19
+
20
+ ## Philosophy & Capabilities
21
+
22
+ The Mini Series, along with the "Enosis Math" and "Enosis Code" models, incorporates step-by-step reasoning by default, enabling more efficient, clear, and well-founded answers. All models in the Math series have been trained with carefully curated step-by-step problem-solving datasets, resulting in a greater ability to reason and explain solutions in a structured way.
23
+
24
+ **Math Mini 1.7B (Preview)** is optimized for:
25
+
26
+ * **Basic and Intermediate Algebra:** Solving equations, manipulating expressions, and handling more complex algebraic problems.
27
+ * **Arithmetic & Sequential Reasoning:** Calculations and breaking down problems into logical steps, with improved multi-step reasoning.
28
+ * **Elementary & Intermediate Logic:** Applying deduction in mathematical contexts, now with broader coverage.
29
+ * **Competition Problem Solving (Introductory to Intermediate):** Enhanced foundational and competition-style skills, adapted to the increased model scale.
30
+
31
+ Larger models in the "Enosis Math" series address even more advanced topics such as calculus, higher algebra, and olympiad problems. The "Code Mini" and "Enosis Code" series are oriented towards programming and algorithmic tasks, maintaining the same philosophy of explicit and efficient reasoning.
32
+
33
+ This model is a **preview version** and is under continuous improvement and evaluation.
34
+
35
+ ## Quick Start
36
+
37
+ Available in Hugging Face Transformers format and for high-throughput inference servers like vLLM.
38
+
39
+ ### vLLM (Inference Server)
40
+
41
+ Install vLLM:
42
+
43
+ ```bash
44
+ pip install vllm
45
+ ```
46
+
47
+ Start the vLLM server with the model (16-bit version):
48
+
49
+ ```bash
50
+ vllm serve "enosislabs/math-mini-1.7b-preview-16bits"
51
+ ```
52
+
53
+ Call the server using curl:
54
+
55
+ ```bash
56
+ curl -X POST "http://localhost:8000/v1/chat/completions" \
57
+ -H "Content-Type: application/json" \
58
+ --data '{
59
+ "model": "enosislabs/math-mini-1.7b-preview-16bits",
60
+ "messages": [
61
+ {"role": "user", "content": "What is the capital of France?"}
62
+ ]
63
+ }'
64
+ ```
65
+
66
+ ### Transformers (Hugging Face)
67
+
68
+ Use a pipeline as a high-level helper:
69
+
70
+ ```python
71
+ from transformers import pipeline
72
+ pipe = pipeline("text-generation", model="enosislabs/math-mini-1.7b-preview-16bits")
73
+ messages = [
74
+ {"role": "user", "content": "Who are you?"},
75
+ ]
76
+ pipe(messages)
77
+ ```
78
+
79
+ ## Prompt Format (Qwen3 ChatML)
80
+
81
+ For best results, use the Qwen3 ChatML format. The `tokenizer.apply_chat_template` method handles this automatically.
82
+
83
+ ```text
84
+ <|im_start|>system
85
+ You are a helpful AI assistant. Provide a detailed step-by-step solution.
86
+ <|im_end|>
87
+ <|im_start|>user
88
+ {user_question}
89
+ <|im_end|>
90
+ <|im_start|>assistant
91
+ ```
92
+
93
+ ## Acknowledgements
94
+
95
+ * Fine-tuned from the original `Qwen/Qwen3-1.7B` base model.
96
+ * Training process accelerated and optimized using [Unsloth](https://github.com/unslothai/unsloth) for efficiency.
97
+
98
+ ## Citation
99
+
100
+ If you use this model, please cite:
101
+
102
+ ```bibtex
103
+ @software{enosislabs_math_mini_1.7b_preview_2025,
104
+ author = {{Enosis Labs}},
105
+ title = {{Math Mini 1.7B (Preview)}},
106
+ year = {2025},
107
+ publisher = {Hugging Face},
108
+ version = {0.1-preview},
109
+ url = {https://huggingface.co/enosislabs/math-mini-1.7b-preview-16bits}
110
+ }
111
+ ```
112