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")
How to use dklpp/llama3-section-classifier with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dklpp/llama3-section-classifier", dtype="auto")
The community tab is the place to discuss and collaborate with the HF community!