gpt2-token-class
This model is a fine-tuned version of
brad1141/gpt2-finetuned-comp2
on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3140
- Precision: 0.8139
- Recall: 0.6070
- F1: 0.6418
- Accuracy: 0.8854
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: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 2
Training results
|
Training Loss
|
Epoch
|
Step
|
Validation Loss
|
Precision
|
Recall
|
F1
|
Accuracy
|
|
0.2737
|
1.0
|
1796
|
0.3191
|
0.8066
|
0.6061
|
0.6402
|
0.8845
|
|
0.2846
|
2.0
|
3592
|
0.3140
|
0.8139
|
0.6070
|
0.6418
|
0.8854
|
Framework versions
- Transformers 4.29.1
- Pytorch 2.0.0+cu118
- Datasets 2.12.0
- Tokenizers 0.13.3
该模型是
brad1141/gpt2-finetuned-comp2
在 None 数据集上进行微调的版本。它在评估集上取得了以下结果:损失值:0.3140、精确率:0.8139、召回率:0.6070、F1 值:0.6418、准确率:0.8854。
模型描述
需要更多的信息。
预期用途和限制
需要更多的信息。
训练和评估数据
需要更多的信息。
训练过程
训练超参数
训练过程中使用了以下超参数:
学习率:2e-05、训练批大小:16、评估批大小:16、种子:42、优化器:Adam,betas=(0.9,0.999),epsilon=1e-08、学习率调度器类型:linear、训练时期数:2。
训练结果
|
Training Loss
|
Epoch
|
Step
|
Validation Loss
|
Precision
|
Recall
|
F1
|
Accuracy
|
|
0.2737
|
1.0
|
1796
|
0.3191
|
0.8066
|
0.6061
|
0.6402
|
0.8845
|
|
0.2846
|
2.0
|
3592
|
0.3140
|
0.8139
|
0.6070
|
0.6418
|
0.8854
|
框架版本
Transformers 4.29.1、Pytorch 2.0.0+cu118、Datasets 2.12.0、Tokenizers 0.13.3。