How to use PantagrueLLM/speech-base-1K with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="PantagrueLLM/speech-base-1K", trust_remote_code=True)
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("PantagrueLLM/speech-base-1K", trust_remote_code=True, dtype="auto")
How to use PantagrueLLM/speech-base-1K with Fairseq:
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub models, cfg, task = load_model_ensemble_and_task_from_hf_hub( "PantagrueLLM/speech-base-1K" )
The community tab is the place to discuss and collaborate with the HF community!