End of training
Browse files- README.md +83 -0
- config.json +27 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: FacebookAI/roberta-base
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- rouge
|
| 10 |
+
model-index:
|
| 11 |
+
- name: 39c56382a1dbd7f04d8a094ceafe2fd5
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
# 39c56382a1dbd7f04d8a094ceafe2fd5
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on the nyu-mll/glue [qqp] dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.3652
|
| 23 |
+
- Data Size: 1.0
|
| 24 |
+
- Epoch Runtime: 832.4869
|
| 25 |
+
- Accuracy: 0.8682
|
| 26 |
+
- F1 Macro: 0.8612
|
| 27 |
+
- Rouge1: 0.8682
|
| 28 |
+
- Rouge2: 0.0
|
| 29 |
+
- Rougel: 0.8682
|
| 30 |
+
- Rougelsum: 0.8682
|
| 31 |
+
|
| 32 |
+
## Model description
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Intended uses & limitations
|
| 37 |
+
|
| 38 |
+
More information needed
|
| 39 |
+
|
| 40 |
+
## Training and evaluation data
|
| 41 |
+
|
| 42 |
+
More information needed
|
| 43 |
+
|
| 44 |
+
## Training procedure
|
| 45 |
+
|
| 46 |
+
### Training hyperparameters
|
| 47 |
+
|
| 48 |
+
The following hyperparameters were used during training:
|
| 49 |
+
- learning_rate: 5e-05
|
| 50 |
+
- train_batch_size: 8
|
| 51 |
+
- eval_batch_size: 8
|
| 52 |
+
- seed: 42
|
| 53 |
+
- distributed_type: multi-GPU
|
| 54 |
+
- num_devices: 4
|
| 55 |
+
- total_train_batch_size: 32
|
| 56 |
+
- total_eval_batch_size: 32
|
| 57 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 58 |
+
- lr_scheduler_type: constant
|
| 59 |
+
- num_epochs: 50
|
| 60 |
+
|
| 61 |
+
### Training results
|
| 62 |
+
|
| 63 |
+
| Training Loss | Epoch | Step | Validation Loss | Data Size | Epoch Runtime | Accuracy | F1 Macro | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
| 64 |
+
|:-------------:|:-----:|:------:|:---------------:|:---------:|:-------------:|:--------:|:--------:|:------:|:------:|:------:|:---------:|
|
| 65 |
+
| No log | 0 | 0 | 0.6681 | 0 | 29.1760 | 0.6320 | 0.3872 | 0.6318 | 0.0 | 0.6319 | 0.6317 |
|
| 66 |
+
| 0.5973 | 1 | 11370 | 0.4370 | 0.0078 | 35.5348 | 0.7962 | 0.7842 | 0.7962 | 0.0 | 0.7963 | 0.7962 |
|
| 67 |
+
| 0.4472 | 2 | 22740 | 0.3972 | 0.0156 | 41.8248 | 0.8220 | 0.8086 | 0.8220 | 0.0 | 0.8221 | 0.8219 |
|
| 68 |
+
| 0.4068 | 3 | 34110 | 0.3755 | 0.0312 | 53.8164 | 0.8344 | 0.8172 | 0.8344 | 0.0 | 0.8345 | 0.8344 |
|
| 69 |
+
| 0.3627 | 4 | 45480 | 0.3833 | 0.0625 | 77.8531 | 0.8436 | 0.8278 | 0.8435 | 0.0 | 0.8435 | 0.8436 |
|
| 70 |
+
| 0.3309 | 5 | 56850 | 0.3324 | 0.125 | 128.4601 | 0.8548 | 0.8398 | 0.8547 | 0.0 | 0.8548 | 0.8548 |
|
| 71 |
+
| 0.3204 | 6 | 68220 | 0.3055 | 0.25 | 227.7489 | 0.8698 | 0.8624 | 0.8698 | 0.0 | 0.8698 | 0.8698 |
|
| 72 |
+
| 0.3086 | 7 | 79590 | 0.3167 | 0.5 | 434.9633 | 0.8594 | 0.8543 | 0.8595 | 0.0 | 0.8595 | 0.8595 |
|
| 73 |
+
| 0.3348 | 8.0 | 90960 | 0.3484 | 1.0 | 839.5986 | 0.8614 | 0.8554 | 0.8614 | 0.0 | 0.8615 | 0.8616 |
|
| 74 |
+
| 0.3537 | 9.0 | 102330 | 0.3340 | 1.0 | 830.1252 | 0.8582 | 0.8470 | 0.8582 | 0.0 | 0.8583 | 0.8583 |
|
| 75 |
+
| 0.2946 | 10.0 | 113700 | 0.3652 | 1.0 | 832.4869 | 0.8682 | 0.8612 | 0.8682 | 0.0 | 0.8682 | 0.8682 |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
### Framework versions
|
| 79 |
+
|
| 80 |
+
- Transformers 4.57.0
|
| 81 |
+
- Pytorch 2.8.0+cu128
|
| 82 |
+
- Datasets 4.3.0
|
| 83 |
+
- Tokenizers 0.22.1
|
config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"RobertaForSequenceClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"bos_token_id": 0,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"dtype": "float32",
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"hidden_act": "gelu",
|
| 11 |
+
"hidden_dropout_prob": 0.1,
|
| 12 |
+
"hidden_size": 768,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 3072,
|
| 15 |
+
"layer_norm_eps": 1e-05,
|
| 16 |
+
"max_position_embeddings": 514,
|
| 17 |
+
"model_type": "roberta",
|
| 18 |
+
"num_attention_heads": 12,
|
| 19 |
+
"num_hidden_layers": 12,
|
| 20 |
+
"pad_token_id": 1,
|
| 21 |
+
"position_embedding_type": "absolute",
|
| 22 |
+
"problem_type": "single_label_classification",
|
| 23 |
+
"transformers_version": "4.57.0",
|
| 24 |
+
"type_vocab_size": 1,
|
| 25 |
+
"use_cache": true,
|
| 26 |
+
"vocab_size": 50265
|
| 27 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa7b8be94b292d84503c57ca243e763055eb0f009099265581eb74eaa96bd697
|
| 3 |
+
size 498612824
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"cls_token": "<s>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": {
|
| 6 |
+
"content": "<mask>",
|
| 7 |
+
"lstrip": true,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false
|
| 11 |
+
},
|
| 12 |
+
"pad_token": "<pad>",
|
| 13 |
+
"sep_token": "</s>",
|
| 14 |
+
"unk_token": "<unk>"
|
| 15 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<s>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<pad>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": true,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": true,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<unk>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": true,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"50264": {
|
| 37 |
+
"content": "<mask>",
|
| 38 |
+
"lstrip": true,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"bos_token": "<s>",
|
| 46 |
+
"clean_up_tokenization_spaces": false,
|
| 47 |
+
"cls_token": "<s>",
|
| 48 |
+
"eos_token": "</s>",
|
| 49 |
+
"errors": "replace",
|
| 50 |
+
"extra_special_tokens": {},
|
| 51 |
+
"mask_token": "<mask>",
|
| 52 |
+
"model_max_length": 512,
|
| 53 |
+
"pad_token": "<pad>",
|
| 54 |
+
"sep_token": "</s>",
|
| 55 |
+
"tokenizer_class": "RobertaTokenizer",
|
| 56 |
+
"trim_offsets": true,
|
| 57 |
+
"unk_token": "<unk>"
|
| 58 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:385bfee9fa204595173d9a561a8d48f3b1c0cc25f396611bab7f748a686c3b9f
|
| 3 |
+
size 5969
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|