3morixd commited on
Commit
320e178
·
verified ·
1 Parent(s): 46575d0

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +29 -18
README.md CHANGED
@@ -14,29 +14,21 @@ pipeline_tag: text-generation
14
 
15
  # Qwen2.5-Math-1.5B-mobile
16
 
17
- ✅ **WORKS** — Verified June 2026.
18
 
19
- ## Verification Results
20
 
21
- | Prompt | Response | Correct? |
22
- |--------|----------|----------|
23
- | What is the capital of France? | "The capital of France is Paris." | ✅ |
24
- | What is 2+2? Just the number. | "The sum of 2 and 2 is 4." | ✅ |
25
-
26
-
27
- ## Model Details
28
-
29
- | Attribute | Value |
30
- |-----------|-------|
31
- | **Base Model** | Qwen/Qwen2.5-Math-1.5B |
32
  | **File Size** | 940 MB |
33
- | **Format** | GGUF |
34
  | **Chat Format** | chatml |
35
- | **CPU Speed** | 15.7 tokens/sec |
36
- | **License** | apache-2.0 |
37
 
38
  ## Usage
39
 
 
40
  ```python
41
  from llama_cpp import Llama
42
 
@@ -52,7 +44,26 @@ print(response["choices"][0]["message"]["content"])
52
  ```python
53
  from dispatchai import load_model
54
  model = load_model("Qwen2.5-Math-1.5B-mobile", backend="gguf")
55
- print(model.chat("Hello!"))
 
 
 
 
 
 
 
56
  ```
57
 
58
- 🚀 [dispatchAI](https://huggingface.co/dispatchAI)
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
  # Qwen2.5-Math-1.5B-mobile
16
 
17
+ ✅ **Verified on real phone hardware** — Snapdragon 865, June 2026.
18
 
19
+ ## Phone Benchmark (Samsung S20 FE, Snapdragon 865)
20
 
21
+ | Metric | Value |
22
+ |--------|-------|
23
+ | **Phone Speed** | **15.5 tokens/sec** |
24
+ | **CPU Speed** | 15.7 tokens/sec |
 
 
 
 
 
 
 
25
  | **File Size** | 940 MB |
 
26
  | **Chat Format** | chatml |
27
+ | **Test Output** | "Paris" ✅ (correct) |
 
28
 
29
  ## Usage
30
 
31
+ ### Python (llama-cpp-python)
32
  ```python
33
  from llama_cpp import Llama
34
 
 
44
  ```python
45
  from dispatchai import load_model
46
  model = load_model("Qwen2.5-Math-1.5B-mobile", backend="gguf")
47
+ print(model.chat("What is the capital of France?"))
48
+ ```
49
+
50
+ ### On Android (via ADB)
51
+ ```bash
52
+ hf download dispatchAI/Qwen2.5-Math-1.5B-mobile model.gguf
53
+ MSYS_NO_PATHCONV=1 adb push model.gguf /data/local/tmp/
54
+ MSYS_NO_PATHCONV=1 adb shell "cd /data/local/tmp && LD_LIBRARY_PATH=/data/local/tmp ./llama-cli -m model.gguf -p 'Hello' -n 30 -t 4 -st"
55
  ```
56
 
57
+ ## Model Details
58
+
59
+ | Attribute | Value |
60
+ |-----------|-------|
61
+ | **Base Model** | unknown |
62
+ | **File Size** | 940 MB |
63
+ | **Format** | GGUF |
64
+ | **Chat Format** | chatml |
65
+ | **License** | apache-2.0 |
66
+
67
+ ## About dispatchAI
68
+
69
+ [dispatchAI](https://huggingface.co/dispatchAI) — Small. Mobile. Free. UAE-built.