Text Classification
PEFT
Safetensors
Transformers
lora
torchao
emotion-classification
int8
Eval Results (legacy)
Instructions to use Wb-az/peft-modernbert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Wb-az/peft-modernbert-base with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("answerdotai/ModernBERT-base") model = PeftModel.from_pretrained(base_model, "Wb-az/peft-modernbert-base") - Transformers
How to use Wb-az/peft-modernbert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Wb-az/peft-modernbert-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Wb-az/peft-modernbert-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from Wb-az/peft-modernbert-base: direct link, hf CLI and curl.
- Browser
- Download file 5.27 kB
-
https://huggingface.co/Wb-az/peft-modernbert-base/resolve/main/training_args.bin
- Command line
-
hf download hf://Wb-az/peft-modernbert-base/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/Wb-az/peft-modernbert-base/resolve/main/training_args.bin
5.27 kB
- Xet hash:
- 7fbd891cd715732d4ed45247cb252df85ed7fdc95ccdba9979fd168acae8940f
- Size of remote file:
- 5.27 kB
- SHA256:
- 1f4e3d7ac76327380a0cd87cdbe98feb767f40892ff2f759328bd2889d6ef7c2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.