Instructions to use AJosh/modelclone with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AJosh/modelclone with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="AJosh/modelclone")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("AJosh/modelclone") model = AutoModelForTextToWaveform.from_pretrained("AJosh/modelclone", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download special_tokens_map.json from AJosh/modelclone: direct link, hf CLI and curl.
- Browser
- Download file 449 Bytes
-
https://huggingface.co/AJosh/modelclone/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://AJosh/modelclone/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/AJosh/modelclone/resolve/main/special_tokens_map.json
449 Bytes
| { | |
| "bos_token": { | |
| "content": "<|begin_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|end_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|end_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |