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

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -35
README.md CHANGED
@@ -1,4 +1,6 @@
1
  ---
 
 
2
  language:
3
  - hi
4
  - en
@@ -7,47 +9,63 @@ language:
7
  - te
8
  - mr
9
  - gu
 
 
 
 
10
  tags:
11
  - indian-languages
12
  - hinglish
13
  - reasoning
14
- - instruction-tuned
15
- - legal
16
- - agriculture
17
- base_model: unsloth/Qwen3-1.7B
18
- license: apache-2.0
19
  ---
20
 
21
- # Indica-1.7B โ€” India Ka Apna AI ๐Ÿ‡ฎ๐Ÿ‡ณ
22
-
23
- Indian multilingual AI assistant built by [Prashant](https://huggingface.co/prash616).
24
-
25
- ## Training Pipeline
26
- ```
27
- Qwen3-1.7B โ†’ Pretrain (Hindi Wikipedia)
28
- โ†’ SFT (Indic instruct, Hinglish, Legal, Agriculture)
29
- โ†’ GRPO (Hindi chain-of-thought reasoning)
30
- โ†’ DPO (preference alignment)
31
- โ†’ Indica-1.7B
32
- ```
33
-
34
- ## Capabilities
35
- - ๐Ÿ‡ฎ๐Ÿ‡ณ Hindi, Hinglish, English fluency
36
- - โš–๏ธ Indian Legal (IPC, RTI, consumer rights)
37
- - ๐ŸŒพ Agriculture (MSP, PM-Kisan, crop advice)
38
- - ๐Ÿ“š Education (UPSC, JEE, NEET guidance)
39
- - ๐Ÿงฎ Reasoning with chain-of-thought
40
-
41
- ## Quick Start
42
- ```python
43
- from transformers import AutoModelForCausalLM, AutoTokenizer
44
- model = AutoModelForCausalLM.from_pretrained("prash616/Indica-1.7B-Full")
45
- tokenizer = AutoTokenizer.from_pretrained("prash616/Indica-1.7B-Full")
46
- ```
47
-
48
- ## Ollama
 
 
 
 
 
 
 
 
 
 
 
49
  ```bash
50
  ollama run hf.co/prash616/Indica-1.7B-GGUF
51
- ```
52
 
53
- Built with โค๏ธ for India by Prashant (prash616)
 
 
 
 
 
1
  ---
2
+ license: apache-2.0
3
+ base_model: unsloth/Qwen3-1.7B
4
  language:
5
  - hi
6
  - en
 
9
  - te
10
  - mr
11
  - gu
12
+ - kn
13
+ - ml
14
+ - pa
15
+ pipeline_tag: text-generation
16
  tags:
17
  - indian-languages
18
  - hinglish
19
  - reasoning
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)