abhinand commited on
Commit
e79f671
1 Parent(s): 92754ee

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +118 -0
README.md ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ta
4
+ - en
5
+ license: gpl-3.0
6
+ ---
7
+
8
+ # Tamil LLaMA 13B Instruct v0.1 [GGUF Quantized]
9
+
10
+ Welcome to the inaugural release of the Tamil LLaMA 13B instruct model – an important step in advancing LLMs for the Tamil language. This model is ready for immediate inference and is also primed for further fine-tuning to cater to your specific NLP tasks.
11
+
12
+ To dive deep into the development and capabilities of this model, please read the [research paper](https://arxiv.org/abs/2311.05845) and the [introductory blog post (WIP) ]() that outlines our journey and the model's potential impact.
13
+
14
+ ## Model description
15
+
16
+ The Tamil LLaMA models have been enhanced and tailored specifically with an extensive Tamil vocabulary of 16,000 tokens, building upon the foundation set by the original LLaMA-2.
17
+
18
+ - **Model type:** A 13B parameter GPT-like model fine-tuned on [Tamil-Alpaca-Orca](https://huggingface.co/datasets/abhinand/tamil-alpaca-orca) - a mix of Tamil-translated [Stanford-Alpaca](https://huggingface.co/datasets/tatsu-lab/alpaca) and a subset of [OpenOrca](https://huggingface.co/datasets/Open-Orca/OpenOrca) datasets.
19
+ - **Language(s):** Tamil and English
20
+ - **License:** GNU General Public License v3.0
21
+ - **Finetuned from model:** [abhinand/tamil-llama-13b-base-v0.1](https://huggingface.co/abhinand/tamil-llama-13b-base-v0.1)
22
+ - **Training Precision:** `float16`
23
+ - **Code:** [GitHub](https://github.com/abhinand5/tamil-llama)
24
+
25
+ ## Quantization Info
26
+
27
+ This repo contains GGUF format model files for [Tamil LLaMA 13B Instruct v0.1](https://huggingface.co/abhinand/tamil-llama-13b-instruct-v0.1).
28
+
29
+ ### About GGUF
30
+
31
+ GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp. GGUF offers numerous advantages over GGML, such as better tokenisation, and support for special tokens. It is also supports metadata, and is designed to be extensible.
32
+
33
+ Here is an incomplate list of clients and libraries that are known to support GGUF:
34
+
35
+ * [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
36
+ * [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI, with many features and powerful extensions. Supports GPU acceleration.
37
+ * [KoboldCpp](https://github.com/LostRuins/koboldcpp), a fully featured web UI, with GPU accel across all platforms and GPU architectures. Especially good for story telling.
38
+ * [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration.
39
+ * [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with many interesting and unique features, including a full model library for easy model selection.
40
+ * [Faraday.dev](https://faraday.dev/), an attractive and easy to use character-based chat GUI for Windows and macOS (both Silicon and Intel), with GPU acceleration.
41
+ * [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server.
42
+ * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
43
+ * [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
44
+
45
+ ### Provided files
46
+
47
+ | Name | Quant method | Bits | Size | Max RAM required | Use case |
48
+ |------------------------------------------------------------------------------------------------------------------------------------------------|--------------|------|---------|------------------|----------------------------------------------------------|
49
+ | [tamil-llama-13b-instruct-v0.1-q4_k_m.gguf](https://huggingface.co/abhinand/tamil-llama-13b-instruct-v0.1-gguf/blob/main/tamil-llama-13b-instruct-v0.1-q4_k_m.gguf) | Q4_K_M | 4 | 7.98 GB | 10.5 GB | medium, balanced quality - recommended |
50
+ | [tamil-llama-13b-instruct-v0.1-q5_k_m.gguf](https://huggingface.co/abhinand/tamil-llama-13b-instruct-v0.1-gguf/blob/main/tamil-llama-13b-instruct-v0.1-q5_k_m.gguf) | Q5_K_M | 5 | 9.35 GB | 11.9 GB | large, very low quality loss - recommended |
51
+ | [tamil-llama-13b-instruct-v0.1-q8_0.gguf](https://huggingface.co/abhinand/tamil-llama-13b-instruct-v0.1-gguf/blob/main/tamil-llama-13b-instruct-v0.1-q8_0.gguf) | Q8_0 | 8 | 14.0 GB | 16.33 GB | very large, extremely low quality loss - not recommended |
52
+
53
+
54
+ ## Prompting Format
55
+
56
+ **Prompt Template Without Input**
57
+
58
+ ```
59
+ {system_prompt}
60
+
61
+ ### Instruction:
62
+ {instruction or query}
63
+
64
+ ### Response:
65
+ {response}
66
+ ```
67
+
68
+ **Prompt Template With Input**
69
+
70
+ ```
71
+ {system_prompt}
72
+
73
+ ### Instruction:
74
+ {instruction or query}
75
+
76
+ ### Input:
77
+ {input}
78
+
79
+ ### Response:
80
+ {response}
81
+ ```
82
+
83
+ ## Related Models
84
+
85
+ | Model | Type | Data | Base Model | # Params | Download Links |
86
+ |--------------------------|-----------------------------|-------------------|----------------------|------|------------------------------------------------------------------------|
87
+ | Tamil LLaMA 7B Base | Base model | 12GB | LLaMA 7B | 7B | [HF Hub](https://huggingface.co/abhinand/tamil-llama-7b-base-v0.1) |
88
+ | Tamil LLaMA 13B Base | Base model | 4GB | LLaMA 13B | 13B | [HF Hub](https://huggingface.co/abhinand/tamil-llama-13b-base-v0.1) |
89
+ | Tamil LLaMA 7B Instruct | Instruction following model | 145k instructions | Tamil LLaMA 7B Base | 7B | [HF Hub](https://huggingface.co/abhinand/tamil-llama-7b-instruct-v0.1) |
90
+ | Tamil LLaMA 13B Instruct | Instruction following model | 145k instructions | Tamil LLaMA 13B Base | 13B | [HF Hub](abhinand/tamil-llama-13b-instruct-v0.1) |
91
+
92
+ ## Usage Note
93
+
94
+ It's important to note that the models have not undergone detoxification. Therefore, while they possess impressive linguistic capabilities, there is a possibility for them to generate content that could be deemed harmful or offensive. We urge users to exercise discretion and supervise the model's outputs closely, especially in public or sensitive applications.
95
+
96
+ ## Meet the Developers
97
+
98
+ Get to know the creators behind this innovative model and follow their contributions to the field:
99
+
100
+ - [Abhinand Balachandran](https://www.linkedin.com/in/abhinand-05/)
101
+
102
+ ## Citation
103
+
104
+ If you use this model or any of the the Tamil-Llama datasets in your research, please cite:
105
+
106
+ ```bibtex
107
+ @misc{balachandran2023tamilllama,
108
+ title={Tamil-Llama: A New Tamil Language Model Based on Llama 2},
109
+ author={Abhinand Balachandran},
110
+ year={2023},
111
+ eprint={2311.05845},
112
+ archivePrefix={arXiv},
113
+ primaryClass={cs.CL}
114
+ }
115
+ ```
116
+
117
+
118
+ We hope this model serves as a valuable tool in your NLP toolkit and look forward to seeing the advancements it will enable in the understanding and generation of the Tamil language.