Instructions to use KittenML/kitten-tts-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use KittenML/kitten-tts-2 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 KittenML/kitten-tts-2 # Run inference directly in the terminal: llama cli -hf KittenML/kitten-tts-2
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf KittenML/kitten-tts-2 # Run inference directly in the terminal: llama cli -hf KittenML/kitten-tts-2
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 KittenML/kitten-tts-2 # Run inference directly in the terminal: ./llama-cli -hf KittenML/kitten-tts-2
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 KittenML/kitten-tts-2 # Run inference directly in the terminal: ./build/bin/llama-cli -hf KittenML/kitten-tts-2
Use Docker
docker model run hf.co/KittenML/kitten-tts-2
- LM Studio
- Jan
- Ollama
How to use KittenML/kitten-tts-2 with Ollama:
ollama run hf.co/KittenML/kitten-tts-2
- Unsloth Desktop
- Docker Model Runner
How to use KittenML/kitten-tts-2 with Docker Model Runner:
docker model run hf.co/KittenML/kitten-tts-2
- Lemonade
How to use KittenML/kitten-tts-2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull KittenML/kitten-tts-2
Run and chat with the model
lemonade run user.kitten-tts-2-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download speaker/LICENSE from KittenML/kitten-tts-2: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/KittenML/kitten-tts-2/resolve/main/speaker/LICENSE
- Command line
-
hf download hf://KittenML/kitten-tts-2/speaker/LICENSE
-
curl -L -o LICENSE https://huggingface.co/KittenML/kitten-tts-2/resolve/main/speaker/LICENSE
1.06 kB
| MIT License | |
| Copyright (c) 2022 CNRS | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: | |
| The above copyright notice and this permission notice shall be included in all | |
| copies or substantial portions of the Software. | |
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| SOFTWARE. | |