Add files using upload-large-folder tool
Browse files- Evaluations/.ipynb_checkpoints/split_generation-checkpoint.ipynb +6 -0
- data/.ipynb_checkpoints/bn_bd-checkpoint.zip +0 -0
- data/bangla_sft_phoneme.jsonl +0 -0
- data/bangla_train.jsonl +0 -0
- data/bn_bd.zip +0 -0
- data/bn_in.zip +0 -0
- data/openslr37/dataset/dataset_dict.json +1 -0
- data/openslr37/dataset/train/dataset_info.json +16 -0
- data/openslr37/dataset/train/state.json +13 -0
- data/openslr37/dataset/validation/dataset_info.json +16 -0
- data/openslr37/dataset/validation/state.json +13 -0
- data/openslr37/openslr37/metadata.jsonl +0 -0
- data/openslr37/openslr37/openslr37/.ipynb_checkpoints/line_index-checkpoint.tsv +0 -0
- data/openslr37/openslr37/openslr37/.ipynb_checkpoints/metadata-checkpoint.jsonl +0 -0
- data/openslr37/openslr37/openslr37/.ipynb_checkpoints/train_37-checkpoint.yaml +29 -0
- data/openslr37/openslr37/openslr37/metadata.jsonl +0 -0
- data/openslr37/openslr37/openslr37/train_37.yaml +29 -0
- data/openslr37/openslr37/openslr37metadata.jsonl +0 -0
- data/openslr37_metadata.jsonl +0 -0
- data/openslr37_train.jsonl +0 -0
Evaluations/.ipynb_checkpoints/split_generation-checkpoint.ipynb
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [],
|
| 3 |
+
"metadata": {},
|
| 4 |
+
"nbformat": 4,
|
| 5 |
+
"nbformat_minor": 5
|
| 6 |
+
}
|
data/.ipynb_checkpoints/bn_bd-checkpoint.zip
ADDED
|
File without changes
|
data/bangla_sft_phoneme.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/bangla_train.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/bn_bd.zip
ADDED
|
File without changes
|
data/bn_in.zip
ADDED
|
File without changes
|
data/openslr37/dataset/dataset_dict.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"splits": ["train", "validation"]}
|
data/openslr37/dataset/train/dataset_info.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"citation": "",
|
| 3 |
+
"description": "",
|
| 4 |
+
"features": {
|
| 5 |
+
"audio": {
|
| 6 |
+
"dtype": "large_string",
|
| 7 |
+
"_type": "Value"
|
| 8 |
+
},
|
| 9 |
+
"text": {
|
| 10 |
+
"dtype": "large_string",
|
| 11 |
+
"_type": "Value"
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"homepage": "",
|
| 15 |
+
"license": ""
|
| 16 |
+
}
|
data/openslr37/dataset/train/state.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00001.arrow"
|
| 5 |
+
}
|
| 6 |
+
],
|
| 7 |
+
"_fingerprint": "12671127c760c362",
|
| 8 |
+
"_format_columns": null,
|
| 9 |
+
"_format_kwargs": {},
|
| 10 |
+
"_format_type": null,
|
| 11 |
+
"_output_all_columns": false,
|
| 12 |
+
"_split": null
|
| 13 |
+
}
|
data/openslr37/dataset/validation/dataset_info.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"citation": "",
|
| 3 |
+
"description": "",
|
| 4 |
+
"features": {
|
| 5 |
+
"audio": {
|
| 6 |
+
"dtype": "large_string",
|
| 7 |
+
"_type": "Value"
|
| 8 |
+
},
|
| 9 |
+
"text": {
|
| 10 |
+
"dtype": "large_string",
|
| 11 |
+
"_type": "Value"
|
| 12 |
+
}
|
| 13 |
+
},
|
| 14 |
+
"homepage": "",
|
| 15 |
+
"license": ""
|
| 16 |
+
}
|
data/openslr37/dataset/validation/state.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_data_files": [
|
| 3 |
+
{
|
| 4 |
+
"filename": "data-00000-of-00001.arrow"
|
| 5 |
+
}
|
| 6 |
+
],
|
| 7 |
+
"_fingerprint": "767706cfdfc011bc",
|
| 8 |
+
"_format_columns": null,
|
| 9 |
+
"_format_kwargs": {},
|
| 10 |
+
"_format_type": null,
|
| 11 |
+
"_output_all_columns": false,
|
| 12 |
+
"_split": null
|
| 13 |
+
}
|
data/openslr37/openslr37/metadata.jsonl
ADDED
|
File without changes
|
data/openslr37/openslr37/openslr37/.ipynb_checkpoints/line_index-checkpoint.tsv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/openslr37/openslr37/openslr37/.ipynb_checkpoints/metadata-checkpoint.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/openslr37/openslr37/openslr37/.ipynb_checkpoints/train_37-checkpoint.yaml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
pretrained_path: "/workspace/models/menstrual_bangla_tts" # Path to the directory containing your pre-trained model
|
| 2 |
+
train_manifest: "/workspace/data/openslr37/openslr37/openslr37/metadata.jsonl" # Path to your training dataset JSONL file (already created)
|
| 3 |
+
val_manifest: "" # If you don't have a validation dataset, you can leave it empty or set it to ""
|
| 4 |
+
sample_rate: 16000 # Ensure this matches the sample rate of your dataset (OpenSLR37)
|
| 5 |
+
batch_size: 8 # Adjust based on your available hardware (increase if you have enough GPU memory)
|
| 6 |
+
grad_accum_steps: 2 # Accumulate gradients for stability (adjust if necessary)
|
| 7 |
+
num_workers: 6 # Number of workers for data loading (adjust based on your system)
|
| 8 |
+
num_iters: 75000 # Number of training iterations
|
| 9 |
+
log_interval: 50 # Log training stats every 50 steps
|
| 10 |
+
valid_interval: 4000 # Validation interval (every 4000 steps)
|
| 11 |
+
save_interval: 2000 # Save checkpoints every 2000 steps
|
| 12 |
+
learning_rate: 0.0001 # Learning rate (tune if necessary)
|
| 13 |
+
weight_decay: 0.01 # Regularization (tune if necessary)
|
| 14 |
+
warmup_steps: 2000 # Warmup steps (set according to your needs)
|
| 15 |
+
max_steps: 75000 # Maximum training steps (adjust to match num_iters)
|
| 16 |
+
max_batch_tokens: 8192 # Maximum number of tokens per batch (adjust if needed)
|
| 17 |
+
save_path: "/workspace/models/menstrual_bangla_tts/checkpoints" # Path to save the fine-tuned model checkpoints
|
| 18 |
+
tensorboard: "/workspace/models/menstrual_bangla_tts/tensorboard" # Path to save tensorboard logs
|
| 19 |
+
|
| 20 |
+
# LoRA config (optional)
|
| 21 |
+
lora:
|
| 22 |
+
enable_lm: true # Enable LoRA for the language model
|
| 23 |
+
enable_dit: true # Enable LoRA for the DIT (Disentangled Intermediate Transformer)
|
| 24 |
+
enable_proj: true # Enable LoRA for the projection layers
|
| 25 |
+
r: 64 # LoRA rank (adjust if necessary)
|
| 26 |
+
alpha: 32 # LoRA alpha (adjust if necessary)
|
| 27 |
+
dropout: 0.0 # Dropout rate (set to 0 for no dropout)
|
| 28 |
+
target_modules_lm: ["q_proj", "v_proj", "k_proj", "o_proj"] # Target modules for LoRA in the LM
|
| 29 |
+
target_modules_dit: ["q_proj", "v_proj", "k_proj", "o_proj"] # Target modules for LoRA in the DIT
|
data/openslr37/openslr37/openslr37/metadata.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/openslr37/openslr37/openslr37/train_37.yaml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
pretrained_path: "/workspace/models/menstrual_bangla_tts" # Path to the directory containing your pre-trained model
|
| 2 |
+
train_manifest: "/workspace/data/openslr37/openslr37/openslr37/metadata.jsonl" # Path to your training dataset JSONL file (already created)
|
| 3 |
+
val_manifest: "" # If you don't have a validation dataset, you can leave it empty or set it to ""
|
| 4 |
+
sample_rate: 16000 # Ensure this matches the sample rate of your dataset (OpenSLR37)
|
| 5 |
+
batch_size: 8 # Adjust based on your available hardware (increase if you have enough GPU memory)
|
| 6 |
+
grad_accum_steps: 2 # Accumulate gradients for stability (adjust if necessary)
|
| 7 |
+
num_workers: 6 # Number of workers for data loading (adjust based on your system)
|
| 8 |
+
num_iters: 75000 # Number of training iterations
|
| 9 |
+
log_interval: 50 # Log training stats every 50 steps
|
| 10 |
+
valid_interval: 4000 # Validation interval (every 4000 steps)
|
| 11 |
+
save_interval: 2000 # Save checkpoints every 2000 steps
|
| 12 |
+
learning_rate: 0.0001 # Learning rate (tune if necessary)
|
| 13 |
+
weight_decay: 0.01 # Regularization (tune if necessary)
|
| 14 |
+
warmup_steps: 2000 # Warmup steps (set according to your needs)
|
| 15 |
+
max_steps: 75000 # Maximum training steps (adjust to match num_iters)
|
| 16 |
+
max_batch_tokens: 8192 # Maximum number of tokens per batch (adjust if needed)
|
| 17 |
+
save_path: "/workspace/models/menstrual_bangla_tts/checkpoints" # Path to save the fine-tuned model checkpoints
|
| 18 |
+
tensorboard: "/workspace/models/menstrual_bangla_tts/tensorboard" # Path to save tensorboard logs
|
| 19 |
+
|
| 20 |
+
# LoRA config (optional)
|
| 21 |
+
lora:
|
| 22 |
+
enable_lm: true # Enable LoRA for the language model
|
| 23 |
+
enable_dit: true # Enable LoRA for the DIT (Disentangled Intermediate Transformer)
|
| 24 |
+
enable_proj: true # Enable LoRA for the projection layers
|
| 25 |
+
r: 64 # LoRA rank (adjust if necessary)
|
| 26 |
+
alpha: 32 # LoRA alpha (adjust if necessary)
|
| 27 |
+
dropout: 0.0 # Dropout rate (set to 0 for no dropout)
|
| 28 |
+
target_modules_lm: ["q_proj", "v_proj", "k_proj", "o_proj"] # Target modules for LoRA in the LM
|
| 29 |
+
target_modules_dit: ["q_proj", "v_proj", "k_proj", "o_proj"] # Target modules for LoRA in the DIT
|
data/openslr37/openslr37/openslr37metadata.jsonl
ADDED
|
File without changes
|
data/openslr37_metadata.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/openslr37_train.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|