Downloads · 30 days
18
14% of all-time downloads
vivekmdrift/maya-qwen-7b
maya-qwen-7b is a text generation model from vivekmdrift. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
Fine-tuned version of Qwen/Qwen2.5-7B-Instruct for customer support conversations.
Downloads · 30 days
18
14% of all-time downloads
All-time downloads
125
Public
Parameters
7.6B
15.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
Fine-tuned version of Qwen/Qwen2.5-7B-Instruct for customer support conversations.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("vivekmdrift/maya-qwen-7b")
tokenizer = AutoTokenizer.from_pretrained("vivekmdrift/maya-qwen-7b")
messages = [
{"role": "system", "content": "You are a helpful customer support agent."},
{"role": "user", "content": "How can I track my order?"},
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))