Instructions to use alphahg/koelectra-90435398 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alphahg/koelectra-90435398 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="alphahg/koelectra-90435398")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("alphahg/koelectra-90435398") model = AutoModelForQuestionAnswering.from_pretrained("alphahg/koelectra-90435398") - Notebooks
- Google Colab
- Kaggle
koelectra-90435398
This model is a fine-tuned version of monologg/koelectra-base-v3-discriminator on the custom_squad_v2 dataset. It achieves the following results on the evaluation set:
- Loss: 1.7180
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: 0.0002
- train_batch_size: 128
- eval_batch_size: 128
- seed: 30
- gradient_accumulation_steps: 8
- total_train_batch_size: 1024
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- num_epochs: 2
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0.94 | 10 | 1.8954 |
| No log | 1.94 | 20 | 1.7180 |
Framework versions
- Transformers 4.25.1
- Pytorch 1.13.0+cu116
- Datasets 2.8.0
- Tokenizers 0.13.2
- Downloads last month
- 7