Instructions to use chunwei-sf/roberta-base-category-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use chunwei-sf/roberta-base-category-classifier with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("roberta-base") model = PeftModel.from_pretrained(base_model, "chunwei-sf/roberta-base-category-classifier") - Transformers
How to use chunwei-sf/roberta-base-category-classifier with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("chunwei-sf/roberta-base-category-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
End of training
Verified signature5b51f23 -
Training in progress, epoch 3
Verified signature005f4f9 -
Training in progress, epoch 2
Verified signaturea415fdd -
Training in progress, epoch 1
Verified signature7a199d9 -
initial commit
Verified signature2f89090