3morixd commited on
Commit
a1a2f36
·
verified ·
1 Parent(s): 6c80b8c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +45 -22
README.md CHANGED
@@ -1,38 +1,61 @@
1
  ---
2
- license: apache-2.0
3
- base_model: google/gemma-2-2b-it
 
 
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
- # Gemma 2 2B IT — Mobile Optimized
21
 
22
- **Dispatch AI** — Google's Gemma, re-engineered for phones.
23
 
24
- ## 📱 Phone Farm Benchmark
 
 
 
 
 
 
 
25
 
26
- | Metric | Value |
27
- |--------|-------|
28
- | **Generation speed** | 13.8 t/s |
29
- | **Model size** | ~1.6 GB |
30
- | **Load time** | 2.5s |
31
 
32
- ## 💻 Usage
 
33
 
34
- ```bash
35
- llama-cli -m model.gguf -p "What is the meaning of life?" -t 4
 
 
 
 
36
  ```
37
 
38
- **Dispatch AI (FZE)** — Sharjah, UAE | License 10818
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: gemma
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
+ # Gemma-2-2B-IT-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**: `gemma`
27
 
28
+ ## Model Details
29
 
30
+ | Attribute | Value |
31
+ |-----------|-------|
32
+ | **Base Model** | google/gemma-2-2b-it |
33
+ | **File Size** | 1629 MB |
34
+ | **Format** | GGUF |
35
+ | **Chat Format** | gemma |
36
+ | **CPU Speed** | 8.2 tokens/sec |
37
+ | **License** | gemma |
38
 
39
+ ## Usage
 
 
 
 
40
 
41
+ ```python
42
+ from llama_cpp import Llama
43
 
44
+ llm = Llama(model_path="model.gguf", chat_format="gemma", 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("Gemma-2-2B-IT-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.