eustlb HF staff commited on
Commit
b2d1c98
·
verified ·
1 Parent(s): 3ab5772

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -1,20 +1,32 @@
1
  {
 
2
  "architectures": [
3
- "MoonshineModel"
4
  ],
5
- "auto_map": {
6
- "AutoConfig": "configuration_moonshine.MoonshineConfig",
7
- "AutoModelForSpeechSeq2Seq": "modeling_moonshine.MoonshineModel"
8
- },
9
- "dec_depth": 8,
10
- "dec_ff_swiglu": true,
11
- "dec_voc_size": 32768,
12
- "dim": 416,
13
- "enc_depth": 8,
14
- "enc_ff_swiglu": false,
15
- "inner_dim": 416,
 
 
 
 
 
 
 
16
  "model_type": "moonshine",
17
- "n_head": 8,
 
 
18
  "torch_dtype": "float32",
19
- "transformers_version": "4.46.1"
 
 
20
  }
 
1
  {
2
+ "_name_or_path": "/home/eustache_lebihan/dev/add-moonshine/moonshine-base",
3
  "architectures": [
4
+ "MoonshineForConditionalGeneration"
5
  ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "decoder_hidden_act": "silu",
10
+ "decoder_num_attention_heads": 8,
11
+ "decoder_num_hidden_layers": 8,
12
+ "decoder_num_key_value_heads": 8,
13
+ "decoder_start_token_id": 1,
14
+ "encoder_hidden_act": "gelu",
15
+ "encoder_num_attention_heads": 8,
16
+ "encoder_num_hidden_layers": 8,
17
+ "encoder_num_key_value_heads": 8,
18
+ "eos_token_id": 2,
19
+ "hidden_size": 416,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 1664,
22
+ "is_encoder_decoder": true,
23
+ "max_position_embeddings": 512,
24
  "model_type": "moonshine",
25
+ "partial_rotary_factor": 0.62,
26
+ "rope_scaling": null,
27
+ "rope_theta": 10000.0,
28
  "torch_dtype": "float32",
29
+ "transformers_version": "4.48.0.dev0",
30
+ "use_cache": true,
31
+ "vocab_size": 32768
32
  }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "decoder_start_token_id": 1,
5
+ "eos_token_id": 2,
6
+ "transformers_version": "4.48.0.dev0"
7
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:34a96dca0b71860f98e3f07d30e0fbea17bbce5529eebab32f8c7aff262622b4
3
- size 411541680
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e020c79d0a979a7ec099f718ff1cd2f19e92aead230d69654bca5975a8e1b862
3
+ size 246079928
preprocessor_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": false,
3
+ "feature_extractor_type": "Wav2Vec2FeatureExtractor",
4
+ "feature_size": 1,
5
+ "padding_side": "right",
6
+ "padding_value": 0.0,
7
+ "return_attention_mask": true,
8
+ "sampling_rate": 16000
9
+ }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff