Instructions to use BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-7b-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct") - Transformers
How to use BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct", max_seq_length=2048, )
๐ฆท doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct
This is a LoRA adapter fine-tuned with Unsloth on a domain-specific dataset that combines:
- Realistic doctorโpatient conversations
- Dental implant Q&A extracted from Straumannยฎ technical manuals
๐ฌ Designed to make Qwen2.5-7B-Instruct capable of answering both general health questions and dental-specific scenarios.
๐ง Base Model
- Base:
Qwen/Qwen2.5-VL-7B-Instruct - Adapter: LoRA (PEFT-based)
This repo contains only the LoRA adapter weights, not the full model.
๐ Files
| File | Purpose |
|---|---|
adapter_model.safetensors |
LoRA weight file (for PEFT loading) |
adapter_config.json |
LoRA hyperparameter configuration |
tokenizer.json, vocab.json, merges.txt |
Tokenizer (shared with base model) |
๐ฆ How to Use
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
# Load base model
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-VL-7B-Instruct", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-VL-7B-Instruct", trust_remote_code=True)
# Load adapter
model = PeftModel.from_pretrained(base, "BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct")
- Downloads last month
- 16
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-7b-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "BirdieByte1024/doctor-dental-implant-LoRA-Qwen2.5-7B-Instruct")