odegiber/hate_speech18
Updated โข 1.08k โข 17
How to use joseph10/bert-tiny-distilled with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="joseph10/bert-tiny-distilled") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("joseph10/bert-tiny-distilled")
model = AutoModelForSequenceClassification.from_pretrained("joseph10/bert-tiny-distilled", device_map="auto")This model is a fine-tuned version of google/bert_uncased_L-2_H-128_A-2 on the hate_speech18 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
google/bert_uncased_L-2_H-128_A-2