Text-to-Speech
PyTorch
Safetensors
GGUF
English
qwen2
TTS
Text to Speech
Voice Clone
Android Text to Speech
imatrix
Instructions to use hik63382/TTS_Android_PC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use hik63382/TTS_Android_PC with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="hik63382/TTS_Android_PC", filename="tts-Android-nano-Q8-0.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use hik63382/TTS_Android_PC with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf hik63382/TTS_Android_PC:BF16 # Run inference directly in the terminal: llama-cli -hf hik63382/TTS_Android_PC:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf hik63382/TTS_Android_PC:BF16 # Run inference directly in the terminal: llama-cli -hf hik63382/TTS_Android_PC:BF16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf hik63382/TTS_Android_PC:BF16 # Run inference directly in the terminal: ./llama-cli -hf hik63382/TTS_Android_PC:BF16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf hik63382/TTS_Android_PC:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf hik63382/TTS_Android_PC:BF16
Use Docker
docker model run hf.co/hik63382/TTS_Android_PC:BF16
- LM Studio
- Jan
- Ollama
How to use hik63382/TTS_Android_PC with Ollama:
ollama run hf.co/hik63382/TTS_Android_PC:BF16
- Unsloth Studio
How to use hik63382/TTS_Android_PC with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for hik63382/TTS_Android_PC to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for hik63382/TTS_Android_PC to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for hik63382/TTS_Android_PC to start chatting
- Docker Model Runner
How to use hik63382/TTS_Android_PC with Docker Model Runner:
docker model run hf.co/hik63382/TTS_Android_PC:BF16
- Lemonade
How to use hik63382/TTS_Android_PC with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull hik63382/TTS_Android_PC:BF16
Run and chat with the model
lemonade run user.TTS_Android_PC-BF16
List all available models
lemonade list
NZG NZG 73 model: config.json
Browse files- config.json +28 -0
config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen2ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 151643,
|
| 7 |
+
"eos_token_id": 151645,
|
| 8 |
+
"hidden_act": "silu",
|
| 9 |
+
"hidden_size": 896,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"intermediate_size": 4864,
|
| 12 |
+
"max_position_embeddings": 32768,
|
| 13 |
+
"max_window_layers": 21,
|
| 14 |
+
"model_type": "qwen2",
|
| 15 |
+
"num_attention_heads": 14,
|
| 16 |
+
"num_hidden_layers": 24,
|
| 17 |
+
"num_key_value_heads": 2,
|
| 18 |
+
"rms_norm_eps": 1e-06,
|
| 19 |
+
"rope_scaling": null,
|
| 20 |
+
"rope_theta": 1000000.0,
|
| 21 |
+
"sliding_window": 32768,
|
| 22 |
+
"tie_word_embeddings": true,
|
| 23 |
+
"torch_dtype": "bfloat16",
|
| 24 |
+
"transformers_version": "4.50.3",
|
| 25 |
+
"use_cache": true,
|
| 26 |
+
"use_sliding_window": false,
|
| 27 |
+
"vocab_size": 217652
|
| 28 |
+
}
|