minimindy commited on
Commit
d01e6ff
1 Parent(s): c919762

my-t5-model

Browse files
Files changed (4) hide show
  1. README.md +46 -0
  2. config.json +80 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ model-index:
5
+ - name: t5_model_hf
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
+ should probably proofread and complete it, then remove this comment. -->
11
+
12
+ # t5_model_hf
13
+
14
+ This model was trained from scratch on an unknown dataset.
15
+
16
+ ## Model description
17
+
18
+ More information needed
19
+
20
+ ## Intended uses & limitations
21
+
22
+ More information needed
23
+
24
+ ## Training and evaluation data
25
+
26
+ More information needed
27
+
28
+ ## Training procedure
29
+
30
+ ### Training hyperparameters
31
+
32
+ The following hyperparameters were used during training:
33
+ - learning_rate: 5e-05
34
+ - train_batch_size: 8
35
+ - eval_batch_size: 8
36
+ - seed: 42
37
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
38
+ - lr_scheduler_type: linear
39
+ - num_epochs: 3
40
+
41
+ ### Framework versions
42
+
43
+ - Transformers 4.35.2
44
+ - Pytorch 2.1.0+cu121
45
+ - Datasets 2.15.0
46
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./t5_model",
3
+ "architectures": [
4
+ "T5ForSequenceClassification"
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
+ "id2label": {
16
+ "0": "LABEL_0",
17
+ "1": "LABEL_1",
18
+ "2": "LABEL_2",
19
+ "3": "LABEL_3",
20
+ "4": "LABEL_4",
21
+ "5": "LABEL_5",
22
+ "6": "LABEL_6"
23
+ },
24
+ "initializer_factor": 1.0,
25
+ "is_encoder_decoder": true,
26
+ "is_gated_act": false,
27
+ "label2id": {
28
+ "LABEL_0": 0,
29
+ "LABEL_1": 1,
30
+ "LABEL_2": 2,
31
+ "LABEL_3": 3,
32
+ "LABEL_4": 4,
33
+ "LABEL_5": 5,
34
+ "LABEL_6": 6
35
+ },
36
+ "layer_norm_epsilon": 1e-06,
37
+ "model_type": "t5",
38
+ "n_positions": 512,
39
+ "num_decoder_layers": 12,
40
+ "num_heads": 12,
41
+ "num_layers": 12,
42
+ "output_past": true,
43
+ "pad_token_id": 0,
44
+ "problem_type": "single_label_classification",
45
+ "relative_attention_max_distance": 128,
46
+ "relative_attention_num_buckets": 32,
47
+ "task_specific_params": {
48
+ "summarization": {
49
+ "early_stopping": true,
50
+ "length_penalty": 2.0,
51
+ "max_length": 200,
52
+ "min_length": 30,
53
+ "no_repeat_ngram_size": 3,
54
+ "num_beams": 4,
55
+ "prefix": "summarize: "
56
+ },
57
+ "translation_en_to_de": {
58
+ "early_stopping": true,
59
+ "max_length": 300,
60
+ "num_beams": 4,
61
+ "prefix": "translate English to German: "
62
+ },
63
+ "translation_en_to_fr": {
64
+ "early_stopping": true,
65
+ "max_length": 300,
66
+ "num_beams": 4,
67
+ "prefix": "translate English to French: "
68
+ },
69
+ "translation_en_to_ro": {
70
+ "early_stopping": true,
71
+ "max_length": 300,
72
+ "num_beams": 4,
73
+ "prefix": "translate English to Romanian: "
74
+ }
75
+ },
76
+ "torch_dtype": "float32",
77
+ "transformers_version": "4.35.2",
78
+ "use_cache": true,
79
+ "vocab_size": 32128
80
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e02b02f649ef01c004687799a176a1d648fcba695620972b622e9aaaaa935454
3
+ size 894032092
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a978868c299f49dbbbd706871b0c888e97906c11812b7f9ed49233eb2796a3ab
3
+ size 4536