Upload folder using huggingface_hub
Browse filesFiles changed (20)
- .gitattributes+1
- README.md+21-8
- bigvgan_generator.pthAdded+3
- codec.pthAdded+3
- feat1.ptAdded+3
- feat2.ptAdded+3
- multilingual_zh_ja_yue_char_del.tiktokenAdded
- qwen0.6bemo4-merge/ModelfileAdded+11
- qwen0.6bemo4-merge/added_tokens.jsonAdded+28
- qwen0.6bemo4-merge/chat_template.jinjaAdded+4
- qwen0.6bemo4-merge/config.jsonAdded+30
- qwen0.6bemo4-merge/generation_config.jsonAdded+6
- qwen0.6bemo4-merge/merges.txtAdded
- qwen0.6bemo4-merge/model.safetensorsAdded+3
- qwen0.6bemo4-merge/special_tokens_map.jsonAdded+31
- qwen0.6bemo4-merge/tokenizer.jsonAdded+3
- qwen0.6bemo4-merge/tokenizer_config.jsonAdded+240
- qwen0.6bemo4-merge/vocab.jsonAdded
- s2mel.pthAdded+3
- wav2vec2bert_stats.ptAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textqwen0.6bemo4-merge/tokenizer.json filter=lfs diff=lfs merge=lfs -text
46 unmodified lines474849505152535455565758596061626346 unmodified lines## UsageThis model is the GPT component of [IndexTTS-2.5](https://huggingface.co/IndexTeam/IndexTTS-2.5). To run it:1. Set up the [IndexTTS-2.5 codebase](https://github.com/index-tts/index-tts)2. Replace the base `gpt.pth` with this checkpoint3. Use the provided `model_v2.py`, `tokenizer_ethiopic.py`, and `config.yaml````python# Example with the IndexTTS runtimefrom indextts.infer_v2 import IndexTTS2# ... standard IndexTTS-2.5 setup, pointing to this checkpoint```## Samples46 unmodified lines47484950515253545556575859606162636465666768697071727374757646 unmodified lines## Usage**Everything needed for inference is in this repository** — download it and run; no external model downloads required.```bashpip install -U "huggingface_hub[cli]"hf download Lab-et/azemari --local-dir azemari```1. Set up the [IndexTTS-2.5 codebase](https://github.com/index-tts/index-tts)2. Point it at the downloaded `azemari/` directory as your checkpoint dir (it replaces the official `checkpoints/`)3. Generate. Control language with `<|am|>`, `<|om|>`, `<|ti|>` prefixes and dialects with `<|DIALECT_SHEWA|>` / `<|DIALECT_GOJJAM|>`### Repository contents| File | What it is ||---|---|| `gpt.pth` | **Azemari** — the fine-tuned GPT (this is the model) || `config.yaml` | adapted config (60,513 text tokens, +2 language rows) || `model_v2.py`, `tokenizer_ethiopic.py` | adapted inference code + Ethiopian tokenizer || `codec.pth`, `s2mel.pth`, `feat1.pt`, `feat2.pt`, `wav2vec2bert_stats.pt` | official IndexTTS-2.5 inference components || `qwen0.6bemo4-merge/` | official emotion model || `multilingual_zh_ja_yue_char_del.tiktoken` | base tokenizer (Ethiopic special tokens extend it) || `bigvgan_generator.pth` | BigVGAN vocoder (official IndexTTS component) |The only runtime fetch is the CAMPPlus speaker encoder, which the official code path loads from ModelScope (`iic/speech_campplus_sv_zh-cn_16k-common`).## Samples
123version https://git-lfs.github.com/spec/v1oid sha256:a2458834d8277e76eb8614c9751b5e8eaa0474eab706f0ecfafcb600023133edsize 536176992123version https://git-lfs.github.com/spec/v1oid sha256:d15cbed16a40f478438c961fb043f68dfa6353bf56c966761315db3433e9722csize 607290935123version https://git-lfs.github.com/spec/v1oid sha256:f219cb447d80216ba615666da2ff8d63ac544eee26657f3a7b278692bf7a67c4size 57170123version https://git-lfs.github.com/spec/v1oid sha256:9c4292e96dee535aea9a6206e9a0c856dd578dde9212acdb16dd3ada4d12bf80size 3748661234567891011# ollama modelfile auto-generated by llamafactory
FROM .
TEMPLATE """{{ if .System }}System: {{ .System }}<|endoftext|>{{ end }}{{ range .Messages }}{{ if eq .Role "user" }}Human: {{ .Content }}<|endoftext|>Assistant:{{ else if eq .Role "assistant" }}{{ .Content }}<|endoftext|>{{ end }}{{ end }}"""
PARAMETER stop "<|endoftext|>"PARAMETER num_ctx 409612345678910111213141516171819202122232425262728{ "</think>": 151668, "</tool_call>": 151658, "</tool_response>": 151666, "<think>": 151667, "<tool_call>": 151657, "<tool_response>": 151665, "<|box_end|>": 151649, "<|box_start|>": 151648, "<|endoftext|>": 151643, "<|file_sep|>": 151664, "<|fim_middle|>": 151660, "<|fim_pad|>": 151662, "<|fim_prefix|>": 151659, "<|fim_suffix|>": 151661, "<|im_end|>": 151645, "<|im_start|>": 151644, "<|image_pad|>": 151655, "<|object_ref_end|>": 151647, "<|object_ref_start|>": 151646, "<|quad_end|>": 151651, "<|quad_start|>": 151650, "<|repo_name|>": 151663, "<|video_pad|>": 151656, "<|vision_end|>": 151653, "<|vision_pad|>": 151654, "<|vision_start|>": 151652}1234{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ 'System: ' + system_message + '<|endoftext|>' + '' }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'Human: ' + content + '<|endoftext|>' + 'Assistant:' }}{% elif message['role'] == 'assistant' %}{{ content + '<|endoftext|>' + '' }}{% endif %}{% endfor %}123456789101112131415161718192021222324252627282930{ "architectures": [ "Qwen3ForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": 151643, "eos_token_id": 151643, "head_dim": 128, "hidden_act": "silu", "hidden_size": 1024, "initializer_range": 0.02, "intermediate_size": 3072, "max_position_embeddings": 32768, "max_window_layers": 28, "model_type": "qwen3", "num_attention_heads": 16, "num_hidden_layers": 28, "num_key_value_heads": 8, "rms_norm_eps": 1e-06, "rope_scaling": null, "rope_theta": 1000000, "sliding_window": null, "tie_word_embeddings": true, "torch_dtype": "bfloat16", "transformers_version": "4.52.1", "use_cache": true, "use_sliding_window": false, "vocab_size": 151936}123456{ "bos_token_id": 151643, "eos_token_id": 151643, "max_new_tokens": 2048, "transformers_version": "4.52.1"}123version https://git-lfs.github.com/spec/v1oid sha256:11293257a8df593c154a8ecd5fc039f3076de35411e35f06d41b471e136f6641size 119213509612345678910111213141516171819202122232425262728293031{ "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4size 11422654123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240{ "add_bos_token": false, "add_prefix_space": false, "added_tokens_decoder": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151646": { "content": "<|object_ref_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151647": { "content": "<|object_ref_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151648": { "content": "<|box_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151649": { "content": "<|box_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151650": { "content": "<|quad_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151651": { "content": "<|quad_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151652": { "content": "<|vision_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151653": { "content": "<|vision_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151654": { "content": "<|vision_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151655": { "content": "<|image_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151656": { "content": "<|video_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151657": { "content": "<tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151658": { "content": "</tool_call>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151659": { "content": "<|fim_prefix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151660": { "content": "<|fim_middle|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151661": { "content": "<|fim_suffix|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151662": { "content": "<|fim_pad|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151663": { "content": "<|repo_name|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151664": { "content": "<|file_sep|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151665": { "content": "<tool_response>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151666": { "content": "</tool_response>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151667": { "content": "<think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false }, "151668": { "content": "</think>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": false } }, "additional_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|endoftext|>", "errors": "replace", "extra_special_tokens": {}, "model_max_length": 131072, "pad_token": "<|endoftext|>", "padding_side": "left", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:9b1b0003fc189c94cc349758d7ebc25f903b7eb2de4602879959cc64ce816456size 414908601123version https://git-lfs.github.com/spec/v1oid sha256:c9c176c2b8850ab2e3ba828bbfa969deaf4566ce55db5f2687b8430b87526ad2size 9343.gitattributes+1
README.md+21-8
bigvgan_generator.pthAdded+3
codec.pthAdded+3
feat1.ptAdded+3
feat2.ptAdded+3
multilingual_zh_ja_yue_char_del.tiktokenAdded
qwen0.6bemo4-merge/ModelfileAdded+11
qwen0.6bemo4-merge/added_tokens.jsonAdded+28
qwen0.6bemo4-merge/chat_template.jinjaAdded+4
qwen0.6bemo4-merge/config.jsonAdded+30
qwen0.6bemo4-merge/generation_config.jsonAdded+6
qwen0.6bemo4-merge/merges.txtAdded
qwen0.6bemo4-merge/model.safetensorsAdded+3
qwen0.6bemo4-merge/special_tokens_map.jsonAdded+31
qwen0.6bemo4-merge/tokenizer.jsonAdded+3
qwen0.6bemo4-merge/tokenizer_config.jsonAdded+240
qwen0.6bemo4-merge/vocab.jsonAdded
s2mel.pthAdded+3
wav2vec2bert_stats.ptAdded+3