Instructions to use townwish/tiny-OPTForCausalLM-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use townwish/tiny-OPTForCausalLM-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("townwish/tiny-random-OPTForCausalLM") model = PeftModel.from_pretrained(base_model, "townwish/tiny-OPTForCausalLM-lora") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from townwish/tiny-OPTForCausalLM-lora: direct link, hf CLI and curl.
- Browser
- Download file 93 Bytes
-
https://huggingface.co/townwish/tiny-OPTForCausalLM-lora/resolve/main/README.md
- Command line
-
hf download hf://townwish/tiny-OPTForCausalLM-lora/README.md
-
curl -L -o README.md https://huggingface.co/townwish/tiny-OPTForCausalLM-lora/resolve/main/README.md
93 Bytes