w11wo commited on
Commit
c545b64
1 Parent(s): 478edaf

Upload T5ForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +2 -1
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/home/patrick/hugging_face/t5/t5-v1_1-base",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
@@ -25,6 +25,7 @@
25
  "relative_attention_max_distance": 128,
26
  "relative_attention_num_buckets": 32,
27
  "tie_word_embeddings": false,
 
28
  "transformers_version": "4.37.2",
29
  "use_cache": true,
30
  "vocab_size": 32128
 
1
  {
2
+ "_name_or_path": "./",
3
  "architectures": [
4
  "T5ForConditionalGeneration"
5
  ],
 
25
  "relative_attention_max_distance": 128,
26
  "relative_attention_num_buckets": 32,
27
  "tie_word_embeddings": false,
28
+ "torch_dtype": "float32",
29
  "transformers_version": "4.37.2",
30
  "use_cache": true,
31
  "vocab_size": 32128
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": "4.37.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f020dc688912f016b0427d889f1b4c737957e78ae53ae76135d3d066f5cf4551
3
+ size 990345064