Downloads · 30 days
70
5% of all-time downloads
CharlieGreenman/email-qwen3-0.6b
email-qwen3-0.6b is a text generation model from CharlieGreenman. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A fine-tuned Qwen3 0.6B model specialized in generating professional emails from simple prompts. Trained on 130k curated email examples with 5 rounds of rejection sampling alignment.
Downloads · 30 days
70
5% of all-time downloads
All-time downloads
1.3K
Public
Parameters
596M
1.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.2 GB · 74%
From the Hugging Face model README
A fine-tuned Qwen3 0.6B model specialized in generating professional emails from simple prompts. Trained on 130k curated email examples with 5 rounds of rejection sampling alignment.
# Download the GGUF quantized version
# Start the server
llama-server -m email-qwen3-06b-q4_k_m.gguf --host 127.0.0.1 --port 8081 -c 2048
# Generate an email
curl http://127.0.0.1:8081/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"messages": [
{"role": "system", "content": "You are an email writing assistant. Write a polished email body for the given request."},
{"role": "user", "content": "Cold outreach to the CTO at Stripe about our developer tools platform"}
],
"max_tokens": 256,
"temperature": 0.7
}'
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("CharlieGreenman/email-qwen3-0.6b")
tokenizer = AutoTokenizer.from_pretrained("CharlieGreenman/email-qwen3-0.6b")
messages = [
{"role": "system", "content": "You are an email writing assistant. Write a polished email body for the given request."},
{"role": "user", "content": "Thank Sarah for helping with the presentation last week"},
]
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, temperature=0.7, do_sample=True)
print(tokenizer.decode(outputs[0][inputs['input_ids'].shape[1]:], skip_special_tokens=True))
Cold outreach, follow-up, newsletter, transactional, welcome, personal, request, meeting, FYI, thank-you, confirmation, apology, introduction, invitation, deadline, congratulations, and freeform.
Apache 2.0