Skip to content
Discussion options

You must be logged in to vote

Use the complete local model directory and disable both update checks. On current FunASR, the legacy Hydra CLI is the entry point that accepts an arbitrary model path:

export HF_HUB_OFFLINE=1
export TRANSFORMERS_OFFLINE=1

funasr-hydra \
  ++model=/absolute/path/to/the/model-directory \
  ++input=/absolute/path/to/audio.wav \
  ++hub=ms \
  ++device=cpu \
  ++disable_update=true \
  ++check_latest=false

The model path must be a directory containing the checkpoint and its configuration/resources, for example:

model-directory/
├── config.yaml
├── model.pt
├── tokens.json
└── ...

Do not point ++model at model.pt itself or only at the parent cache root.

The two flags serve different purposes:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LauraGPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants