Instructions to use dklpp/llama3-section-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dklpp/llama3-section-classifier 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") - Transformers
How to use dklpp/llama3-section-classifier with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dklpp/llama3-section-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
5da4f9c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:dd0237321dbe481fb24f96e76a6106c2fab7bfcef2e9409ab79f74774c129464
size 5905
|