Upload folder using huggingface_hub
#1
by
eustlb
HF staff
- opened
- config.json +25 -14
- generation_config.json +7 -0
- model.safetensors +2 -2
- preprocessor_config.json +9 -0
- tokenizer.json +0 -0
config.json
CHANGED
@@ -1,20 +1,31 @@
|
|
1 |
{
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
-
"
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
"model_type": "moonshine",
|
17 |
-
"
|
|
|
|
|
18 |
"torch_dtype": "float32",
|
19 |
-
"transformers_version": "4.
|
|
|
|
|
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:
|
3 |
-
size
|
|
|
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
|
|