prash616 commited on
Commit
10629fd
ยท
verified ยท
1 Parent(s): a66910a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -30
README.md CHANGED
@@ -9,9 +9,6 @@ language:
9
  - te
10
  - mr
11
  - gu
12
- - kn
13
- - ml
14
- - pa
15
  pipeline_tag: text-generation
16
  tags:
17
  - indian-languages
@@ -20,52 +17,54 @@ tags:
20
  - gguf
21
  - quantization
22
  - unsloth
 
 
23
  ---
24
 
25
- # Indica-1.7B-GGUF โ€” Optimized for the Indian Context ๐Ÿ‡ฎ๐Ÿ‡ณ
26
 
27
- Indica-1.7B is a lightweight, high-performance model specifically post-trained to serve the linguistic and cultural nuances of India. Built upon the **Qwen3-1.7B** architecture, this model has undergone a rigorous multi-stage alignment process to excel in Hindi, Hinglish, and various regional dialects while maintaining strong reasoning capabilities.
28
 
29
- This repository provides the model in **GGUF** format, optimized for local inference on consumer hardware using tools like **Ollama**, **llama.cpp**, and **LM Studio**.
30
 
31
- ## ๐Ÿš€ Model Highlights
32
- - **Specialized Post-Training:** Tailored for Indian Law (IPC/BNS), Agriculture (MSP/PM-Kisan), and National Examinations (UPSC/JEE).
 
33
  - **Multilingual Mastery:** Fluent in Hindi-English code-switching (Hinglish) and supports multiple regional Indian languages.
34
- - **Thinking Paradigm:** Utilizes a native "thinking mode" for complex reasoning tasks via Chain-of-Thought (CoT).
35
- - **Efficient Deployment:** The 1.7B parameter count ensures fast, private, and local execution with minimal RAM requirements.
 
36
 
37
  ## ๐Ÿ›  Training Pipeline
38
  The model was developed through a specialized four-stage alignment strategy:
39
 
40
- 1. **Foundational Pre-training:** Fine-tuned on Hindi Wikipedia to establish deep linguistic roots.
41
- 2. **Supervised Fine-Tuning (SFT):** Trained on high-quality instruction datasets covering Indian law, agriculture, and everyday Hinglish conversations.
42
- 3. **GRPO (Reinforcement Learning):** Aligned using Group Relative Policy Optimization to reward logical reasoning and the use of `<think>` tags.
43
- 4. **DPO (Preference Alignment):** Final behavioral polish using Direct Preference Optimization to ensure a helpful, polite, and culturally aware persona.
44
-
45
- ## ๐Ÿ“Š Key Datasets
46
- - **Indic-Instruct & Aya:** For foundational instruction-following in Indian languages.
47
- - **Hinglish-Everyday-Conversations:** To master natural code-switching used in urban India.
48
- - **Viber1 Indian Law Dataset:** Specialized knowledge of the Indian Penal Code and Constitution.
49
- - **GSM8K:** For mathematical and logical reasoning alignment.
50
- - **UltraFeedback Binarized:** For preference alignment and behavioral safety.
51
 
52
  ## ๐Ÿ“ฆ Quantization Details
53
- These GGUF files were created using `llama.cpp` through the Unsloth library.
54
 
55
- | File | Size | Optimization | Recommended Use |
56
  | :--- | :--- | :--- | :--- |
57
- | **Q4_K_M** | ~1.1 GB | Balanced | Best for general use on mobile or low-RAM devices. |
58
- | **Q8_0** | ~1.8 GB | High Precision | Recommended for technical tasks (Law/Math). |
59
 
60
  ## ๐Ÿ’ป How to Use
61
 
62
- ### With Ollama
63
- You can run this model directly via the Hugging Face URL:
64
  ```bash
65
  ollama run hf.co/prash616/Indica-1.7B-GGUF
66
 
67
 
68
 
69
- Limitations & Disclaimer
70
- While Indica-1.7B is highly optimized for the Indian context, it is a 1.7B parameter model. It may occasionally exhibit hallucinations or repetition loops in very long conversations. For technical or legal queries, it is recommended to verify the output against official documentation.
71
- Developed by: Prashant (prash616)
 
 
 
 
 
 
9
  - te
10
  - mr
11
  - gu
 
 
 
12
  pipeline_tag: text-generation
13
  tags:
14
  - indian-languages
 
17
  - gguf
18
  - quantization
19
  - unsloth
20
+ - legal
21
+ - agriculture
22
  ---
23
 
24
+ # Indica-1.7B-GGUF ๐Ÿ‡ฎ๐Ÿ‡ณ
25
 
26
+ **Indica-1.7B** is a lightweight, high-performance SLM (Small Language Model) specifically post-trained for the Indian context. Built upon the **Qwen3-1.7B** dense transformer architecture, this model has undergone a rigorous multi-stage alignment (fine-tuning for behavior and preference) process to excel in Hindi, Hinglish, and various regional dialects while maintaining strong CoT (Chain-of-Thought) reasoning capabilities.
27
 
28
+ This repository provides the model in **GGUF** format, optimized for local inference (the process of generating text) on consumer hardware using tools like **Ollama**, **llama.cpp**, and **LM Studio**.
29
 
30
+ ## ๐Ÿš€ Model Details
31
+ - **Architecture:** 1.7 Billion parameters (the internal variables a neural network learns), utilizing a dense causal transformer design.
32
+ - **Specialized Domains:** Tailored for Indian Law (IPC/BNS), Agriculture (MSP/PM-Kisan), and National Examinations (UPSC/JEE).
33
  - **Multilingual Mastery:** Fluent in Hindi-English code-switching (Hinglish) and supports multiple regional Indian languages.
34
+ - **Thinking Paradigm:** Utilizes a native "thinking mode" via `<think>` tags for complex reasoning tasks before outputting a final answer.
35
+ - **Context Length:** Supports up to 2048 tokens natively.
36
+ - **Developer:** Prashant (prash616).
37
 
38
  ## ๐Ÿ›  Training Pipeline
39
  The model was developed through a specialized four-stage alignment strategy:
40
 
41
+ 1. **Foundational Pre-training:** Fine-tuned on Hindi Wikipedia (`wikimedia/wikipedia`) to establish deep linguistic roots and vocabulary density.
42
+ 2. **Supervised Fine-Tuning (SFT):** Trained on high-quality instruction datasets (`ai4bharat/indic-instruct-data-v0.1`, `viber1/indian-law-dataset`) covering Indian law, agriculture, and everyday Hinglish conversations.
43
+ 3. **GRPO (Group Relative Policy Optimization):** Aligned using Reinforcement Learning to reward logical reasoning and the use of internal thinking tags using GSM8K datasets.
44
+ 4. **DPO (Direct Preference Optimization):** Final behavioral polish using `HuggingFaceH4/ultrafeedback_binarized` to ensure a helpful, polite, and culturally aware persona.
 
 
 
 
 
 
 
45
 
46
  ## ๐Ÿ“ฆ Quantization Details
47
+ These GGUF files were created using `llama.cpp` through the Unsloth library. Quantization (the process of reducing the precision of the model's numbers) allows the model to run on machines with limited VRAM (Video Random Access Memory).
48
 
49
+ | Filename | Bit-Size | File Size | Use Case |
50
  | :--- | :--- | :--- | :--- |
51
+ | `Indica-1.7B-Q4_K_M.gguf` | 4-bit | ~1.1 GB | **Recommended.** Balanced quality and extreme speed. Ideal for standard laptops, MacBooks, and low-RAM devices. |
52
+ | `Indica-1.7B-Q8_0.gguf` | 8-bit | ~1.8 GB | **Maximum Quality.** Retains near-perfect precision from the 16-bit model. Recommended for technical legal or mathematical queries. |
53
 
54
  ## ๐Ÿ’ป How to Use
55
 
56
+ ### 1. With Ollama (Easiest)
57
+ Ensure you have [Ollama](https://ollama.com/) installed, then run:
58
  ```bash
59
  ollama run hf.co/prash616/Indica-1.7B-GGUF
60
 
61
 
62
 
63
+
64
+ ## 2. With LM Studio
65
+ Download LM Studio.
66
+ Search for prash616/Indica-1.7B-GGUF in the search bar.
67
+ Download the Q4_K_M file and load it into the local server.
68
+
69
+ ##3. Chat Template (For Developers)
70
+ If you are writing custom Python inference scripts, the model uses the standard qwen-3 chat template. Ensure your system prompt is set correctly: