Instructions to use timBoML/2cent-tts-25m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use timBoML/2cent-tts-25m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="timBoML/2cent-tts-25m")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("timBoML/2cent-tts-25m") model = AutoModelForCausalLM.from_pretrained("timBoML/2cent-tts-25m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ tags: []
|
|
| 5 |
|
| 6 |
Converted the models from https://github.com/taylorchu/2cent-tts to .safetensors. Below is inference code:
|
| 7 |
|
| 8 |
-
```
|
| 9 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 10 |
import torch
|
| 11 |
|
|
|
|
| 5 |
|
| 6 |
Converted the models from https://github.com/taylorchu/2cent-tts to .safetensors. Below is inference code:
|
| 7 |
|
| 8 |
+
```python
|
| 9 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 10 |
import torch
|
| 11 |
|