farelzii commited on
Commit
f37bcd7
1 Parent(s): 9cf4d47

Upload Model

Browse files
model/config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "pszemraj/flan-t5-large-grammar-synthesis",
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
5
+ ],
6
+ "classifier_dropout": 0.0,
7
+ "d_ff": 2816,
8
+ "d_kv": 64,
9
+ "d_model": 1024,
10
+ "decoder_start_token_id": 0,
11
+ "dense_act_fn": "gelu",
12
+ "dropout_rate": 0.1,
13
+ "eos_token_id": 1,
14
+ "feed_forward_proj": "gelu",
15
+ "initializer_factor": 1.0,
16
+ "is_encoder_decoder": true,
17
+ "is_gated_act": true,
18
+ "layer_norm_epsilon": 1e-06,
19
+ "max_length": 512,
20
+ "min_length": 8,
21
+ "model_type": "t5",
22
+ "n_positions": 512,
23
+ "no_repeat_ngram_size": 4,
24
+ "num_beams": 2,
25
+ "num_decoder_layers": 24,
26
+ "num_heads": 16,
27
+ "num_layers": 24,
28
+ "output_past": true,
29
+ "pad_token_id": 0,
30
+ "relative_attention_max_distance": 128,
31
+ "relative_attention_num_buckets": 32,
32
+ "tie_word_embeddings": false,
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.41.2",
35
+ "use_cache": true,
36
+ "vocab_size": 32128
37
+ }
model/generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "max_length": 512,
6
+ "min_length": 8,
7
+ "no_repeat_ngram_size": 4,
8
+ "num_beams": 2,
9
+ "pad_token_id": 0,
10
+ "transformers_version": "4.41.2"
11
+ }
model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb2a429f3af36ee5d91f13966cf62dbb650f88e3fec023eb6d0c05e7500f0130
3
+ size 3132668808