Instructions to use sanchit-gandhi/parler-tts-600M-cross-attention-decayed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sanchit-gandhi/parler-tts-600M-cross-attention-decayed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="sanchit-gandhi/parler-tts-600M-cross-attention-decayed")# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("sanchit-gandhi/parler-tts-600M-cross-attention-decayed", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use sanchit-gandhi/parler-tts-600M-cross-attention-decayed with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sanchit-gandhi/parler-tts-600M-cross-attention-decayed" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sanchit-gandhi/parler-tts-600M-cross-attention-decayed", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/sanchit-gandhi/parler-tts-600M-cross-attention-decayed
- SGLang
How to use sanchit-gandhi/parler-tts-600M-cross-attention-decayed with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "sanchit-gandhi/parler-tts-600M-cross-attention-decayed" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sanchit-gandhi/parler-tts-600M-cross-attention-decayed", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "sanchit-gandhi/parler-tts-600M-cross-attention-decayed" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sanchit-gandhi/parler-tts-600M-cross-attention-decayed", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use sanchit-gandhi/parler-tts-600M-cross-attention-decayed with Docker Model Runner:
docker model run hf.co/sanchit-gandhi/parler-tts-600M-cross-attention-decayed
Saving train state of step 120000
Browse files- checkpoint-100000-epoch-7/random_states_7.pkl +0 -3
- {checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/config.json +0 -0
- {checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/generation_config.json +0 -0
- {checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/optimizer.bin +1 -1
- {checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/pytorch_model.bin +1 -1
- {checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/random_states_0.pkl +1 -1
- {checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/random_states_1.pkl +1 -1
- {checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/random_states_2.pkl +1 -1
- checkpoint-100000-epoch-7/random_states_6.pkl β checkpoint-120000-epoch-8/random_states_3.pkl +1 -1
- {checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/random_states_4.pkl +1 -1
- {checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/random_states_5.pkl +1 -1
- checkpoint-100000-epoch-7/random_states_3.pkl β checkpoint-120000-epoch-8/random_states_6.pkl +1 -1
- checkpoint-120000-epoch-8/random_states_7.pkl +3 -0
- {checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/scheduler.bin +1 -1
checkpoint-100000-epoch-7/random_states_7.pkl
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:223e62538e19841deac6ce91802efbb6cefb0abf1cc680e3c9fdfaa1449e6c94
|
| 3 |
-
size 16100
|
|
|
|
|
|
|
|
|
|
|
|
{checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/config.json
RENAMED
|
File without changes
|
{checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/generation_config.json
RENAMED
|
File without changes
|
{checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/optimizer.bin
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3652769047
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1684762410fa08e5e762a010771a49d3fc3f91a96806d8122051be3474ab5cd3
|
| 3 |
size 3652769047
|
{checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/pytorch_model.bin
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2605239710
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca15723ae020630be5667040c701ea6b3dc2a7e8048aa062df093760bbaea75c
|
| 3 |
size 2605239710
|
{checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/random_states_0.pkl
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 16036
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15e4483d0fcbff683141c42aadae4b3907796e573e820b3f9eb6f65ad747b15b
|
| 3 |
size 16036
|
{checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/random_states_1.pkl
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 16036
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4af8e123ce7ecf579e0f08f90e37b0659caf8b3fcb6b3b89b1e5e468e406132a
|
| 3 |
size 16036
|
{checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/random_states_2.pkl
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 16100
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b92eed6ebb8fad1e1949b2b96f055012e26c76a285b510484108275a01307db
|
| 3 |
size 16100
|
checkpoint-100000-epoch-7/random_states_6.pkl β checkpoint-120000-epoch-8/random_states_3.pkl
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 16036
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:581b14d74154869b8d9089b4a164462cd5461098b1d466c59feb61467f509093
|
| 3 |
size 16036
|
{checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/random_states_4.pkl
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 16100
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:420209dd11cf370101749a648be72c9b0fa67cbb4ab1bd7b4627c449ea1d5cf1
|
| 3 |
size 16100
|
{checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/random_states_5.pkl
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 16036
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1343c78608df6d7bd70c6fee54ff8d46c1e9307bd3c7995f25613bee9ffbb03b
|
| 3 |
size 16036
|
checkpoint-100000-epoch-7/random_states_3.pkl β checkpoint-120000-epoch-8/random_states_6.pkl
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 16100
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68a496bda45d35b19579e6b4fbd221da2588efdbcf1f980fc41a9c50a6170f2e
|
| 3 |
size 16100
|
checkpoint-120000-epoch-8/random_states_7.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a73c2fa49ccac3c4fe31edce6d71688b4e30c798a1ac1bdef52d3fb16c63178d
|
| 3 |
+
size 16036
|
{checkpoint-100000-epoch-7 β checkpoint-120000-epoch-8}/scheduler.bin
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1000
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b4f320b050b96887f86490813fc819eb3a839a0ae4e027fddaf7ad15be1c80c
|
| 3 |
size 1000
|