Instructions to use Gem1832/monkey_02 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gem1832/monkey_02 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="Gem1832/monkey_02")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Gem1832/monkey_02") model = AutoModelForCausalLM.from_pretrained("Gem1832/monkey_02") - Notebooks
- Google Colab
- Kaggle
| { | |
| "sampling_rate": 24000, | |
| "encoder_dim": 48, | |
| "encoder_rates": [2, 4, 8, 8], | |
| "decoder_dim": 1024, | |
| "decoder_rates": [8, 8, 4, 2], | |
| "attn_window_size": null, | |
| "codebook_size": 4096, | |
| "codebook_dim": 8, | |
| "vq_strides": [4, 2, 1], | |
| "noise": true, | |
| "depthwise": true | |
| } | |