Instructions to use ULRs/llama-3-8b-topic-classification-ur with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ULRs/llama-3-8b-topic-classification-ur with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct") model = PeftModel.from_pretrained(base_model, "ULRs/llama-3-8b-topic-classification-ur") - Notebooks
- Google Colab
- Kaggle
Ctrl+K