3morixd commited on
Commit
f7925d4
·
verified ·
1 Parent(s): 05df74b

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +29 -15
README.md CHANGED
@@ -14,26 +14,21 @@ pipeline_tag: text-generation
14
 
15
  # SmolLM2-135M-Instruct-mobile
16
 
17
- ✅ **WORKS** — Verified June 2026.
18
 
19
- ## Verification Results
20
 
21
-
22
-
23
- ## Model Details
24
-
25
- | Attribute | Value |
26
- |-----------|-------|
27
- | **Base Model** | HuggingFaceTB/SmolLM2-135M-Instruct |
28
  | **File Size** | 0 MB |
29
- | **Format** | GGUF |
30
  | **Chat Format** | llama-3 |
31
- | **CPU Speed** | 59.7 tokens/sec |
32
- | **Phone Speed** | 46.0 tokens/sec (Snapdragon 865) |
33
- | **License** | apache-2.0 |
34
 
35
  ## Usage
36
 
 
37
  ```python
38
  from llama_cpp import Llama
39
 
@@ -49,7 +44,26 @@ print(response["choices"][0]["message"]["content"])
49
  ```python
50
  from dispatchai import load_model
51
  model = load_model("SmolLM2-135M-Instruct-mobile", backend="gguf")
52
- print(model.chat("Hello!"))
 
 
 
 
 
 
 
53
  ```
54
 
55
- 🚀 [dispatchAI](https://huggingface.co/dispatchAI)
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
  # SmolLM2-135M-Instruct-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** | **46.2 tokens/sec** |
24
+ | **CPU Speed** | 59.7 tokens/sec |
 
 
 
25
  | **File Size** | 0 MB |
 
26
  | **Chat Format** | llama-3 |
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("SmolLM2-135M-Instruct-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/SmolLM2-135M-Instruct-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** | HuggingFaceTB/SmolLM2-135M-Instruct |
62
+ | **File Size** | 0 MB |
63
+ | **Format** | GGUF |
64
+ | **Chat Format** | llama-3 |
65
+ | **License** | apache-2.0 |
66
+
67
+ ## About dispatchAI
68
+
69
+ [dispatchAI](https://huggingface.co/dispatchAI) — Small. Mobile. Free. UAE-built.