tapt_helpfulness_seq_bn_pretraining_model_full_train
Browse files- README.md +78 -0
- default/head_config.json +19 -0
- default/pytorch_model_head.bin +3 -0
- runs/Apr20_08-00-39_ea01de983f1c/events.out.tfevents.1713600064.ea01de983f1c.331.0 +2 -2
- tapt_seq_bn/adapter_config.json +41 -0
- tapt_seq_bn/head_config.json +19 -0
- tapt_seq_bn/pytorch_adapter.bin +3 -0
- tapt_seq_bn/pytorch_model_head.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: roberta-base
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
model-index:
|
| 7 |
+
- name: tapt_helpfulness_seq_bn_pretraining_model_full_train
|
| 8 |
+
results: []
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
+
|
| 14 |
+
# tapt_helpfulness_seq_bn_pretraining_model_full_train
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 1.4917
|
| 19 |
+
|
| 20 |
+
## Model description
|
| 21 |
+
|
| 22 |
+
More information needed
|
| 23 |
+
|
| 24 |
+
## Intended uses & limitations
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Training and evaluation data
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training procedure
|
| 33 |
+
|
| 34 |
+
### Training hyperparameters
|
| 35 |
+
|
| 36 |
+
The following hyperparameters were used during training:
|
| 37 |
+
- learning_rate: 0.0001
|
| 38 |
+
- train_batch_size: 21
|
| 39 |
+
- eval_batch_size: 21
|
| 40 |
+
- seed: 42
|
| 41 |
+
- gradient_accumulation_steps: 2
|
| 42 |
+
- total_train_batch_size: 42
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.98) and epsilon=1e-06
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- num_epochs: 20
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
| 51 |
+
| 2.746 | 1.0 | 1068 | 1.8309 |
|
| 52 |
+
| 1.8701 | 2.0 | 2137 | 1.6877 |
|
| 53 |
+
| 1.7711 | 3.0 | 3205 | 1.6275 |
|
| 54 |
+
| 1.7178 | 4.0 | 4274 | 1.5909 |
|
| 55 |
+
| 1.6876 | 5.0 | 5342 | 1.5788 |
|
| 56 |
+
| 1.6638 | 6.0 | 6411 | 1.5636 |
|
| 57 |
+
| 1.6526 | 7.0 | 7479 | 1.5344 |
|
| 58 |
+
| 1.6357 | 8.0 | 8548 | 1.5402 |
|
| 59 |
+
| 1.626 | 9.0 | 9616 | 1.5097 |
|
| 60 |
+
| 1.6144 | 10.0 | 10685 | 1.5111 |
|
| 61 |
+
| 1.611 | 11.0 | 11753 | 1.5248 |
|
| 62 |
+
| 1.603 | 12.0 | 12822 | 1.4989 |
|
| 63 |
+
| 1.6003 | 13.0 | 13890 | 1.5071 |
|
| 64 |
+
| 1.5915 | 14.0 | 14959 | 1.4807 |
|
| 65 |
+
| 1.5893 | 15.0 | 16027 | 1.4892 |
|
| 66 |
+
| 1.5857 | 16.0 | 17096 | 1.4794 |
|
| 67 |
+
| 1.5839 | 17.0 | 18164 | 1.4893 |
|
| 68 |
+
| 1.5806 | 18.0 | 19233 | 1.4787 |
|
| 69 |
+
| 1.5808 | 19.0 | 20301 | 1.4872 |
|
| 70 |
+
| 1.5781 | 19.99 | 21360 | 1.4917 |
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
### Framework versions
|
| 74 |
+
|
| 75 |
+
- Transformers 4.36.2
|
| 76 |
+
- Pytorch 2.2.1+cu121
|
| 77 |
+
- Datasets 2.19.0
|
| 78 |
+
- Tokenizers 0.15.2
|
default/head_config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"activation_function": "gelu",
|
| 4 |
+
"bias": true,
|
| 5 |
+
"embedding_size": 768,
|
| 6 |
+
"head_type": "masked_lm",
|
| 7 |
+
"label2id": null,
|
| 8 |
+
"layer_norm": true,
|
| 9 |
+
"layers": 2,
|
| 10 |
+
"shift_labels": false,
|
| 11 |
+
"vocab_size": 50265
|
| 12 |
+
},
|
| 13 |
+
"hidden_size": 768,
|
| 14 |
+
"model_class": "RobertaAdapterModel",
|
| 15 |
+
"model_name": "roberta-base",
|
| 16 |
+
"model_type": "roberta",
|
| 17 |
+
"name": "default",
|
| 18 |
+
"version": "0.1.2"
|
| 19 |
+
}
|
default/pytorch_model_head.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bdff7928366b173ef2d74fcdf04581a7c98c13c3bd11623203f922ffcc7248c5
|
| 3 |
+
size 156986358
|
runs/Apr20_08-00-39_ea01de983f1c/events.out.tfevents.1713600064.ea01de983f1c.331.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34aa44f000d152982ba70f2d2a11348aea6a19f990fe438c32a20c99fbd60553
|
| 3 |
+
size 14051
|
tapt_seq_bn/adapter_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"adapter_residual_before_ln": false,
|
| 4 |
+
"cross_adapter": false,
|
| 5 |
+
"factorized_phm_W": true,
|
| 6 |
+
"factorized_phm_rule": false,
|
| 7 |
+
"hypercomplex_nonlinearity": "glorot-uniform",
|
| 8 |
+
"init_weights": "bert",
|
| 9 |
+
"inv_adapter": null,
|
| 10 |
+
"inv_adapter_reduction_factor": null,
|
| 11 |
+
"is_parallel": false,
|
| 12 |
+
"learn_phm": true,
|
| 13 |
+
"leave_out": [],
|
| 14 |
+
"ln_after": false,
|
| 15 |
+
"ln_before": false,
|
| 16 |
+
"mh_adapter": false,
|
| 17 |
+
"non_linearity": "relu",
|
| 18 |
+
"original_ln_after": true,
|
| 19 |
+
"original_ln_before": true,
|
| 20 |
+
"output_adapter": true,
|
| 21 |
+
"phm_bias": true,
|
| 22 |
+
"phm_c_init": "normal",
|
| 23 |
+
"phm_dim": 4,
|
| 24 |
+
"phm_init_range": 0.0001,
|
| 25 |
+
"phm_layer": false,
|
| 26 |
+
"phm_rank": 1,
|
| 27 |
+
"reduction_factor": 16,
|
| 28 |
+
"residual_before_ln": true,
|
| 29 |
+
"scaling": 1.0,
|
| 30 |
+
"shared_W_phm": false,
|
| 31 |
+
"shared_phm_rule": true,
|
| 32 |
+
"use_gating": false
|
| 33 |
+
},
|
| 34 |
+
"config_id": "9076f36a74755ac4",
|
| 35 |
+
"hidden_size": 768,
|
| 36 |
+
"model_class": "RobertaAdapterModel",
|
| 37 |
+
"model_name": "roberta-base",
|
| 38 |
+
"model_type": "roberta",
|
| 39 |
+
"name": "tapt_seq_bn",
|
| 40 |
+
"version": "0.1.2"
|
| 41 |
+
}
|
tapt_seq_bn/head_config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"activation_function": "gelu",
|
| 4 |
+
"bias": true,
|
| 5 |
+
"embedding_size": 768,
|
| 6 |
+
"head_type": "masked_lm",
|
| 7 |
+
"label2id": null,
|
| 8 |
+
"layer_norm": true,
|
| 9 |
+
"layers": 2,
|
| 10 |
+
"shift_labels": false,
|
| 11 |
+
"vocab_size": 50265
|
| 12 |
+
},
|
| 13 |
+
"hidden_size": 768,
|
| 14 |
+
"model_class": "RobertaAdapterModel",
|
| 15 |
+
"model_name": "roberta-base",
|
| 16 |
+
"model_type": "roberta",
|
| 17 |
+
"name": "tapt_seq_bn",
|
| 18 |
+
"version": "0.1.2"
|
| 19 |
+
}
|
tapt_seq_bn/pytorch_adapter.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbb07b225312caf229bb05609beadcd15ceada2ba95a20b1a5fb91344d79062e
|
| 3 |
+
size 3595878
|
tapt_seq_bn/pytorch_model_head.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b266dd75adb34eb35c51c73f6f2794af71c5e12ade24ea5bd1483d2c7b914e8
|
| 3 |
+
size 156986358
|