Instructions to use mmdrez4/Falcon-7B-Medical-Summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mmdrez4/Falcon-7B-Medical-Summarization with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("ybelkada/falcon-7b-sharded-bf16") model = PeftModel.from_pretrained(base_model, "mmdrez4/Falcon-7B-Medical-Summarization") - Notebooks
- Google Colab
- Kaggle
Ctrl+K