Instructions to use maroon14/payment-related-seq-cls with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use maroon14/payment-related-seq-cls with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("prajjwal1/bert-tiny") model = PeftModel.from_pretrained(base_model, "maroon14/payment-related-seq-cls") - Transformers
How to use maroon14/payment-related-seq-cls with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="maroon14/payment-related-seq-cls")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("maroon14/payment-related-seq-cls", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K