3morixd commited on
Commit
46f5a06
Β·
verified Β·
1 Parent(s): ad93d51

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +40 -32
README.md CHANGED
@@ -1,53 +1,61 @@
1
  ---
2
- license: apache-2.0
3
- base_model: meta-llama/Llama-3.2-1B-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
- # Llama 3.2 1B Instruct β€” Mobile Optimized
21
 
22
- **Dispatch AI** β€” Meta's smallest Llama, re-engineered for your phone.
23
 
24
- ## πŸš€ Why This Model
 
 
 
25
 
26
- Meta built Llama 3.2 1B for edge devices. We made it even better:
27
- - Q4_K_M quantization (smallest practical size with minimal quality loss)
28
- - Phone farm validated across 40 devices
29
- - Ready for llama.cpp deployment on Android/iOS
30
 
31
- ## πŸ“± Phone Farm Benchmark
32
 
33
- 40 Samsung Galaxy S20 FE 5G (Snapdragon 865, 8GB RAM):
 
 
 
 
 
 
 
34
 
35
- | Metric | Value |
36
- |--------|-------|
37
- | **Generation speed** | 16.3 t/s |
38
- | **Prompt processing** | 57.8 t/s |
39
- | **Model size** | ~890 MB |
40
- | **Load time** | 1.5s |
41
- | **RAM free** | 3.5 GB |
42
 
43
- ## πŸ’» Usage
 
44
 
45
- ```bash
46
- llama-cli -m model.gguf -p "Write a haiku about phones" -t 4
 
 
 
 
47
  ```
48
 
49
- ## πŸ—οΈ About
 
 
 
 
 
50
 
51
- **Dispatch AI (FZE)** β€” SRTI Free Zone, Sharjah, UAE | License 10818
52
 
53
- Built for mobile. Tested on real phones. Free forever.
 
1
  ---
2
+ license: llama3.2
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
+ # Llama-3.2-1B-Instruct-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. | "4" | βœ… |
25
 
26
+ **Chat format**: `llama-3`
 
 
 
27
 
28
+ ## Model Details
29
 
30
+ | Attribute | Value |
31
+ |-----------|-------|
32
+ | **Base Model** | meta-llama/Llama-3.2-1B-Instruct |
33
+ | **File Size** | 1260 MB |
34
+ | **Format** | GGUF |
35
+ | **Chat Format** | llama-3 |
36
+ | **CPU Speed** | 4.9 tokens/sec |
37
+ | **License** | llama3.2 |
38
 
39
+ ## Usage
 
 
 
 
 
 
40
 
41
+ ```python
42
+ from llama_cpp import Llama
43
 
44
+ llm = Llama(model_path="model.gguf", chat_format="llama-3", n_ctx=512, n_threads=4)
45
+ response = llm.create_chat_completion(
46
+ messages=[{"role": "user", "content": "What is the capital of France?"}],
47
+ max_tokens=50,
48
+ )
49
+ print(response["choices"][0]["message"]["content"])
50
  ```
51
 
52
+ ### dispatchAI SDK
53
+ ```python
54
+ from dispatchai import load_model
55
+ model = load_model("Llama-3.2-1B-Instruct-mobile", backend="gguf")
56
+ print(model.chat("Hello!"))
57
+ ```
58
 
59
+ ## About dispatchAI
60
 
61
+ [dispatchAI](https://huggingface.co/dispatchAI) β€” Small. Mobile. Free. UAE-built.