Instructions to use Guilherme34/Maya with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Guilherme34/Maya with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="Guilherme34/Maya")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Guilherme34/Maya") model = AutoModelForCausalLM.from_pretrained("Guilherme34/Maya", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from Guilherme34/Maya: direct link, hf CLI and curl.
- Browser
- Download file 230 Bytes
-
https://huggingface.co/Guilherme34/Maya/resolve/main/generation_config.json
- Command line
-
hf download hf://Guilherme34/Maya/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Guilherme34/Maya/resolve/main/generation_config.json
230 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 128000, | |
| "do_sample": true, | |
| "eos_token_id": 128009, | |
| "max_length": 131072, | |
| "pad_token_id": 128004, | |
| "temperature": 0.6, | |
| "top_p": 0.9, | |
| "transformers_version": "4.52.4" | |
| } | |