Instructions to use driante/speech-decoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use driante/speech-decoder with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("driante/speech-decoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from driante/speech-decoder: direct link, hf CLI and curl.
- Browser
- Download file 494 Bytes
-
https://huggingface.co/driante/speech-decoder/resolve/main/config.json
- Command line
-
hf download hf://driante/speech-decoder/config.json
-
curl -L -o config.json https://huggingface.co/driante/speech-decoder/resolve/main/config.json
494 Bytes
| { | |
| "architectures": [ | |
| "SpeechDecoderModel" | |
| ], | |
| "backbone": "gru", | |
| "backbone_kwargs": { | |
| "bidirectional": false, | |
| "input_dropout": 0.2, | |
| "mlp_head": false, | |
| "n_layers": 5, | |
| "n_units": 768, | |
| "patch_size": 14, | |
| "patch_stride": 4, | |
| "rnn_dropout": 0.4 | |
| }, | |
| "dtype": "float32", | |
| "model_type": "neural-speech-decoder", | |
| "n_classes": 41, | |
| "n_days": 24, | |
| "n_phoneme_classes": 41, | |
| "neural_dim": 256, | |
| "prediction": "direct", | |
| "transformers_version": "5.5.3" | |
| } | |