Downloads · 30 days
18
5% of all-time downloads
XformAI-india/qwen-1.7b-coder
qwen-1.7b-coder is a machine learning model from XformAI-india. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Model: XformAI-india/qwen-1.7b-coder Base Model: Qwen/Qwen3-1.7B Architecture: Transformer decoder (GPT-style) Size: 1.7 Billion Parameters Fine-Tuned By: XformAI Release Date: May 2025 License: MIT
Downloads · 30 days
18
5% of all-time downloads
All-time downloads
346
Public
Parameters
1.7B
3.5 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors3.4 GB · 100%
From the Hugging Face model README
Model: XformAI-india/qwen-1.7b-coder
Base Model: Qwen/Qwen3-1.7B
Architecture: Transformer decoder (GPT-style)
Size: 1.7 Billion Parameters
Fine-Tuned By: XformAI
Release Date: May 2025
License: MIT
qwen-1.7b-coder is a purpose-built code generation model, fine-tuned from Qwen3 1.7B by XformAI to deliver highly usable Python, JS, and Bash snippets with low-latency inference.
Designed to help:
| Aspect | Value |
|---|---|
| Fine-Tuning Type | Instruction-tuned on code corpus |
| Target Domains | Python, Bash, HTML, JavaScript |
| Style | Docstring-to-code, prompt-to-app |
| Tuning Technique | LoRA (8-bit) + PEFT |
| Framework | 🤗 Transformers |
| Precision | bfloat16 |
| Epochs | 3 |
| Max Tokens | 2048 |
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("XformAI-india/qwen-1.7b-coder")
tokenizer = AutoTokenizer.from_pretrained("XformAI-india/qwen-1.7b-coder")
prompt = "Write a Python script that takes a directory path and prints all .txt file names inside it."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))