Instructions to use Infernaught/test_adapter_weights with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Infernaught/test_adapter_weights with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("hf-internal-testing/tiny-random-GPTJForCausalLM") model = PeftModel.from_pretrained(base_model, "Infernaught/test_adapter_weights") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1 opened over 2 years ago
by
librarian-bot