Update README.md 1ac96d4
zhangfan commited on
How to use Fan-s/reddit-tc-bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Fan-s/reddit-tc-bert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Fan-s/reddit-tc-bert")
model = AutoModelForSequenceClassification.from_pretrained("Fan-s/reddit-tc-bert")