File size: 1,348 Bytes
cb5b858
 
fb358cb
 
7068614
 
 
cb5b858
fb358cb
9ab4252
 
 
 
fb358cb
 
 
7068614
 
 
257ade3
04cab8b
 
fb358cb
 
 
 
 
 
 
9ab4252
fb358cb
 
 
 
 
e6fb93c
 
 
 
 
04cab8b
 
 
 
 
9ce11c1
e6fb93c
 
9ab4252
04cab8b
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
license: mit
tags:
- gemma
- gguf
- llama.cpp
- indic
---

# GGUF for Indic-gemma-2b-finetuned-sft-Navarasa

This model from [Telugu-LLM-Labs](https://huggingface.co/Telugu-LLM-Labs/Indic-gemma-2b-finetuned-sft-Navarasa) is based on google/gemma-2b and has been LoRA finetuned on 9 Indian languages and English instruction datasets


```bash
git clone https://huggingface.co/iAkashPaul/Indic-gemma-2b-finetuned-sft-Navarasa-GGUF # & cd into it, update paths accordingly

# build llama.cpp for your hardware https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#build

./main --file prompt.md --lora ./models/ggml-adapter-model.bin --lora-base ./models/indic-llm_Q8.gguf

./main --file prompt.md -m ./models/merged_indic_llm_Q8.gguf -ngl 99

```

## Prompt template for Instruction adherence-

Save this to a file(ex. prompt.md) & load it with the main executable.

```markdown
### Instruction: Translate following sentence to Kannada.

### Input: This model is developed by Telugu LLM Labs

## Response: 
```

## Performance

* LORA+BASE (not merged)
  
  * ```
    ./server --lora ./models/ggml-adapter-model.bin --lora-base ./models/indic-llm_Q8.gguf -m ./models/indic-llm_Q8.gguf  
    ```
    
  * ![](indic-llm-q8.jpg)

* Merged model

  * ```
    ./server -ngl 20  -m ./models/merged_indic_llm_Q8.gguf 
    ```
 
  * ![](Q8-75tok.png)