HuggingFaceFW/fineweb-edu-llama3-annotations
Viewer • Updated • 467k • 940 • 48
How to use pszemraj/distilroberta-base-edu-classifier with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="pszemraj/distilroberta-base-edu-classifier") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("pszemraj/distilroberta-base-edu-classifier")
model = AutoModelForSequenceClassification.from_pretrained("pszemraj/distilroberta-base-edu-classifier")This predicts an 'eduscore' from 0-5 for given text. You can see an example dataset classified with this model here
This model is a fine-tuned version of distilroberta-base on the HuggingFaceFW/fineweb-edu-llama3-annotations dataset. It achieves the following results on the evaluation set:
Same as the others, will add later
The following hyperparameters were used during training:
Base model
distilbert/distilroberta-base