Instructions to use VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF # Run inference directly in the terminal: llama cli -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF # Run inference directly in the terminal: llama cli -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF # Run inference directly in the terminal: ./llama-cli -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF
Use Docker
docker model run hf.co/VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF
- LM Studio
- Jan
- vLLM
How to use VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF
- Ollama
How to use VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF with Ollama:
ollama run hf.co/VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF
- Unsloth Studio
How to use VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF with Docker Model Runner:
docker model run hf.co/VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF
- Lemonade
How to use VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF
Run and chat with the model
lemonade run user.MalayaLLM_7B_Instruct_v0.2_GGUF-{{QUANT_TAG}}List all available models
lemonade list
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF# Run inference directly in the terminal:
llama cli -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUFUse pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF# Run inference directly in the terminal:
./llama-cli -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUFBuild from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF# Run inference directly in the terminal:
./build/bin/llama-cli -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUFUse Docker
docker model run hf.co/VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUFMalayaLLM [മലയാളം/Malayalam]
- GGUF version of MalayaLLM_7B_Instruct_v0.2_GGUF
- 8 bit quantized model.
MalayaLLM_7B_Instruct_v0.2_GGUF
This is an attempt to construct a Language Model (LLM) focused on generative AI for Malayalam language. While several LLMs are proficient in supporting multiple languages, including Malayalam, enhancing their performance for specific tasks such as content generation and question answering specifically in Malayalam can be achieved through dedicated training on a Malayalam dataset. In pursuit of this, I've undertaken the continuous pre-training of the LLAMA2 model using a comprehensive Malayalam dataset.
The model is currently in its early stages, and ongoing training and fine-tuning with a more comprehensive dataset are necessary to enhance its performance. I will consistently provide updated revisions to the model.
Github Repo:
For comprehensive insights into model training, fine-tuning, and other advanced techniques, refer to the MalayaLLM GitHub repository at the following link: https://github.com/VishnuPJ/MalayaLLM
Introducing the Developer:
Discover the mind behind this model and stay updated on their contributions to the field https://www.linkedin.com/in/vishnu-prasad-j/
Model description
The MalayaLLM models have been improved and customized to incorporate a comprehensive Malayalam vocabulary comprising approximately 18,000 tokens, expanding upon the groundwork laid by the original LLaMA-2.
Prompt Template Without Input
{system_prompt}
### Instruction:
{instruction or query}
### Response:
{response}
Prompt Template With Input
{system_prompt}
### Instruction:
{instruction or query}
### Input:
{input}
### Response:
{response}
Available Models
| Model | Type | Data | Base Model | # Params | Download Links |
|---|---|---|---|---|---|
| MalayaLLM 7B Base #v0.1 | Base model | 12GB | LLaMA 7B | 7B | HF Hub |
| MalayaLLM 7B Instruct #v0.1 | Instruction following model | 52k instructions | MalayaLLM 7B Base | 7B | HF Hub |
| MalayaLLM 7B Instruct #v0.2 | Instruction following model | 52k instructions | MalayaLLM 7B Base | 7B | HF Hub |
| ** Note : MalayaLLM 7B Instruct v0.2 is the latest model. |
Quantized Version of Available Models
| Model | Format | Bits | Download Links |
|---|---|---|---|
| MalayaLLM 7B Instruct #v0.1 | GGUF | Q8_0 | HF Hub |
| MalayaLLM 7B Instruct #v0.2 | GGUF | Q8_0 | HF Hub |
# 🌟Happy coding💻🌟
- Downloads last month
- 11
We're not able to determine the quantization variants.
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF# Run inference directly in the terminal: llama cli -hf VishnuPJ/MalayaLLM_7B_Instruct_v0.2_GGUF