Ai_model_audio
#1
by safeer-ch - opened
- README.md +3 -1
- config.json +0 -129
- model.safetensors +0 -3
- preprocessor_config.json +0 -13
README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
|
@@ -54,7 +56,7 @@ NeuCodec is largely based on extending the work of [X-Codec2.0](https://huggingf
|
|
| 54 |
- **Model type:** Neural Audio Codec
|
| 55 |
- **License:** apache-2.0
|
| 56 |
- **Repository:** https://github.com/neuphonic/neucodec
|
| 57 |
-
- **Paper:**
|
| 58 |
- **Pre-encoded Datasets:**
|
| 59 |
- [Emilia-YODAS-EN](https://huggingface.co/datasets/neuphonic/emilia-yodas-english-neucodec)
|
| 60 |
- *More coming soon!*
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
---
|
| 4 |
license: apache-2.0
|
| 5 |
tags:
|
|
|
|
| 56 |
- **Model type:** Neural Audio Codec
|
| 57 |
- **License:** apache-2.0
|
| 58 |
- **Repository:** https://github.com/neuphonic/neucodec
|
| 59 |
+
- **Paper:** *Coming soon!*
|
| 60 |
- **Pre-encoded Datasets:**
|
| 61 |
- [Emilia-YODAS-EN](https://huggingface.co/datasets/neuphonic/emilia-yodas-english-neucodec)
|
| 62 |
- *More coming soon!*
|
config.json
DELETED
|
@@ -1,129 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"activation_dropout": 0.1,
|
| 3 |
-
"architectures": [
|
| 4 |
-
"NeuCodecModel"
|
| 5 |
-
],
|
| 6 |
-
"attention_bias": false,
|
| 7 |
-
"attention_dropout": 0.0,
|
| 8 |
-
"downsampling_ratios": [
|
| 9 |
-
2,
|
| 10 |
-
2,
|
| 11 |
-
4,
|
| 12 |
-
4,
|
| 13 |
-
5
|
| 14 |
-
],
|
| 15 |
-
"dtype": "float32",
|
| 16 |
-
"encoder_hidden_size": 48,
|
| 17 |
-
"head_dim": 64,
|
| 18 |
-
"hidden_act": "silu",
|
| 19 |
-
"hidden_size": 1024,
|
| 20 |
-
"initializer_range": 0.02,
|
| 21 |
-
"intermediate_size": 4096,
|
| 22 |
-
"max_position_embeddings": 4096,
|
| 23 |
-
"model_type": "neucodec",
|
| 24 |
-
"num_attention_heads": 16,
|
| 25 |
-
"num_hidden_layers": 12,
|
| 26 |
-
"num_key_value_heads": 16,
|
| 27 |
-
"output_sampling_rate": 24000,
|
| 28 |
-
"pad_token_id": null,
|
| 29 |
-
"quantization_dim": 2048,
|
| 30 |
-
"quantization_levels": [
|
| 31 |
-
4,
|
| 32 |
-
4,
|
| 33 |
-
4,
|
| 34 |
-
4,
|
| 35 |
-
4,
|
| 36 |
-
4,
|
| 37 |
-
4,
|
| 38 |
-
4
|
| 39 |
-
],
|
| 40 |
-
"rms_norm_eps": 1e-06,
|
| 41 |
-
"rope_parameters": {
|
| 42 |
-
"rope_theta": 10000.0,
|
| 43 |
-
"rope_type": "default"
|
| 44 |
-
},
|
| 45 |
-
"sampling_rate": 16000,
|
| 46 |
-
"semantic_model_config": {
|
| 47 |
-
"_name_or_path": "facebook/w2v-bert-2.0",
|
| 48 |
-
"activation_dropout": 0.0,
|
| 49 |
-
"adapter_act": "relu",
|
| 50 |
-
"adapter_kernel_size": 3,
|
| 51 |
-
"adapter_stride": 2,
|
| 52 |
-
"add_adapter": false,
|
| 53 |
-
"apply_spec_augment": false,
|
| 54 |
-
"architectures": [
|
| 55 |
-
"Wav2Vec2BertModel"
|
| 56 |
-
],
|
| 57 |
-
"attention_dropout": 0.0,
|
| 58 |
-
"bos_token_id": 1,
|
| 59 |
-
"classifier_proj_size": 768,
|
| 60 |
-
"codevector_dim": 768,
|
| 61 |
-
"conformer_conv_dropout": 0.1,
|
| 62 |
-
"contrastive_logits_temperature": 0.1,
|
| 63 |
-
"conv_depthwise_kernel_size": 31,
|
| 64 |
-
"ctc_loss_reduction": "sum",
|
| 65 |
-
"ctc_zero_infinity": false,
|
| 66 |
-
"diversity_loss_weight": 0.1,
|
| 67 |
-
"dtype": "float32",
|
| 68 |
-
"eos_token_id": 2,
|
| 69 |
-
"feat_proj_dropout": 0.0,
|
| 70 |
-
"feat_quantizer_dropout": 0.0,
|
| 71 |
-
"feature_projection_input_dim": 160,
|
| 72 |
-
"final_dropout": 0.1,
|
| 73 |
-
"hidden_act": "swish",
|
| 74 |
-
"hidden_dropout": 0.0,
|
| 75 |
-
"hidden_size": 1024,
|
| 76 |
-
"initializer_range": 0.02,
|
| 77 |
-
"intermediate_size": 4096,
|
| 78 |
-
"layer_norm_eps": 1e-05,
|
| 79 |
-
"layerdrop": 0.1,
|
| 80 |
-
"left_max_position_embeddings": 64,
|
| 81 |
-
"mask_feature_length": 10,
|
| 82 |
-
"mask_feature_min_masks": 0,
|
| 83 |
-
"mask_feature_prob": 0.0,
|
| 84 |
-
"mask_time_length": 10,
|
| 85 |
-
"mask_time_min_masks": 2,
|
| 86 |
-
"mask_time_prob": 0.05,
|
| 87 |
-
"max_source_positions": 5000,
|
| 88 |
-
"model_type": "wav2vec2-bert",
|
| 89 |
-
"num_adapter_layers": 1,
|
| 90 |
-
"num_attention_heads": 16,
|
| 91 |
-
"num_codevector_groups": 2,
|
| 92 |
-
"num_codevectors_per_group": 320,
|
| 93 |
-
"num_hidden_layers": 16,
|
| 94 |
-
"num_negatives": 100,
|
| 95 |
-
"output_hidden_size": 1024,
|
| 96 |
-
"pad_token_id": 0,
|
| 97 |
-
"position_embeddings_type": "relative_key",
|
| 98 |
-
"proj_codevector_dim": 768,
|
| 99 |
-
"right_max_position_embeddings": 8,
|
| 100 |
-
"rotary_embedding_base": 10000,
|
| 101 |
-
"tdnn_dilation": [
|
| 102 |
-
1,
|
| 103 |
-
2,
|
| 104 |
-
3,
|
| 105 |
-
1,
|
| 106 |
-
1
|
| 107 |
-
],
|
| 108 |
-
"tdnn_dim": [
|
| 109 |
-
512,
|
| 110 |
-
512,
|
| 111 |
-
512,
|
| 112 |
-
512,
|
| 113 |
-
1500
|
| 114 |
-
],
|
| 115 |
-
"tdnn_kernel": [
|
| 116 |
-
5,
|
| 117 |
-
3,
|
| 118 |
-
3,
|
| 119 |
-
1,
|
| 120 |
-
1
|
| 121 |
-
],
|
| 122 |
-
"use_intermediate_ffn_before_adapter": false,
|
| 123 |
-
"use_weighted_layer_sum": false,
|
| 124 |
-
"vocab_size": null,
|
| 125 |
-
"xvector_output_dim": 512
|
| 126 |
-
},
|
| 127 |
-
"tie_word_embeddings": false,
|
| 128 |
-
"transformers_version": "5.14.0.dev0"
|
| 129 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.safetensors
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c4ccda95a16eb6f3ab02aa574946b01870f16a4af0da6bdb5afaa962e4d9f0d9
|
| 3 |
-
size 2519855456
|
|
|
|
|
|
|
|
|
|
|
|
preprocessor_config.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"feature_extractor_type": "NeuCodecFeatureExtractor",
|
| 3 |
-
"feature_size": 80,
|
| 4 |
-
"frame_length": 400,
|
| 5 |
-
"frame_shift": 160,
|
| 6 |
-
"hop_length": 320,
|
| 7 |
-
"num_mel_bins": 80,
|
| 8 |
-
"padding_side": "right",
|
| 9 |
-
"padding_value": 1,
|
| 10 |
-
"return_attention_mask": true,
|
| 11 |
-
"sampling_rate": 16000,
|
| 12 |
-
"stride": 2
|
| 13 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|