Downloads · 30 days
21
24% of all-time downloads
Yuxuan98/MoST-speech-text-moe
MoST-speech-text-moe is a machine learning model from Yuxuan98. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
MoST (Mixture of Speech and Text) is a multimodal foundation model that builds upon the DeepSeek-V2 Lite architecture, enhanced with Modality-Aware Mixture of Experts (MAMoE) approach for handling both speech and text…
Downloads · 30 days
21
24% of all-time downloads
All-time downloads
87
Public
Parameters
15.7B
62.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors62.8 GB · 100%
From the Hugging Face model README
MoST (Mixture of Speech and Text) is a multimodal foundation model that builds upon the DeepSeek-V2 Lite architecture, enhanced with Modality-Aware Mixture of Experts (MAMoE) approach for handling both speech and text modalities.
MoST is designed for speech-text tasks with the following key features:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Yuxuan98/MoST-speech-text-moe"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)
# Text-only example
text_inputs = tokenizer("Hello, this is an example", return_tensors="pt")
text_output = model.generate(**text_inputs, max_length=50)
print(tokenizer.decode(text_output[0], skip_special_tokens=True))
# Speech-text example will require audio encoding
# See documentation for details on audio-text inputs