FartLabs/FartDB
Viewer • Updated • 30.1k • 69 • 6
How to use FartLabs/Stable_C with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="FartLabs/Stable_C") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("FartLabs/Stable_C")
model = AutoModelForSequenceClassification.from_pretrained("FartLabs/Stable_C")