3morixd commited on
Commit
d83c522
·
verified ·
1 Parent(s): 716fe0f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +46 -20
README.md CHANGED
@@ -1,37 +1,63 @@
1
  ---
2
  license: apache-2.0
3
- base_model: HuggingFaceTB/SmolLM2-1.7B-Instruct
 
 
4
  tags:
5
- - dispatch-ai
6
  - mobile
 
7
  - quantized
8
  - gguf
9
- - phone-farm-tested
10
- - on-device
11
- - edge-ai
12
  pipeline_tag: text-generation
13
- language:
14
- - en
15
- library_name: transformers
16
  ---
17
 
18
- ![card_image](card_image.png)
19
 
20
- # SmolLM2 1.7B Mobile Optimized
21
 
22
- **Dispatch AI** — HuggingFace's SmolLM2, built for the smallest devices.
23
 
24
- ## 📱 Phone Farm Benchmark
 
 
25
 
26
- | Metric | Value |
27
- |--------|-------|
28
- | **Generation speed** | 17.1 t/s |
29
- | **Model size** | ~1.2 GB |
30
 
31
- ## 💻 Usage
32
 
33
- ```bash
34
- llama-cli -m model.gguf -p "Summarize: ..." -t 4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  ```
36
 
37
- **Dispatch AI (FZE)** — Sharjah, UAE | License 10818
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ language:
4
+ - en
5
+ library_name: transformers
6
  tags:
 
7
  - mobile
8
+ - on-device
9
  - quantized
10
  - gguf
11
+ - dispatchai
 
 
12
  pipeline_tag: text-generation
 
 
 
13
  ---
14
 
15
+ # SmolLM2-1.7B-Instruct-mobile
16
 
17
+ ⚠️ **PARTIAL**Verified June 2026.
18
 
19
+ ## Verification Results
20
 
21
+ | Prompt | Response | Correct? |
22
+ |--------|----------|----------|
23
+ | What is the capital of France? | "A: The user is asking for the capital of France.
24
 
25
+ What is th" | ⚠️ |
26
+ | What is 2+2? Just the number. | "2+2 is 4." | ✅ |
 
 
27
 
28
+ **Chat format**: `llama-3`
29
 
30
+ ## Model Details
31
+
32
+ | Attribute | Value |
33
+ |-----------|-------|
34
+ | **Base Model** | HuggingFaceTB/SmolLM2-1.7B-Instruct |
35
+ | **File Size** | 1007 MB |
36
+ | **Format** | GGUF |
37
+ | **Chat Format** | llama-3 |
38
+ | **CPU Speed** | 17.4 tokens/sec |
39
+ | **License** | apache-2.0 |
40
+
41
+ ## Usage
42
+
43
+ ```python
44
+ from llama_cpp import Llama
45
+
46
+ llm = Llama(model_path="model.gguf", chat_format="llama-3", n_ctx=512, n_threads=4)
47
+ response = llm.create_chat_completion(
48
+ messages=[{"role": "user", "content": "What is the capital of France?"}],
49
+ max_tokens=50,
50
+ )
51
+ print(response["choices"][0]["message"]["content"])
52
  ```
53
 
54
+ ### dispatchAI SDK
55
+ ```python
56
+ from dispatchai import load_model
57
+ model = load_model("SmolLM2-1.7B-Instruct-mobile", backend="gguf")
58
+ print(model.chat("Hello!"))
59
+ ```
60
+
61
+ ## About dispatchAI
62
+
63
+ [dispatchAI](https://huggingface.co/dispatchAI) — Small. Mobile. Free. UAE-built.