Instructions to use azeddinShr/Spark-TTS-Arabic-Complete with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use azeddinShr/Spark-TTS-Arabic-Complete with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="azeddinShr/Spark-TTS-Arabic-Complete")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("azeddinShr/Spark-TTS-Arabic-Complete", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 3,258 Bytes
03401b7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | ---
library_name: transformers
tags:
- generated_from_trainer
datasets:
- /content/processed_output/clartts_data.jsonl
model-index:
- name: content/finetuned_model
results: []
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
<details><summary>See axolotl config</summary>
axolotl version: `0.13.0.dev0`
```yaml
base_model: /content/SparkTTS-Finetune/pretrained_models/Spark-TTS-0.5B/LLM
load_in_4bit: false
load_in_8bit: false
trust_remote_code: true
strict: false
datasets:
- path: /content/processed_output/clartts_data.jsonl
type: completion
dataset_prepared_path:
val_set_size: 0.05
output_dir: /content/finetuned_model
sequence_len: 1024
sample_packing: false
eval_sample_packing: false
pad_to_sequence_len: true
wandb_project:
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:
gradient_accumulation_steps: 8
micro_batch_size: 1
num_epochs: 3
optimizer: adamw_torch_fused
lr_scheduler: cosine
learning_rate: 0.0002
train_on_inputs: false
group_by_length: false
bf16: true
fp16: false
tf32: false
gradient_checkpointing: true
gradient_checkpointing_kwargs:
use_reentrant: false
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 50
xformers_attention:
flash_attention: false
warmup_steps: 10
evals_per_epoch: 1
save_steps: 200
debug:
deepspeed:
weight_decay: 0.0
```
</details><br>
# content/finetuned_model
This model was trained from scratch on the /content/processed_output/clartts_data.jsonl dataset.
It achieves the following results on the evaluation set:
- Loss: 4.4637
- Memory/max Active (gib): 7.2
- Memory/max Allocated (gib): 7.2
- Memory/device Reserved (gib): 7.62
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0002
- train_batch_size: 1
- eval_batch_size: 1
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 8
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 10
- training_steps: 1016
### Training results
| Training Loss | Epoch | Step | Validation Loss | Active (gib) | Allocated (gib) | Reserved (gib) |
|:-------------:|:-----:|:----:|:---------------:|:------------:|:---------------:|:--------------:|
| No log | 0 | 0 | 11.8503 | 3.1 | 3.1 | 3.2 |
| 4.7248 | 1.0 | 339 | 4.6423 | 7.2 | 7.2 | 7.67 |
| 4.3688 | 2.0 | 678 | 4.4637 | 7.2 | 7.2 | 7.62 |
### Framework versions
- Transformers 4.57.1
- Pytorch 2.7.1+cu118
- Datasets 4.4.1
- Tokenizers 0.22.1
|