Text-to-Speech
Transformers
Safetensors
English
Chinese
arkasr
text-generation
automatic-speech-recognition
voice-conversion
speech
audio
custom_code
Instructions to use Edge0/GPA-v1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Edge0/GPA-v1.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="Edge0/GPA-v1.5", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Edge0/GPA-v1.5", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from Edge0/GPA-v1.5: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/Edge0/GPA-v1.5/resolve/main/processor_config.json
- Command line
-
hf download hf://Edge0/GPA-v1.5/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/Edge0/GPA-v1.5/resolve/main/processor_config.json
423 Bytes
| { | |
| "processor_class": "ArkasrProcessor", | |
| "auto_map": { | |
| "AutoProcessor": "processing_arkasr.ArkasrProcessor" | |
| }, | |
| "feature_extractor_type": "WhisperFeatureExtractor", | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "merge_factor": 4, | |
| "audio_token": "<|audio|>", | |
| "audio_dtype": "bfloat16", | |
| "tokenizer_config": { | |
| "padding_side": "left", | |
| "model_max_length": 8192 | |
| } | |
| } | |