Views
No views yet
qwen2.5-md-finetunedqwen2.5-md-finetuned is a fine-tuned version of the Qwen2.5-Medium model, optimized for improved performance on domain-specific or task-specific data. This model leverages the powerful multilingual and multitask capabilities of the base Qwen2.5 architecture and is adapted further using Low-Rank Adaptation (LoRA) techniques for efficient fine-tuning.✅ Base Model: Qwen2.5-Medium 🛠️ Fine-Tuned By: adi2606 📜 License: MIT 🧱 Adapter Format:adapter_model.safetensors(LoRA)
adapter_config.jsontokenizer_config.json, vocab.json, merges.txt)added_tokens.json and special_tokens_map.json for enhanced compatibility with downstream applications| Filename | Description |
|---|---|
adapter_model.safetensors | LoRA adapter weights |
adapter_config.json | Adapter configuration for inference |
tokenizer_config.json | Tokenizer configuration |
tokenizer.json | Pre-tokenized vocabulary |
vocab.json | Vocabulary JSON |
merges.txt | Merge rules for BPE tokenizer |
special_tokens_map.json | Special tokens mapping |
added_tokens.json | Custom added tokens |
chat_template.jinja | Custom chat template (if applicable) |
peft:1from peft import PeftModel, PeftConfig
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Medium", device_map="auto", trust_remote_code=True)
5tokenizer = AutoTokenizer.from_pretrained("adi2606/qwen2.5-md-finetuned", trust_remote_code=True)
6model = PeftModel.from_pretrained(base_model, "adi2606/qwen2.5-md-finetuned")(Optional section) If you have evaluation metrics or benchmark results, they can be added here. Example:
1@misc{adi2606qwen25md,
2 author = {adi2606},
3 title = {qwen2.5-md-finetuned},
4 year = {2025},
5 publisher = {Hugging Face},
6 howpublished = {\url{https://huggingface.co/adi2606/qwen2.5-md-finetuned}},
7}