fidoriel commited on
Commit
f39bb08
·
verified ·
1 Parent(s): 49e378f

upload checkpoint

Browse files
README.md CHANGED
@@ -1,3 +1,21 @@
1
- ---
2
- license: cc-by-nc-sa-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ language:
4
+ - de
5
+ library_name: transformers
6
+ pipeline_tag: automatic-speech-recognition
7
+ base_model:
8
+ - UsefulSensors/moonshine-tiny
9
+ ---
10
+ # Moonshine
11
+
12
+ This is a, to German, transfer learned moonshine tiny based on the English [UsefulSensors/moonshine-tiny](https://huggingface.co/UsefulSensors/moonshine-tiny)
13
+ The new weights in this repository are licensed under [Attribution-NonCommercial-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-nc-sa/4.0/).
14
+
15
+ Original Inference Code: https://github.com/moonshine-ai/moonshine
16
+ ONNX Rust Port: https://github.com/fidoriel/moonshine_onnx_rs
17
+
18
+ ## Eval
19
+ Evaluation on Common Voice test split (https://huggingface.co/datasets/fidoriel/cv-22-de)
20
+ WER: 0.114
21
+ CER: 0.042
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MoonshineForConditionalGeneration"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "pad_token_id": 2,
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": 194,
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
+ "pad_head_dim_to_multiple_of": 8
33
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "decoder_start_token_id": 1,
5
+ "pad_token_id": 2,
6
+ "eos_token_id": 2,
7
+ "transformers_version": "4.48.0.dev0",
8
+ "max_length": 194
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9eb2859f8fec545f3f17d04e4b9fe9ba2e4e1b60da6e3e7737172fb82b709bf
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