How to use ggpt1006/tl-hate-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ggpt1006/tl-hate-bert")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ggpt1006/tl-hate-bert") model = AutoModelForSequenceClassification.from_pretrained("ggpt1006/tl-hate-bert")
language: "tl" tags: - "text-classification" - "hate-speech" - "nlp" license: "" model-index: - name: "default" task: "text-classification"
Files info