Update README.md
Browse files
README.md
CHANGED
@@ -6,4 +6,48 @@ pipeline_tag: text-generation
|
|
6 |
base_model: Qwen/Qwen3-4B-Instruct-2507
|
7 |
tags:
|
8 |
- mlx
|
|
|
|
|
|
|
|
|
|
|
9 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
base_model: Qwen/Qwen3-4B-Instruct-2507
|
7 |
tags:
|
8 |
- mlx
|
9 |
+
- code
|
10 |
+
datasets:
|
11 |
+
- MCES10-Software/CPP-Code-Solutions
|
12 |
+
language:
|
13 |
+
- en
|
14 |
---
|
15 |
+
<center>
|
16 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/65a17a03b172f47c9c31eab9/GY9R6DnA_TGzefzmq4HRi.png" width="200" height="200">
|
17 |
+
</center>
|
18 |
+
|
19 |
+
# CPP-qwen3-4B-Instruct-2507
|
20 |
+
|
21 |
+
## Features
|
22 |
+
|
23 |
+
- This model is based on qwen3-4B-Instruct-2507
|
24 |
+
- Fine Tuned on MCES10-Software/CPP-Code-Solutions Dataset
|
25 |
+
- 4 Billion Parameters
|
26 |
+
- Finetuned with MLX
|
27 |
+
- model.safetensors
|
28 |
+
|
29 |
+
## Benchmark
|
30 |
+
MAX TOKENS = 500
|
31 |
+
Apple Silicon Macbook Pro 18,3 M1 PRO 16 GB RAM
|
32 |
+
|
33 |
+
Write a function that checks if a number is prime.
|
34 |
+
|
35 |
+
```cpp
|
36 |
+
bool isPrime(int n) {
|
37 |
+
if (n <= 1) return false;
|
38 |
+
for (int i = 2; i * i <= n; ++i) {
|
39 |
+
if (n % i == 0) return false;
|
40 |
+
}
|
41 |
+
return true;
|
42 |
+
}
|
43 |
+
```
|
44 |
+
49.27 tok/sec
|
45 |
+
63 tokens
|
46 |
+
0.24s to first token
|
47 |
+
Credits
|
48 |
+
|
49 |
+
MCES10 Software
|
50 |
+
|
51 |
+
Thanks to:
|
52 |
+
|
53 |
+
QWEN for the model
|