Instructions to use Mohsen21/CorpusModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Mohsen21/CorpusModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="Mohsen21/CorpusModel")# Load model directly from transformers import AutoProcessor, AutoModelForTextToSpectrogram processor = AutoProcessor.from_pretrained("Mohsen21/CorpusModel") model = AutoModelForTextToSpectrogram.from_pretrained("Mohsen21/CorpusModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files- generation_config.json +0 -5
generation_config.json
CHANGED
|
@@ -1,9 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_from_model_config": true,
|
| 3 |
-
"bos_token_id": 0,
|
| 4 |
-
"decoder_start_token_id": 2,
|
| 5 |
-
"eos_token_id": 2,
|
| 6 |
"max_length": 1876,
|
| 7 |
-
"pad_token_id": 1,
|
| 8 |
"transformers_version": "4.44.2"
|
| 9 |
}
|
|
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"max_length": 1876,
|
|
|
|
| 3 |
"transformers_version": "4.44.2"
|
| 4 |
}
|