File size: 2,289 Bytes
a8feda3
 
 
 
 
 
 
 
 
 
 
 
fda8379
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a8feda3
d89ef37
a8feda3
 
 
 
 
 
b3a1c8c
a8feda3
b3a1c8c
a8feda3
 
 
 
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
---
library_name: transformers
tags:
- text-to-speech
license: mit
datasets:
- sidfeels/transatlantic_accent_tts_dataset
language:
- en
base_model:
- parler-tts/parler-tts-mini-v1
---
# Parler TTS Mini - Transatlantic Accent Fine-tune

## Model Description

This model is a fine-tuned version of the Parler TTS Mini, specifically trained to produce a transatlantic accent. It was trained on approximately 3 hours of custom data to achieve this unique voice characteristic.

### Base Model
- **Name**: Parler TTS Mini
- **Version**: v1
- **Original Source**: [parler-tts/parler-tts-mini-v1](https://huggingface.co/parler-tts/parler-tts-mini-v1)

### Fine-tuned Model Details
- **Accent**: Transatlantic
- **Training Data**: ~3 hours of custom audio
- **Purpose**: To generate text-to-speech audio with a distinct transatlantic accent

## Usage

To use this model, you'll need to have the `parler_tts` library installed. Here's a basic example of how to generate audio with this model:

```python
from parler_tts import ParlerTTSForConditionalGeneration
from transformers import AutoTokenizer
import torch

# Load the model and tokenizer
model = ParlerTTSForConditionalGeneration.from_pretrained("your-model-name")
tokenizer = AutoTokenizer.from_pretrained("your-model-name")

# Prepare input
text = "This is a test of the transatlantic accent."
description = "An older man's voice with a transatlantic accent, speaking calmly and deliberately."

# Generate audio
inputs = tokenizer(description, return_tensors="pt")
prompt = tokenizer(text, return_tensors="pt")

with torch.no_grad():
    output = model.generate(
        input_ids=inputs.input_ids,
        prompt_input_ids=prompt.input_ids,
        do_sample=True
    )
```
## Colab Link for Quick Testing

You can easily experiment with this fine-tuned Parler TTS Mini model using our interactive Google Colab notebook. 

To get started:

1. Click on the link below to open the Colab notebook:
   
   [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1Ijz23gOcDoTL4LOw5xsgSGSm24jdZQGU?usp=sharing)

2. Clone the Notebook. then run each cell.
3. Experiment with different text inputs and voice descriptions to explore the capabilities of the transatlantic accent model.