Instructions to use Umer1542/llama-7b-hf-task-c with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Umer1542/llama-7b-hf-task-c with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("decapoda-research/llama-7b-hf") model = PeftModel.from_pretrained(base_model, "Umer1542/llama-7b-hf-task-c") - Notebooks
- Google Colab
- Kaggle
Ctrl+K