Views
No views yet
<sigh>, <laugh>, <yawn>, <gasp>, <groan>, <chuckle>, <cough>, <sniffle> registered as single token IDs (16384–16391). Tokenizer no longer fragments them into BPE pieces.| Hyperparam | Value |
|---|---|
| Base model | OpenMOSS-Team/MOSS-TTS-Nano-100M (vocab extended to 16392) |
| Codec | OpenMOSS-Team/MOSS-Audio-Tokenizer-Nano |
| Dataset | marcosremar2/gemini-dataset-erinome (4869 pairs after intersection) |
| per_device_batch_size | 8 |
| gradient_accumulation_steps | 4 |
| global_batch_size | 32 |
| epochs | 10 (1530 steps) |
| learning_rate | 5e-5 cosine, warmup 5% |
| mixed_precision | bf16 |
| attn_implementation | sdpa |
| GPU | RTX 4090 (Vast.ai, ~$0.07/hr) |
| Wall time | ~30 min |
| Loss | 5.02 → 4.51 |
| Total cost | ~$0.04 |
text_lm_head layer was resized from (16384, 768) → (16392, 768). New embeddings initialized from multivariate normal (mean+covariance of existing embeddings, per Hewitt 2021 vocab expansion technique). Both vocab_size and nested gpt2_config.vocab_size updated in config.json.1from transformers import AutoModel, AutoTokenizer
2m = AutoModel.from_pretrained("marcosremar2/iaratts-sft-v3", trust_remote_code=True)
3t = AutoTokenizer.from_pretrained("marcosremar2/iaratts-sft-v3", trust_remote_code=True)
4
5# tags work as single tokens now:
6ids = t.encode("<sigh> Que cansaço.", add_special_tokens=False)
7# -> [16384, ..., space, ..., Que, ..., cansaço, ...]1python infer.py --checkpoint marcosremar2/iaratts-sft-v3 \
2 --audio-tokenizer-pretrained-name-or-path OpenMOSS-Team/MOSS-Audio-Tokenizer-Nano \
3 --text "<sigh> Encontrei um erro no código." \
4 --output-audio-path out.wav --mode continuation --seed 42