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: 133 Bytes
5da4f9c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:239e0b552d764f83a7bcfb5974cbc788d2b25e49d3bc9e2f6d70ec5e03c8a823
size 17210195
|