Instructions to use xsingh/Voce-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Zonos
How to use xsingh/Voce-Mini with Zonos:
# pip install git+https://github.com/Zyphra/Zonos.git import torchaudio from zonos.model import Zonos from zonos.conditioning import make_cond_dict model = Zonos.from_pretrained("xsingh/Voce-Mini", device="cuda") wav, sr = torchaudio.load("speaker.wav") # 5-10s reference clip speaker = model.make_speaker_embedding(wav, sr) cond = make_cond_dict(text="Hello, world!", speaker=speaker, language="en-us") codes = model.generate(model.prepare_conditioning(cond)) audio = model.autoencoder.decode(codes)[0].cpu() torchaudio.save("sample.wav", audio, model.autoencoder.sampling_rate) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use xsingh/Voce-Mini with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf xsingh/Voce-Mini # Run inference directly in the terminal: llama cli -hf xsingh/Voce-Mini
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf xsingh/Voce-Mini # Run inference directly in the terminal: llama cli -hf xsingh/Voce-Mini
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf xsingh/Voce-Mini # Run inference directly in the terminal: ./build/bin/llama cli -hf xsingh/Voce-Mini
Use Docker
docker model run hf.co/xsingh/Voce-Mini
- Llama new
- LM Studio
- Jan
- Ollama
How to use xsingh/Voce-Mini with Ollama:
ollama run hf.co/xsingh/Voce-Mini
- Unsloth Desktop
- Docker Model Runner
How to use xsingh/Voce-Mini with Docker Model Runner:
docker model run hf.co/xsingh/Voce-Mini
- Lemonade
How to use xsingh/Voce-Mini with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull xsingh/Voce-Mini
Run and chat with the model
lemonade run user.Voce-Mini-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download autoencoder/teacher/config.json from xsingh/Voce-Mini: direct link, hf CLI and curl.
- Browser
- Download file 1.86 kB
-
https://huggingface.co/xsingh/Voce-Mini/resolve/main/autoencoder/teacher/config.json
- Command line
-
hf download hf://xsingh/Voce-Mini/autoencoder/teacher/config.json
-
curl -L -o config.json https://huggingface.co/xsingh/Voce-Mini/resolve/main/autoencoder/teacher/config.json
1.86 kB
| { | |
| "activation_dropout": 0.0, | |
| "adapter_act": "relu", | |
| "adapter_kernel_size": 3, | |
| "adapter_stride": 2, | |
| "add_adapter": false, | |
| "apply_spec_augment": false, | |
| "architectures": [ | |
| "Wav2Vec2BertModel" | |
| ], | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 1, | |
| "classifier_proj_size": 768, | |
| "codevector_dim": 768, | |
| "conformer_conv_dropout": 0.1, | |
| "contrastive_logits_temperature": 0.1, | |
| "conv_depthwise_kernel_size": 31, | |
| "ctc_loss_reduction": "sum", | |
| "ctc_zero_infinity": false, | |
| "diversity_loss_weight": 0.1, | |
| "dtype": "bfloat16", | |
| "eos_token_id": 2, | |
| "feat_proj_dropout": 0.0, | |
| "feat_quantizer_dropout": 0.0, | |
| "feature_projection_input_dim": 160, | |
| "final_dropout": 0.1, | |
| "hidden_act": "swish", | |
| "hidden_dropout": 0.0, | |
| "hidden_size": 1024, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4096, | |
| "layer_norm_eps": 1e-05, | |
| "layerdrop": 0.1, | |
| "left_max_position_embeddings": 64, | |
| "mask_feature_length": 10, | |
| "mask_feature_min_masks": 0, | |
| "mask_feature_prob": 0.0, | |
| "mask_time_length": 10, | |
| "mask_time_min_masks": 2, | |
| "mask_time_prob": 0.05, | |
| "max_source_positions": 5000, | |
| "model_type": "wav2vec2-bert", | |
| "num_adapter_layers": 1, | |
| "num_attention_heads": 16, | |
| "num_codevector_groups": 2, | |
| "num_codevectors_per_group": 320, | |
| "num_hidden_layers": 16, | |
| "num_negatives": 100, | |
| "output_hidden_size": 1024, | |
| "pad_token_id": 0, | |
| "position_embeddings_type": "relative_key", | |
| "proj_codevector_dim": 768, | |
| "right_max_position_embeddings": 8, | |
| "rotary_embedding_base": 10000, | |
| "tdnn_dilation": [ | |
| 1, | |
| 2, | |
| 3, | |
| 1, | |
| 1 | |
| ], | |
| "tdnn_dim": [ | |
| 512, | |
| 512, | |
| 512, | |
| 512, | |
| 1500 | |
| ], | |
| "tdnn_kernel": [ | |
| 5, | |
| 3, | |
| 3, | |
| 1, | |
| 1 | |
| ], | |
| "transformers_version": "5.3.0", | |
| "use_intermediate_ffn_before_adapter": false, | |
| "use_weighted_layer_sum": false, | |
| "vocab_size": null, | |
| "xvector_output_dim": 512 | |
| } | |