Instructions to use webbigdata/C3TR-Adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use webbigdata/C3TR-Adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-2-9b-it-bnb-4bit") model = PeftModel.from_pretrained(base_model, "webbigdata/C3TR-Adapter") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files38 unmodified lines3940414243444546474838 unmodified lines# first install pytorch. check official documents.# https://pytorch.org/get-started/locally/#start-locally# example for linux user.# pip3 install torch torchvision torchaudio# example for windows user.# pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121pip install transformers==4.38.238 unmodified lines3940414243444546474838 unmodified lines# first install pytorch. check official documents.# https://pytorch.org/get-started/locally/#start-locally# example for linux user with CUDA 12.1.# pip3 install torch torchvision torchaudio# example for windows user with CUDA 12.1.# pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121pip install transformers==4.38.2
README.md+2-2