-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: more embedded models, coqui fixes, add model usage and descript…
…ion (#1556) * feat: add model descriptions and usage * remove default model gallery * models: add embeddings and tts * docs: update table * docs: updates * images: cleanup pip cache after install * images: always run apt-get clean * ux: improve gRPC connection errors * ux: improve some messages * fix: fix coqui when no AudioPath is passed by * embedded: add more models * Add usage * Reorder table
- Loading branch information
Showing
21 changed files
with
216 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: all-minilm-l6-v2 | ||
backend: sentencetransformers | ||
embeddings: true | ||
parameters: | ||
model: all-MiniLM-L6-v2 | ||
|
||
usage: | | ||
You can test this model with curl like this: | ||
curl http://localhost:8080/embeddings -X POST -H "Content-Type: application/json" -d '{ | ||
"input": "Your text string goes here", | ||
"model": "all-minilm-l6-v2" | ||
}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
usage: | | ||
bark works without any configuration, to test it, you can run the following curl command: | ||
curl http://localhost:8080/tts -H "Content-Type: application/json" -d '{ | ||
"backend": "bark", | ||
"input":"Hello, this is a test!" | ||
}' | aplay | ||
# TODO: This is a placeholder until we manage to pre-load HF/Transformers models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
backend: bert-embeddings | ||
embeddings: true | ||
f16: true | ||
|
||
gpu_layers: 90 | ||
mmap: true | ||
name: bert-cpp-minilm-v6 | ||
|
||
parameters: | ||
model: bert-MiniLM-L6-v2q4_0.bin | ||
|
||
download_files: | ||
- filename: "bert-MiniLM-L6-v2q4_0.bin" | ||
sha256: "a5a174d8772c8a569faf9f3136c441f2c3855b5bf35ed32274294219533feaad" | ||
uri: "https://huggingface.co/mudler/all-MiniLM-L6-v2/resolve/main/ggml-model-q4_0.bin" | ||
|
||
usage: | | ||
You can test this model with curl like this: | ||
curl http://localhost:8080/embeddings -X POST -H "Content-Type: application/json" -d '{ | ||
"input": "Your text string goes here", | ||
"model": "bert-cpp-minilm-v6" | ||
}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
usage: | | ||
coqui works without any configuration, to test it, you can run the following curl command: | ||
curl http://localhost:8080/tts -H "Content-Type: application/json" -d '{ | ||
"backend": "coqui", | ||
"model": "tts_models/en/ljspeech/glow-tts", | ||
"input":"Hello, this is a test!" | ||
}' | ||
# TODO: This is a placeholder until we manage to pre-load HF/Transformers models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: voice-en-us-amy-low | ||
download_files: | ||
- filename: voice-en-us-amy-low.tar.gz | ||
uri: https://github.com/rhasspy/piper/releases/download/v0.0.2/voice-en-us-amy-low.tar.gz | ||
|
||
|
||
usage: | | ||
To test if this model works as expected, you can use the following curl command: | ||
curl http://localhost:8080/tts -H "Content-Type: application/json" -d '{ | ||
"model":"en-us-amy-low.onnx", | ||
"input": "Hi, this is a test." | ||
}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
usage: | | ||
Vall-e-x works without any configuration, to test it, you can run the following curl command: | ||
curl http://localhost:8080/tts -H "Content-Type: application/json" -d '{ | ||
"backend": "vall-e-x", | ||
"input":"Hello, this is a test!" | ||
}' | aplay | ||
# TODO: This is a placeholder until we manage to pre-load HF/Transformers models |
Oops, something went wrong.