Model save
Browse files- README.md +88 -0
- classification_report_test.txt +14 -0
- confusion_matrix_test.csv +4 -0
- model.safetensors +1 -1
- model_predict.csv +0 -0
README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: VietAI/vit5-large
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
model-index:
|
| 10 |
+
- name: vit5-large_nli
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# vit5-large_nli
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [VietAI/vit5-large](https://huggingface.co/VietAI/vit5-large) on an unknown dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 1.8846
|
| 22 |
+
- Accuracy: 0.8018
|
| 23 |
+
- Precision Macro: 0.8019
|
| 24 |
+
- Recall Macro: 0.8020
|
| 25 |
+
- F1 Macro: 0.8018
|
| 26 |
+
- F1 Weighted: 0.8017
|
| 27 |
+
|
| 28 |
+
## Model description
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Intended uses & limitations
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training and evaluation data
|
| 37 |
+
|
| 38 |
+
More information needed
|
| 39 |
+
|
| 40 |
+
## Training procedure
|
| 41 |
+
|
| 42 |
+
### Training hyperparameters
|
| 43 |
+
|
| 44 |
+
The following hyperparameters were used during training:
|
| 45 |
+
- learning_rate: 5e-05
|
| 46 |
+
- train_batch_size: 64
|
| 47 |
+
- eval_batch_size: 64
|
| 48 |
+
- seed: 42
|
| 49 |
+
- gradient_accumulation_steps: 2
|
| 50 |
+
- total_train_batch_size: 128
|
| 51 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 52 |
+
- lr_scheduler_type: cosine
|
| 53 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 54 |
+
- num_epochs: 20
|
| 55 |
+
- mixed_precision_training: Native AMP
|
| 56 |
+
|
| 57 |
+
### Training results
|
| 58 |
+
|
| 59 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision Macro | Recall Macro | F1 Macro | F1 Weighted |
|
| 60 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------------:|:------------:|:--------:|:-----------:|
|
| 61 |
+
| 1.0755 | 1.0 | 143 | 0.7110 | 0.7020 | 0.7065 | 0.7026 | 0.7008 | 0.7007 |
|
| 62 |
+
| 0.5707 | 2.0 | 286 | 0.5831 | 0.7800 | 0.7892 | 0.7793 | 0.7800 | 0.7801 |
|
| 63 |
+
| 0.3356 | 3.0 | 429 | 0.6000 | 0.7911 | 0.7927 | 0.7916 | 0.7910 | 0.7909 |
|
| 64 |
+
| 0.1497 | 4.0 | 572 | 0.7687 | 0.7827 | 0.7848 | 0.7830 | 0.7826 | 0.7825 |
|
| 65 |
+
| 0.0876 | 5.0 | 715 | 0.8672 | 0.7867 | 0.7892 | 0.7864 | 0.7868 | 0.7868 |
|
| 66 |
+
| 0.0601 | 6.0 | 858 | 1.1073 | 0.7863 | 0.7869 | 0.7862 | 0.7862 | 0.7862 |
|
| 67 |
+
| 0.0473 | 7.0 | 1001 | 1.2264 | 0.7769 | 0.7821 | 0.7777 | 0.7762 | 0.7760 |
|
| 68 |
+
| 0.037 | 8.0 | 1144 | 1.1917 | 0.7947 | 0.7956 | 0.7945 | 0.7948 | 0.7948 |
|
| 69 |
+
| 0.0256 | 9.0 | 1287 | 1.3581 | 0.7867 | 0.7869 | 0.7866 | 0.7867 | 0.7867 |
|
| 70 |
+
| 0.0188 | 10.0 | 1430 | 1.3638 | 0.7916 | 0.7919 | 0.7916 | 0.7915 | 0.7916 |
|
| 71 |
+
| 0.0153 | 11.0 | 1573 | 1.5960 | 0.7902 | 0.7914 | 0.7903 | 0.7903 | 0.7903 |
|
| 72 |
+
| 0.0101 | 12.0 | 1716 | 1.6123 | 0.7938 | 0.7938 | 0.7939 | 0.7938 | 0.7937 |
|
| 73 |
+
| 0.0098 | 13.0 | 1859 | 1.7553 | 0.8 | 0.8017 | 0.8004 | 0.7999 | 0.7999 |
|
| 74 |
+
| 0.006 | 14.0 | 2002 | 1.7906 | 0.7978 | 0.7985 | 0.7982 | 0.7977 | 0.7975 |
|
| 75 |
+
| 0.0047 | 15.0 | 2145 | 1.8154 | 0.7991 | 0.7992 | 0.7993 | 0.7991 | 0.7991 |
|
| 76 |
+
| 0.0034 | 16.0 | 2288 | 1.8285 | 0.8013 | 0.8015 | 0.8016 | 0.8013 | 0.8012 |
|
| 77 |
+
| 0.0018 | 17.0 | 2431 | 1.8543 | 0.8004 | 0.8006 | 0.8007 | 0.8004 | 0.8003 |
|
| 78 |
+
| 0.0021 | 18.0 | 2574 | 1.8807 | 0.8018 | 0.8019 | 0.8020 | 0.8018 | 0.8017 |
|
| 79 |
+
| 0.0009 | 19.0 | 2717 | 1.8842 | 0.8013 | 0.8014 | 0.8015 | 0.8013 | 0.8013 |
|
| 80 |
+
| 0.0019 | 20.0 | 2860 | 1.8846 | 0.8018 | 0.8019 | 0.8020 | 0.8018 | 0.8017 |
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
### Framework versions
|
| 84 |
+
|
| 85 |
+
- Transformers 4.55.0
|
| 86 |
+
- Pytorch 2.7.0+cu126
|
| 87 |
+
- Datasets 4.0.0
|
| 88 |
+
- Tokenizers 0.21.4
|
classification_report_test.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
precision recall f1-score support
|
| 2 |
+
|
| 3 |
+
entailment 0.78 0.82 0.80 750
|
| 4 |
+
contradiction 0.79 0.76 0.78 737
|
| 5 |
+
neutral 0.79 0.79 0.79 777
|
| 6 |
+
|
| 7 |
+
accuracy 0.79 2264
|
| 8 |
+
macro avg 0.79 0.79 0.79 2264
|
| 9 |
+
weighted avg 0.79 0.79 0.79 2264
|
| 10 |
+
|
| 11 |
+
Confusion matrix:
|
| 12 |
+
[[614 62 74]
|
| 13 |
+
[ 92 560 85]
|
| 14 |
+
[ 82 85 610]]
|
confusion_matrix_test.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
,entailment,contradiction,neutral
|
| 2 |
+
entailment,614,62,74
|
| 3 |
+
contradiction,92,560,85
|
| 4 |
+
neutral,82,85,610
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3021559524
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9e0f8132d8569e855501ff524a2785b4c5a3e750ac1a17325b712f8782bf792
|
| 3 |
size 3021559524
|
model_predict.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|