|
|
---
|
|
|
language:
|
|
|
- en
|
|
|
license: mit
|
|
|
tags:
|
|
|
- medical
|
|
|
- orthopedics
|
|
|
- prosthetics
|
|
|
- orthotics
|
|
|
- healthcare
|
|
|
- fine-tuned
|
|
|
base_model: microsoft/phi-2
|
|
|
pipeline_tag: text-generation
|
|
|
---
|
|
|
|
|
|
# ortho-tech-llm
|
|
|
|
|
|
A domain-specific language model fine-tuned on orthopedic and prosthetic medical documentation.
|
|
|
|
|
|
## Model Description
|
|
|
|
|
|
This model has been fine-tuned using LoRA (Low-Rank Adaptation) on specialized medical
|
|
|
content related to:
|
|
|
- Upper limb prosthetics
|
|
|
- Lower limb orthotics
|
|
|
- Transhumeral prostheses
|
|
|
- Anatomical considerations for prosthetic fitting
|
|
|
|
|
|
## Intended Use
|
|
|
|
|
|
This model is designed for:
|
|
|
- Educational purposes in orthopedic technology
|
|
|
- Assistive chatbot for prosthetics/orthotics information
|
|
|
- Research and development in medical AI
|
|
|
|
|
|
**Note**: This model is NOT intended for clinical diagnosis or treatment decisions.
|
|
|
|
|
|
## Training Data
|
|
|
|
|
|
The model was trained on educational materials including:
|
|
|
- Upper limb prosthetics anatomy
|
|
|
- Lower limb orthotic systems
|
|
|
- Transhumeral prosthetic documentation
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
```python
|
|
|
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
|
|
|
model = AutoModelForCausalLM.from_pretrained("YOUR_USERNAME/ortho-tech-llm")
|
|
|
tokenizer = AutoTokenizer.from_pretrained("YOUR_USERNAME/ortho-tech-llm")
|
|
|
|
|
|
prompt = "### Instruction:\nExplain upper limb prosthetics\n\n### Response:\n"
|
|
|
inputs = tokenizer(prompt, return_tensors="pt")
|
|
|
outputs = model.generate(**inputs, max_new_tokens=200)
|
|
|
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
|
|
```
|
|
|
|
|
|
## Limitations
|
|
|
|
|
|
- Training data is limited to specific educational materials
|
|
|
- May not cover all aspects of orthopedic technology
|
|
|
- Should be verified by medical professionals before use
|
|
|
|
|
|
## License
|
|
|
|
|
|
MIT License
|
|
|
|