Upload folder using huggingface_hub

#1
by eustlb HF staff - opened
config.json CHANGED
@@ -1,20 +1,31 @@
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
  "architectures": [
3
+ "MoonshineForConditionalGeneration"
4
  ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "decoder_hidden_act": "silu",
9
+ "decoder_num_attention_heads": 8,
10
+ "decoder_num_hidden_layers": 8,
11
+ "decoder_num_key_value_heads": 8,
12
+ "decoder_start_token_id": 1,
13
+ "encoder_hidden_act": "gelu",
14
+ "encoder_num_attention_heads": 8,
15
+ "encoder_num_hidden_layers": 8,
16
+ "encoder_num_key_value_heads": 8,
17
+ "eos_token_id": 2,
18
+ "hidden_size": 416,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 1664,
21
+ "is_encoder_decoder": true,
22
+ "max_position_embeddings": 512,
23
  "model_type": "moonshine",
24
+ "partial_rotary_factor": 0.62,
25
+ "rope_scaling": null,
26
+ "rope_theta": 10000.0,
27
  "torch_dtype": "float32",
28
+ "transformers_version": "4.48.0.dev0",
29
+ "use_cache": true,
30
+ "vocab_size": 32768
31
  }
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