RantiRepo/job-classification-dataset
Viewer • Updated • 8.58k • 73
How to use RantiRepo/job_classifier_xlmroberta with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="RantiRepo/job_classifier_xlmroberta") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("RantiRepo/job_classifier_xlmroberta")
model = AutoModelForSequenceClassification.from_pretrained("RantiRepo/job_classifier_xlmroberta")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("RantiRepo/job_classifier_xlmroberta")
model = AutoModelForSequenceClassification.from_pretrained("RantiRepo/job_classifier_xlmroberta")This model is a fine-tuned version of FacebookAI/xlm-roberta-base on the Job 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:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.1122 | 1.0 | 859 | 0.0529 | 0.9907 | 0.9930 | 0.9883 | 0.9907 |
| 0.0325 | 2.0 | 1718 | 0.0338 | 0.9953 | 0.9930 | 0.9977 | 0.9953 |
| 0.0088 | 3.0 | 2577 | 0.0491 | 0.9942 | 0.9930 | 0.9953 | 0.9942 |
Base model
FacebookAI/xlm-roberta-base
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="RantiRepo/job_classifier_xlmroberta")