Downloads · 30 days
10
10% of all-time downloads
ZiyadTb/qwen-2.5-3b-coursezy-assistant
qwen-2.5-3b-coursezy-assistant is a text generation model from ZiyadTb. 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.
This model is fine-tuned to help coaches navigate a dashboard by generating helpful paragraphs that include correct internal HTML links (e.g., <a href="/courses/add"Click here</a). It is designed for use inside LMS/ad…
Downloads · 30 days
10
10% of all-time downloads
All-time downloads
100
Public
Parameters
3.2B
2.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.7 GB · 99%
How the weights are stored.
U82.9B · 90%
From the Hugging Face model README
This model is fine-tuned to help coaches navigate a dashboard by generating helpful paragraphs that include correct internal HTML links (e.g., <a href="/courses/add">Click here</a>). It is designed for use inside LMS/admin dashboards where users need quick instructions and direct links.
This model is a fine-tuned version of meta-llama/Llama-3.2-3B-Instruct. Its purpose is to understand natural language questions such as:
And return a friendly paragraph that explains the location and includes the correct internal endpoint as a clickable HTML link.
The model can be used to:
The model is NOT suitable for:
⚠️ Important Limitations:
<a> tags — not markdown or other formatsfrom transformers import AutoModelForCausalLM, AutoTokenizer
# Load model and tokenizer
tokenizer = AutoTokenizer.from_pretrained("your-username/llama-3.2-3b-coach-assistant")
model = AutoModelForCausalLM.from_pretrained("your-username/llama-3.2-3b-coach-assistant")
# Prepare input
prompt = "Where do I go to create a new course?"
# Generate response
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=200, temperature=0.7)
# Decode output
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
import requests
API_URL = "https://api-inference.huggingface.co/models/your-username/llama-3.2-3b-coach-assistant"
headers = {"Authorization": "Bearer YOUR_HF_TOKEN"}
def query(payload):
response = requests.post(API_URL, headers=headers, json=payload)
return response.json()
output = query({
"inputs": "Where do I go to create a new course?",
"parameters": {
"max_new_tokens": 150,
"temperature": 0.7,
}
})
print(output)
import requests
# Your deployed endpoint URL
API_URL = "https://your-endpoint.aws.endpoints.huggingface.cloud"
headers = {"Authorization": "Bearer YOUR_HF_TOKEN"}
payload = {
"inputs": "Where do I go to create a new course?",
"parameters": {
"max_new_tokens": 150,
"temperature": 0.7,
"top_p": 0.9,
}
}
response = requests.post(API_URL, headers=headers, json=payload)
print(response.json())
A custom JSONL dataset consisting of input-output pairs:
{
"input": "Where do I go to create a new course?",
"output": "To create a new course, navigate to the course creation page where you can add all the details about your course. <a href=\"/courses/add\">Click here</a> to start creating your course."
}
Dataset Statistics:
Covered Endpoints:
/courses/add - Creating new courses/courses/index - Viewing and managing courses/inbox - Checking messages/accont - Managing profile/coach/dashboard - Accessing dashboardFine-tuning Method: QLoRA (4-bit quantization + LoRA)
Training Framework:
Training Configuration:
Model Size:
Training Environment:
A validation set with unseen question variations for each endpoint to test generalization.
Evaluation Criteria:
The model reliably returns:
Sample Outputs:
| Input | Output |
|---|---|
| "Where do I create a course?" | "To create a new course, navigate to the course creation page where you can add all the details about your course. <a href="/courses/add">Click here</a> to start creating your course." |
| "How can I check my messages?" | "You can check all your messages and communicate with students in the inbox. <a href="/inbox">Click here</a> to access your messages." |
| "Where is my dashboard?" | "Your coach dashboard provides an overview of your courses, students, and activity. <a href="/coach/dashboard">Click here</a> to access your dashboard." |
Carbon Emissions: [Optional - Add if you tracked this]
Fine-tuning was performed using cloud GPU resources. The use of QLoRA (4-bit quantization) significantly reduced computational requirements compared to full fine-tuning.
If you use this model in your work, please cite:
BibTeX:
@misc{coach-assistant-2024,
author = {Ziyad T.},
title = {Coach Navigation Assistant - Fine-Tuned Llama 3.2 3B},
year = {2024},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/your-username/llama-3.2-3b-coach-assistant}}
}
APA:
Ziyad T. (2024). Coach Navigation Assistant - Fine-Tuned Llama 3.2 3B.
Hugging Face. https://huggingface.co/your-username/llama-3.2-3b-coach-assistant
Ziyad T.
For questions, issues, or feedback:
Last Updated: November 2024