Instructions to use peft-internal-testing/tiny-OPTForCausalLM-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use peft-internal-testing/tiny-OPTForCausalLM-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("hf-internal-testing/tiny-random-OPTForCausalLM") model = PeftModel.from_pretrained(base_model, "peft-internal-testing/tiny-OPTForCausalLM-lora") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 6724b162194be953b078fd9ce8056769cd27a1ecce6777cf78908a61e3d94b53
- Size of remote file:
- 17.3 kB
- SHA256:
- 80c26b0b017f458860b7ef169139fbd43e8f48d9375455a7527de3b33b79c8b3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.