pankajpandey-dev commited on
Commit
0741477
·
verified ·
1 Parent(s): fdf65f6

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +25 -49
README.md CHANGED
@@ -1,66 +1,42 @@
1
  ---
2
  license: apache-2.0
3
- language:
4
- - hi
5
- - en
6
  base_model: pankajpandey-dev/qwen3.5-9b-hindi-instruct
 
7
  pipeline_tag: text-generation
8
- tags:
9
- - hindi
10
- - qwen3_5
11
- - qwen3.5
12
- - gguf
13
- - llama.cpp
14
- - lmstudio
15
- - unsloth
16
- - conversational
17
- - india
18
  ---
 
19
 
20
- # 🇮🇳 Qwen3.5-9B-Hindi-InstructGGUF
21
 
22
- CPU-friendly quants of [qwen3.5-9b-hindi-instruct](https://huggingface.co/pankajpandey-dev/qwen3.5-9b-hindi-instruct): a Qwen3.5-9B fine-tune that answers **instantly in pure Devanagari Hindi** — no English chain-of-thought, no code-switching. Full before/after, data mix, and recipe in the main card.
23
-
24
- ## Files
25
-
26
- | File | Quant | Size | For |
27
  |---|---|---|---|
28
- | Qwen3.5-9B-Hindi-Instruct-Q4_K_M.gguf | Q4_K_M | 5.4 GB | **Default.** CPU / 8GB+ RAM |
29
- | Qwen3.5-9B-Hindi-Instruct-Q5_K_M.gguf | Q5_K_M | 6.2 GB | Better quality, still CPU-viable |
30
- | Qwen3.5-9B-Hindi-Instruct-Q8_0.gguf | Q8_0 | 9.2 GB | Near-lossless |
31
-
32
- Text-only — no mmproj (vision layers not fine-tuned or tested).
33
 
34
  ## Run it
35
-
36
- **llama.cpp**
37
- ```bash
38
- llama-cli -m Qwen3.5-9B-Hindi-Instruct-Q4_K_M.gguf --jinja -p "जल संरक्षण के तीन तरीके बताइए।" -n 300
39
  ```
40
-
41
- **LM Studio:** search this repo, download Q4_K_M, chat. Correct template is embedded.
42
-
43
- **Ollama (pull from HF):**
44
- ```bash
45
- ollama run hf.co/pankajpandey-dev/qwen3.5-9b-hindi-instruct-GGUF:Q4_K_M
46
  ```
47
- Requires recent Ollama with qwen3.5 arch support; "ollama create" from local GGUFs may not work — pull from HF instead.
48
-
49
- **Python (llama-cpp-python >= 0.3.32 — older versions lack qwen3.5 arch support):**
50
  ```python
51
  from llama_cpp import Llama
52
- llm = Llama.from_pretrained(repo_id="pankajpandey-dev/qwen3.5-9b-hindi-instruct-GGUF",
53
- filename="*Q4_K_M*", n_ctx=4096)
54
- out = llm.create_chat_completion(messages=[{"role": "user", "content": "चाबनानकी विधि बताइए।"}])
55
- print(out["choices"][0]["message"]["content"])
 
56
  ```
 
 
57
 
58
- ## ⚠️ Template note
59
-
60
- The embedded template **always emits a closed empty <think> block**direct answers in every runtime. Deliberate: llama.cpp sets enable_thinking=true by default, which on the stock template re-triggers English chain-of-thought. Want thinking? Use base Qwen3.5-9B.
61
-
62
- ## Limitations
63
-
64
- Native Hindi instruction-follower, not an encyclopedia — long-form factual content can contain errors. Q4 trades a little quality for size. Full list in the main card.
65
 
66
- Part of the [🇮🇳 Hindi LLM Series](https://huggingface.co/pankajpandey-dev).
 
1
  ---
2
  license: apache-2.0
3
+ language: [hi, en]
 
 
4
  base_model: pankajpandey-dev/qwen3.5-9b-hindi-instruct
5
+ base_model_relation: quantized
6
  pipeline_tag: text-generation
7
+ tags: [hindi, qwen3.5, gguf, llama.cpp, lmstudio, quantized, india]
 
 
 
 
 
 
 
 
 
8
  ---
9
+ # Qwen3.5-9B Hindi Instruct — GGUF 🇮🇳
10
 
11
+ **Native-Hindi Qwen3.5-9B for your laptop.** Quantized from [pankajpandey-dev/qwen3.5-9b-hindi-instruct](https://huggingface.co/pankajpandey-dev/qwen3.5-9b-hindi-instruct). Answers directly in Devanagari no English thinking, no code-switching.
12
 
13
+ ## Which file?
14
+ | File | Size | RAM needed | Use when |
 
 
 
15
  |---|---|---|---|
16
+ | Q4_K_M | ~5.7 GB | ~8 GB | **Recommended** best size/quality on CPU |
17
+ | Q5_K_M | ~6.7 GB | ~9 GB | More quality headroom |
18
+ | Q8_0 | ~10 GB | ~12 GB | Near-lossless |
 
 
19
 
20
  ## Run it
21
+ **llama.cpp** (build from ~March 2026 or newer for Qwen3.5 support):
 
 
 
22
  ```
23
+ llama-cli -m qwen3.5-9b-hindi-Q4_K_M.gguf --jinja -cnv --repeat-penalty 1.1
 
 
 
 
 
24
  ```
25
+ **LM Studio:** search this repo name, download Q4_K_M, set repeat penalty 1.1, chat.
26
+ **Python (llama-cpp-python 0.3.32 or newer):**
 
27
  ```python
28
  from llama_cpp import Llama
29
+ llm = Llama(model_path="qwen3.5-9b-hindi-Q4_K_M.gguf", n_ctx=4096)
30
+ r = llm.create_chat_completion(
31
+ messages=[{"role": "user", "content": "योग चार लाभ बताइए।"}],
32
+ repeat_penalty=1.1)
33
+ print(r["choices"][0]["message"]["content"])
34
  ```
35
+ **Ollama:** `ollama run hf.co/pankajpandey-dev/qwen3.5-9b-hindi-instruct-GGUF:Q4_K_M` — needs an Ollama build with Qwen3.5 support; if it errors, use llama.cpp or LM Studio.
36
+ Tip: use repeat penalty 1.1 — long letter-style outputs can loop without it.
37
 
38
+ ---
39
+ ## 🇮🇳 About the Hindi LLM Series
40
+ Weekly open releases making small LLMs speak fluent, native Hinditrained on free/low-cost GPUs, shipped as GGUF for laptops and edge devices. Built by [pankajpandey-dev](https://huggingface.co/pankajpandey-dev) *(contact links on profile)*.
 
 
 
 
41
 
42
+ **This release:** [Model](https://huggingface.co/pankajpandey-dev/qwen3.5-9b-hindi-instruct) · [GGUF](https://huggingface.co/pankajpandey-dev/qwen3.5-9b-hindi-instruct-GGUF) · [LoRA](https://huggingface.co/pankajpandey-dev/qwen3.5-9b-hindi-instruct-lora) · **Series:** [🇮🇳 Hindi LLM Collection](https://huggingface.co/pankajpandey-dev)