Downloads · 30 days
91
0% of all-time downloads
bigatuna/Qwen3-1.7B-Sushi-Coder
Qwen3-1.7B-Sushi-Coder is a text generation model from bigatuna. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A fine-tuned Qwen3-1.7B model optimized for code generation and competitive programming.
Downloads · 30 days
91
0% of all-time downloads
All-time downloads
19.2K
Public
Parameters
1.7B
3.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors3.4 GB · 100%
From the Hugging Face model README
A fine-tuned Qwen3-1.7B model optimized for code generation and competitive programming.
This model was fine-tuned using:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"bigatuna/Qwen3-1.7B-Sushi-Coder",
torch_dtype="auto",
device_map="auto",
trust_remote_code=True,
)
tokenizer = AutoTokenizer.from_pretrained("bigatuna/Qwen3-1.7B-Sushi-Coder")
messages = [
{"role": "user", "content": "Write a Python function to solve the two-sum problem."}
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.6, top_p=0.95, top_k=20)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
For best results with Qwen3 models:
Apache 2.0