Instructions to use Salajmi1/results_araelectra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salajmi1/results_araelectra with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Salajmi1/results_araelectra")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Salajmi1/results_araelectra") model = AutoModelForSequenceClassification.from_pretrained("Salajmi1/results_araelectra") - Notebooks
- Google Colab
- Kaggle
results_araelectra
This model is a fine-tuned version of aubmindlab/araelectra-base-discriminator on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3534
- Accuracy: 0.8922
- F1: 0.8114
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| No log | 1.0 | 94 | 0.6014 | 0.8084 | 0.5763 |
| No log | 2.0 | 188 | 0.4269 | 0.8862 | 0.7944 |
| No log | 3.0 | 282 | 0.3534 | 0.8922 | 0.8114 |
Framework versions
- Transformers 4.52.4
- Pytorch 2.6.0+cu124
- Datasets 3.6.0
- Tokenizers 0.21.1
- Downloads last month
- -
Model tree for Salajmi1/results_araelectra
Base model
aubmindlab/araelectra-base-discriminator