Instructions to use dklpp/llama3-section-classifier-10ksamples-1epoch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dklpp/llama3-section-classifier-10ksamples-1epoch with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "dklpp/llama3-section-classifier-10ksamples-1epoch") - Transformers
How to use dklpp/llama3-section-classifier-10ksamples-1epoch with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dklpp/llama3-section-classifier-10ksamples-1epoch", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K