This model is a fine-tuned version of Qwen/Qwen2.5-1.5B, trained with LoRA adapters on a dental procedure instruction dataset. It has been trained to explain ADA dental procedure codes in a way patients can understand.
Two versions are available:
BirdieByte1024/Qwen2.5-1.5B-LoRA-dental: LoRA adapter onlyBirdieByte1024/Qwen2.5-1.5B-dental-full: Fully merged standalone modelQwen/Qwen2.5-1.5BThis model was trained on:
The dataset includes ADA codes and short/long descriptions useful for patient-friendly explanations.
This is an instruction-tuned model using a simple text format:
### Instruction:
Explain the following dental code.
### Code:
D7140 - Extraction, erupted tooth
### Response:
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "BirdieByte1024/Qwen2.5-1.5B-dental-full" # or LoRA version with PEFT if needed
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True).to("cuda")
prompt = """### Instruction:
Explain the following dental code.
### Code:
D7140 - Extraction, erupted tooth
### Response:"""
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Use the example above with transformers for local inference.
To deploy via ollama, convert the merged model to GGUF and run:
ollama run qwen2.5-dental
Make sure to convert your model to GGUF first using
transformers+transformers-ggufor usellama.cppexport tools.
Created by BirdieByte1024 as part of a patient-education AI project using LoRA + Qwen models.
Apache 2.0
4 commits
This model is a fine-tuned version of Qwen/Qwen2.5-1.5B, trained with LoRA adapters on a dental procedure instruction dataset. It has been trained to explain ADA dental procedure codes in a way patients can understand.
Two versions are available:
BirdieByte1024/Qwen2.5-1.5B-LoRA-dental: LoRA adapter onlyBirdieByte1024/Qwen2.5-1.5B-dental-full: Fully merged standalone modelQwen/Qwen2.5-1.5BThis model was trained on:
The dataset includes ADA codes and short/long descriptions useful for patient-friendly explanations.
This is an instruction-tuned model using a simple text format:
### Instruction:
Explain the following dental code.
### Code:
D7140 - Extraction, erupted tooth
### Response:
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "BirdieByte1024/Qwen2.5-1.5B-dental-full" # or LoRA version with PEFT if needed
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True).to("cuda")
prompt = """### Instruction:
Explain the following dental code.
### Code:
D7140 - Extraction, erupted tooth
### Response:"""
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Use the example above with transformers for local inference.
To deploy via ollama, convert the merged model to GGUF and run:
ollama run qwen2.5-dental
Make sure to convert your model to GGUF first using
transformers+transformers-ggufor usellama.cppexport tools.
Created by BirdieByte1024 as part of a patient-education AI project using LoRA + Qwen models.
Apache 2.0
4 commits