Views
No views yet
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3# Load the model
4model = AutoModelForCausalLM.from_pretrained("alfiwillianz/SemiQwenn-7b")
5tokenizer = AutoTokenizer.from_pretrained("alfiwillianz/SemiQwenn-7b")
6
7# Example usage
8prompt = "Solve this math problem: What is 15 * 24?"
9inputs = tokenizer(prompt, return_tensors="pt")
10outputs = model.generate(**inputs, max_length=100)
11response = tokenizer.decode(outputs[0], skip_special_tokens=True)
12print(response)1@misc{semiqwenn7b2025,
2 title={SemiQwenn-7B: A Distilled Qwen2.5 7B Model},
3 author={Alfi Willianz},
4 year={2025},
5 note={Knowledge distilled model based on Qwen2.5-7B}
6}