vkatg commited on
Commit
aefc5fc
·
verified ·
1 Parent(s): 814d4ca

Upload 5 files

Browse files
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "T5ForConditionalGeneration"
4
+ ],
5
+ "classifier_dropout": 0.0,
6
+ "d_ff": 3072,
7
+ "d_kv": 64,
8
+ "d_model": 768,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "relu",
11
+ "dropout_rate": 0.1,
12
+ "dtype": "float32",
13
+ "eos_token_id": 1,
14
+ "feed_forward_proj": "relu",
15
+ "initializer_factor": 1.0,
16
+ "is_decoder": false,
17
+ "is_encoder_decoder": true,
18
+ "is_gated_act": false,
19
+ "layer_norm_epsilon": 1e-06,
20
+ "model_type": "t5",
21
+ "n_positions": 512,
22
+ "num_decoder_layers": 12,
23
+ "num_heads": 12,
24
+ "num_layers": 12,
25
+ "output_past": true,
26
+ "pad_token_id": 0,
27
+ "relative_attention_max_distance": 128,
28
+ "relative_attention_num_buckets": 32,
29
+ "scale_decoder_outputs": true,
30
+ "task_specific_params": {
31
+ "summarization": {
32
+ "early_stopping": true,
33
+ "length_penalty": 2.0,
34
+ "max_length": 200,
35
+ "min_length": 30,
36
+ "no_repeat_ngram_size": 3,
37
+ "num_beams": 4,
38
+ "prefix": "summarize: "
39
+ },
40
+ "translation_en_to_de": {
41
+ "early_stopping": true,
42
+ "max_length": 300,
43
+ "num_beams": 4,
44
+ "prefix": "translate English to German: "
45
+ },
46
+ "translation_en_to_fr": {
47
+ "early_stopping": true,
48
+ "max_length": 300,
49
+ "num_beams": 4,
50
+ "prefix": "translate English to French: "
51
+ },
52
+ "translation_en_to_ro": {
53
+ "early_stopping": true,
54
+ "max_length": 300,
55
+ "num_beams": 4,
56
+ "prefix": "translate English to Romanian: "
57
+ }
58
+ },
59
+ "tie_word_embeddings": true,
60
+ "transformers_version": "5.3.0",
61
+ "use_cache": true,
62
+ "vocab_size": 32116
63
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
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": "5.3.0"
7
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7f7025fd8e587ac20373fb073259094215d5296781387dc35dda0861597b6e9
3
- size 242041896
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c9f4a59cd4f58a314d91407863cf4bd9cc93b8ecb60a6f93811a056a296d9f8
3
+ size 891607848
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,6 +1,5 @@
1
  {
2
  "backend": "tokenizers",
3
- "clean_up_tokenization_spaces": true,
4
  "eos_token": "</s>",
5
  "extra_ids": 100,
6
  "extra_special_tokens": [
@@ -106,7 +105,7 @@
106
  "<extra_id_99>"
107
  ],
108
  "is_local": false,
109
- "model_max_length": 512,
110
  "pad_token": "<pad>",
111
  "tokenizer_class": "T5Tokenizer",
112
  "unk_token": "<unk>"
 
1
  {
2
  "backend": "tokenizers",
 
3
  "eos_token": "</s>",
4
  "extra_ids": 100,
5
  "extra_special_tokens": [
 
105
  "<extra_id_99>"
106
  ],
107
  "is_local": false,
108
+ "model_max_length": 1000000000000000019884624838656,
109
  "pad_token": "<pad>",
110
  "tokenizer_class": "T5Tokenizer",
111
  "unk_token": "<unk>"