Audio-Text-to-Text
Transformers
Safetensors
English
Chinese
moss_transcribe_diarize
text-generation
moss
audio
speech
asr
diarization
timestamp-asr
long-form-audio
multimodal
multilingual
custom_code
Eval Results
Instructions to use itazap/MOSS-Transcribe-Diarize-HF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use itazap/MOSS-Transcribe-Diarize-HF with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("itazap/MOSS-Transcribe-Diarize-HF", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from itazap/MOSS-Transcribe-Diarize-HF: direct link, hf CLI and curl.
- Browser
- Download file 642 Bytes
-
https://huggingface.co/itazap/MOSS-Transcribe-Diarize-HF/resolve/main/processor_config.json
- Command line
-
hf download hf://itazap/MOSS-Transcribe-Diarize-HF/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/itazap/MOSS-Transcribe-Diarize-HF/resolve/main/processor_config.json
642 Bytes
| { | |
| "audio_bos_token": "<|audio_start|>", | |
| "audio_eos_token": "<|audio_end|>", | |
| "audio_merge_size": 4, | |
| "audio_token": "<|audio_pad|>", | |
| "audio_tokens_per_second": 12.5, | |
| "feature_extractor": { | |
| "chunk_length": 30, | |
| "dither": 0.0, | |
| "feature_extractor_type": "MossTranscribeDiarizeFeatureExtractor", | |
| "feature_size": 80, | |
| "hop_length": 160, | |
| "n_fft": 400, | |
| "n_samples": 480000, | |
| "nb_max_frames": 3000, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000 | |
| }, | |
| "processor_class": "MossTranscribeDiarizeProcessor", | |
| "time_marker_every_seconds": 5 | |
| } | |