Instructions to use eskayML/electra_interview_duplicated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eskayML/electra_interview_duplicated with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="eskayML/electra_interview_duplicated")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("eskayML/electra_interview_duplicated") model = AutoModelForSequenceClassification.from_pretrained("eskayML/electra_interview_duplicated", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| library_name: transformers | |
| license: apache-2.0 | |
| base_model: mrm8488/electra-small-finetuned-squadv2 | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: electra_interview_duplicated | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # electra_interview_duplicated | |
| This model is a fine-tuned version of [mrm8488/electra-small-finetuned-squadv2](https://huggingface.co/mrm8488/electra-small-finetuned-squadv2) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 2.2204 | |
| - Accuracy: 0.3581 | |
| ## 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: 2 | |
| - eval_batch_size: 2 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 5 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | | |
| |:-------------:|:-----:|:-----:|:---------------:|:--------:| | |
| | 2.5854 | 1.0 | 2121 | 2.5418 | 0.2014 | | |
| | 2.4462 | 2.0 | 4242 | 2.4187 | 0.2898 | | |
| | 2.3656 | 3.0 | 6363 | 2.3080 | 0.3204 | | |
| | 2.2985 | 4.0 | 8484 | 2.2448 | 0.3298 | | |
| | 2.2479 | 5.0 | 10605 | 2.2204 | 0.3581 | | |
| ### Framework versions | |
| - Transformers 4.44.2 | |
| - Pytorch 2.5.0+cu121 | |
| - Datasets 3.0.2 | |
| - Tokenizers 0.19.1 | |