How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "mervinpraison/tamilan-2-27b" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "mervinpraison/tamilan-2-27b",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "mervinpraison/tamilan-2-27b" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "mervinpraison/tamilan-2-27b",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

Tamilan 2 - 27B Advanced Tamil Large Language Model

Tamilan 2 is the latest version of the Tamil Large Language Model, designed to enhance understanding and generation of Tamil text.

Gemma 2, instruction fine tuned on Tamil Alpaca Dataset

Developed by: Mervin Praison

Download

Website: Tamilan 2

Key Features:

  1. Sizes:

    • 2B parameters
    • 9B parameters
    • 27B parameters
  2. Quantization Levels:

    • 4-bit
    • 8-bit
    • 16-bit
  3. Training Dataset:

  4. Applications:

    • Content creation
    • Customer support
    • Educational tools
    • Research
  5. Deployment:

    • Supports efficient deployment and fine-tuning for various tasks

Uploaded model

  • Developed by: mervinpraison
  • License: apache-2.0
  • Finetuned from model : unsloth/gemma-2-27b-it-bnb-4bit
Downloads last month
38
Safetensors
Model size
27B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mervinpraison/tamilan-2-27b

Quantized
(2)
this model
Quantizations
2 models

Collection including mervinpraison/tamilan-2-27b