seanghay commited on
Commit
2ca3cf7
1 Parent(s): b612170

Upload FlaxWhisperForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +2 -2
  2. flax_model.msgpack +3 -0
  3. generation_config.json +15 -0
config.json CHANGED
@@ -4,7 +4,7 @@
4
  "activation_function": "gelu",
5
  "apply_spec_augment": false,
6
  "architectures": [
7
- "WhisperModel"
8
  ],
9
  "attention_dropout": 0.0,
10
  "begin_suppress_tokens": [
@@ -44,7 +44,7 @@
44
  "scale_embedding": false,
45
  "suppress_tokens": [],
46
  "torch_dtype": "float32",
47
- "transformers_version": "4.28.1",
48
  "use_cache": false,
49
  "use_weighted_layer_sum": false,
50
  "vocab_size": 51865
 
4
  "activation_function": "gelu",
5
  "apply_spec_augment": false,
6
  "architectures": [
7
+ "WhisperForConditionalGeneration"
8
  ],
9
  "attention_dropout": 0.0,
10
  "begin_suppress_tokens": [
 
44
  "scale_embedding": false,
45
  "suppress_tokens": [],
46
  "torch_dtype": "float32",
47
+ "transformers_version": "4.29.2",
48
  "use_cache": false,
49
  "use_weighted_layer_sum": false,
50
  "vocab_size": 51865
flax_model.msgpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efc99a237f0c551d2c4b64dc7b061a9dbe7cd64d22c38d4abff09633d6bd0e77
3
+ size 966956827
generation_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "begin_suppress_tokens": [
4
+ 220,
5
+ 50257
6
+ ],
7
+ "bos_token_id": 50257,
8
+ "decoder_start_token_id": 50258,
9
+ "eos_token_id": 50257,
10
+ "max_length": 448,
11
+ "pad_token_id": 50257,
12
+ "suppress_tokens": [],
13
+ "transformers_version": "4.29.2",
14
+ "use_cache": false
15
+ }