You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Kambi Qwen3 4B - Malayalam Story Generation Model

Fine-tuned from huihui-ai/Huihui-Qwen3-4B-Instruct-2507-abliterated on Malayalam kambi katha data.

Training Details

  • Base model: Qwen3 4B Instruct (abliterated)
  • Dataset: 790 Malayalam kambi stories
  • Method: QLoRA (rank=16, alpha=16, 4-bit NF4)
  • Sequence length: 2048 tokens
  • Epochs: 3
  • Final eval loss: 0.0210
  • Hardware: RTX A4500 (20GB) on RunPod

Usage

With Unsloth

from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
    model_name="vipinkp/kambi-qwen3-4b",
    max_seq_length=2048,
    load_in_4bit=True,
)
FastLanguageModel.for_inference(model)

messages = [{"role": "user", "content": "ഒരു കമ്പി കഥ എഴുതുക."}]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt").to("cuda")
outputs = model.generate(inputs, max_new_tokens=2048, temperature=0.85)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

With llama.cpp (GGUF)

./llama-cli -m kambi-qwen3-4b.Q4_K_M.gguf -p "ഒരു കമ്പി കഥ എഴുതുക." -n 2048 --temp 0.85 -ngl 99
Downloads last month
14
GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train vipinkp/kambi-qwen3-4b