Downloads · 30 days
57
2% of all-time downloads
SandLogicTechnologies/LLama3-Gaja-Hindi-8B-GGUF
LLama3-Gaja-Hindi-8B-GGUF is a text generation model from SandLogicTechnologies. Use it when you need the model to write or continue text.
We have quantized the LLama3-Gaja-Hindi-8B model into two variants:
Downloads · 30 days
57
2% of all-time downloads
All-time downloads
2.5K
Public
Repo size
10.7 GB
Likes
0
Public
Click a slice to open those files.
.gguf10.7 GB · 100%
From the Hugging Face model README
We have quantized the LLama3-Gaja-Hindi-8B model into two variants:
These quantized models offer improved efficiency while maintaining performance.
Discover our full range of quantized language models by visiting our SandLogic Lexicon GitHub. To learn more about our company and services, check out our website at SandLogic.
LLama3-Gaja-Hindi-8B is designed for bilingual (English/Hindi) natural language understanding tasks, with a focus on:
The model underwent supervised fine-tuning with low-rank adaptation, focusing on bilingual instruct fine-tuning. The training data consisted of a curated dataset of translated instructional pairs.
We offer two quantized versions of the LLama3-Gaja-Hindi-8B model:
These quantized models aim to reduce model size and improve inference speed while maintaining performance as close to the original model as possible.
pip install llama-cpp-python
Please refer to the llama-cpp-python documentation to install with GPU support.
Here's an example demonstrating how to use the high-level API for basic text completion:
from llama_cpp import Llama
llm = Llama(
model_path="./models/7B/LLama3-Gaja-Hindi-8B-v0.1.gguf",
verbose=False,
# n_gpu_layers=-1, # Uncomment to use GPU acceleration
# n_ctx=2048, # Uncomment to increase the context window
)
output = llm.create_chat_completion(
messages =[
{
"role": "system",
"content": """ You are an AI assistant trained on top of Llama 3 Large language model (LLM), proficient in English and Hindi. You can respond in both languages based on the user's request."""
,
},
{"role": "user", "content": "Write an poem in hindi"},
]
)
print(output["choices"][0]['message']['content'])
You can download Llama models in gguf format directly from Hugging Face using the from_pretrained method. This feature requires the huggingface-hub package.
To install it, run: pip install huggingface-hub
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="SandLogicTechnologies/LLama3-Gaja-Hindi-8B-GGUF",
filename="*llama3-gaja-hindi-8b-v0.1.Q5_K_M.gguf",
verbose=False
)
By default, from_pretrained will download the model to the Hugging Face cache directory. You can manage installed model files using the huggingface-cli tool.
Users should be aware of potential biases in the model's outputs, especially when dealing with cultural or linguistic nuances. Always review and validate the model's responses for sensitive applications.
We thank Cognitivelab.in for developing the original LLama3-Gaja-Hindi-8B model and the creators of Llama3 for their foundational work.Special thanks to Georgi Gerganov and the entire llama.cpp development team for their outstanding contributions.
For any inquiries or support, please contact us at [email protected] or visit our support page.