Instructions to use mugithi/opt-6.7b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mugithi/opt-6.7b-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("facebook/opt-6.7b") model = PeftModel.from_pretrained(base_model, "mugithi/opt-6.7b-lora") - Notebooks
- Google Colab
- Kaggle
Ctrl+K