Team Ai
Modelpublic

chunwoolee0/klue_nli_roberta_base_model

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes14downloads
Model Card

<!-- 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. -->

kluenlirobertabasemodel

This model is a fine-tuned version of klue/roberta-base on the klue dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.6867
  • —Accuracy: 0.8653

Model description

Pretrained RoBERTa Model on Korean Language. See Github and Paper for more details.

Intended uses & limitations

How to use

NOTE: Use BertTokenizer instead of RobertaTokenizer. (AutoTokenizer will load BertTokenizer)

from transformers import AutoModel, AutoTokenizer

python
model = AutoModel.from_pretrained("klue/roberta-base")
tokenizer = AutoTokenizer.from_pretrained("klue/roberta-base")

Training and evaluation data

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 2e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 5

Training results

Training LossEpochStepValidation LossAccuracy
0.59881.07820.43780.8363
0.27532.015640.41690.851
0.17353.023460.52670.8607
0.09564.031280.62750.8683
0.07085.039100.68670.8653

Framework versions

  • —Transformers 4.30.2
  • —Pytorch 2.0.1+cu118
  • —Datasets 2.13.1
  • —Tokenizers 0.13.3