Upload folder using huggingface_hub
#5
by
eustlb
HF staff
- opened
- config.json +32 -0
- generation_config.json +7 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- tokenizer.json +0 -0
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/eustache_lebihan/dev/add-moonshine/moonshine-tiny",
|
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": 6,
|
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": 6,
|
17 |
+
"encoder_num_key_value_heads": 8,
|
18 |
+
"eos_token_id": 2,
|
19 |
+
"hidden_size": 288,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 1152,
|
22 |
+
"is_encoder_decoder": true,
|
23 |
+
"max_position_embeddings": 512,
|
24 |
+
"model_type": "moonshine",
|
25 |
+
"partial_rotary_factor": 0.9,
|
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
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:867cd2215804859c55aa972d740bd5002be149b4e7526328c895d2408848c736
|
3 |
+
size 108389192
|
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
ADDED
The diff for this file is too large to render.
See raw diff
|
|