How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="xyntopia/tb_classifier")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("xyntopia/tb_classifier")
model = AutoModelForSequenceClassification.from_pretrained("xyntopia/tb_classifier", device_map="auto")
Quick Links

This model classifies smaller textblocks. Right now it is mainyl used to identify addresses.

Downloads last month
122
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support