Codium-BD-Coderv3

Coding-focused Bangla + English model by Niloy Chandra Deb. Full merged weights (usable directly, or as a base for further fine-tuning).

  • Lineage: Qwen3.5-4B (please follow the Qwen license and keep attribution) + LoRA merge + identity tuning + v3.1 fine-tune
  • v3.1 fine-tune data: Bangla instruction sets (HydraIndicLM/bengali_alpaca_dolly_67k, iamshnoo/alpaca-cleaned-bengali, BanglaLLM/bangla-alpaca-orca, OdiaGenAI/all_combined_bengali_252k), real-world HTML/CSS from ronantakizawa/webui (MIT label; underlying code has mixed open-source licenses), Tailwind pages from HuggingFaceM4/WebSight v0.2 (CC-BY-4.0, https://arxiv.org/abs/2403.09029)
  • Previous version: branch v3.0-backup
  • Needs transformers>=4.57

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("ganjakha/codium-bd-coder-v3")
model = AutoModelForCausalLM.from_pretrained("ganjakha/codium-bd-coder-v3", dtype="auto", device_map="auto")
msgs = [{"role": "user", "content": "Make a responsive landing page for a coffee shop (single HTML file)."}]
inp = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True).to(model.device)
print(tok.decode(model.generate(**inp, max_new_tokens=800)[0][inp["input_ids"].shape[1]:], skip_special_tokens=True))

Limitations

Review generated code before use. No formal benchmarks have been run.

Downloads last month
-
Safetensors
Model size
4B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ganjakha/codium-bd-coder-v3

Unable to build the model tree, the base model loops to the model itself. Learn more.

Datasets used to train ganjakha/codium-bd-coder-v3

Paper for ganjakha/codium-bd-coder-v3