llwisd commited on
Commit
6343d83
1 Parent(s): 83949d2

llewisd/vit5

Browse files
Files changed (5) hide show
  1. README.md +5 -3
  2. config.json +22 -27
  3. generation_config.json +3 -5
  4. model.safetensors +2 -2
  5. training_args.bin +1 -1
README.md CHANGED
@@ -1,5 +1,6 @@
1
  ---
2
- base_model: vinai/bartpho-word-base
 
3
  tags:
4
  - generated_from_trainer
5
  model-index:
@@ -12,7 +13,7 @@ should probably proofread and complete it, then remove this comment. -->
12
 
13
  # tmp
14
 
15
- This model is a fine-tuned version of [vinai/bartpho-word-base](https://huggingface.co/vinai/bartpho-word-base) on the None dataset.
16
 
17
  ## Model description
18
 
@@ -38,7 +39,8 @@ The following hyperparameters were used during training:
38
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
39
  - lr_scheduler_type: linear
40
  - lr_scheduler_warmup_ratio: 0.05
41
- - num_epochs: 5
 
42
 
43
  ### Training results
44
 
 
1
  ---
2
+ license: mit
3
+ base_model: VietAI/vit5-base-vietnews-summarization
4
  tags:
5
  - generated_from_trainer
6
  model-index:
 
13
 
14
  # tmp
15
 
16
+ This model is a fine-tuned version of [VietAI/vit5-base-vietnews-summarization](https://huggingface.co/VietAI/vit5-base-vietnews-summarization) on the None dataset.
17
 
18
  ## Model description
19
 
 
39
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
40
  - lr_scheduler_type: linear
41
  - lr_scheduler_warmup_ratio: 0.05
42
+ - num_epochs: 3
43
+ - mixed_precision_training: Native AMP
44
 
45
  ### Training results
46
 
config.json CHANGED
@@ -1,37 +1,32 @@
1
  {
2
- "_name_or_path": "vinai/bartpho-word-base",
3
- "activation_dropout": 0.0,
4
- "activation_function": "gelu",
5
  "architectures": [
6
- "MBartForConditionalGeneration"
7
  ],
8
- "attention_dropout": 0.0,
9
- "bos_token_id": 0,
10
  "classifier_dropout": 0.0,
 
 
11
  "d_model": 768,
12
- "decoder_attention_heads": 12,
13
- "decoder_ffn_dim": 3072,
14
- "decoder_layerdrop": 0.0,
15
- "decoder_layers": 6,
16
- "decoder_start_token_id": 2,
17
- "dropout": 0.1,
18
- "encoder_attention_heads": 12,
19
- "encoder_ffn_dim": 3072,
20
- "encoder_layerdrop": 0.0,
21
- "encoder_layers": 6,
22
- "eos_token_id": 2,
23
- "forced_eos_token_id": 2,
24
- "gradient_checkpointing": false,
25
- "init_std": 0.02,
26
  "is_encoder_decoder": true,
27
- "max_position_embeddings": 1024,
28
- "model_type": "mbart",
29
- "num_hidden_layers": 6,
30
- "pad_token_id": 1,
31
- "scale_embedding": false,
32
- "tokenizer_class": "PhobertTokenizer",
 
 
 
 
 
33
  "torch_dtype": "float32",
34
  "transformers_version": "4.35.2",
35
  "use_cache": true,
36
- "vocab_size": 64001
37
  }
 
1
  {
2
+ "_name_or_path": "VietAI/vit5-base-vietnews-summarization",
 
 
3
  "architectures": [
4
+ "T5ForConditionalGeneration"
5
  ],
 
 
6
  "classifier_dropout": 0.0,
7
+ "d_ff": 3072,
8
+ "d_kv": 64,
9
  "d_model": 768,
10
+ "decoder_start_token_id": 0,
11
+ "dense_act_fn": "relu",
12
+ "dropout_rate": 0.1,
13
+ "eos_token_id": 1,
14
+ "feed_forward_proj": "relu",
15
+ "initializer_factor": 1.0,
 
 
 
 
 
 
 
 
16
  "is_encoder_decoder": true,
17
+ "is_gated_act": false,
18
+ "layer_norm_epsilon": 1e-06,
19
+ "model_type": "t5",
20
+ "n_positions": 512,
21
+ "num_decoder_layers": 12,
22
+ "num_heads": 12,
23
+ "num_layers": 12,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
+ "relative_attention_max_distance": 128,
27
+ "relative_attention_num_buckets": 32,
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.35.2",
30
  "use_cache": true,
31
+ "vocab_size": 36096
32
  }
generation_config.json CHANGED
@@ -1,9 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 0,
4
- "decoder_start_token_id": 2,
5
- "eos_token_id": 2,
6
- "forced_eos_token_id": 2,
7
- "pad_token_id": 1,
8
  "transformers_version": "4.35.2"
9
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
 
 
6
  "transformers_version": "4.35.2"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e560b2b5ebe6a8c06bf1d815e8d13096b384133ce7ce8c1ff6eff787875662a8
3
- size 600177236
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d208c1fc924f82c080bfff1dfa5ee0387e01150e25d889c5bd0ba4fa7154262
3
+ size 903834408
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2cfb234cb7e301fa702998d7b672b840a2f2a022b3a4d3d02d3d0dce9f485b3f
3
  size 4664
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea59f137a2734cf3ad19d146f56684d116e614a4f9fcb3527838480f4d9c7de9
3
  size 4664