OpenMOSS / OpenMOSS/MOSS-Transcribe-Diarize
webUI is not functioning
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 126
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 5
Description
When I clicked "Start Transcription"
Repo id must use alphanumeric chars, '-', '_' or '.'. The name cannot start or end with '-' or '.' and the maximum length is 96: 'OpenMOSS-Team\MOSS-Transcribe-Diarize'.
cil
attn_implementation=sdpa failed; trying the next candidate
Traceback (most recent call last):
File "F:\MOSS-Transcribe-Diarize\.venv\Lib\site-packages\transformers\utils\hub.py", line 437, in cached_files
hf_hub_download(
File "F:\MOSS-Transcribe-Diarize\.venv\Lib\site-packages\huggingface_hub\utils\_validators.py", line 84, in _inner_fn
validate_repo_id(arg_value)
File "F:\MOSS-Transcribe-Diarize\.venv\Lib\site-packages\huggingface_hub\utils\_validators.py", line 138, in validate_repo_id
raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars, '-', '_' or '.'. The name cannot start or end with '-' or '.' and the maximum length is 96: 'OpenMOSS-Team\MOSS-Transcribe-Diarize'.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "F:\MOSS-Transcribe-Diarize\moss_transcribe_diarize\app\model_runner.py", line 37, in _load_model
model = AutoModelForCausalLM.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\MOSS-Transcribe-Diarize\.venv\Lib\site-packages\transformers\models\auto\auto_factory.py", line 287, in from_pretrained
resolved_config_file = cached_file(
^^^^^^^^^^^^
File "F:\MOSS-Transcribe-Diarize\.venv\Lib\site-packages\transformers\utils\hub.py", line 293, in cached_file
file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\MOSS-Transcribe-Diarize\.venv\Lib\site-packages\transformers\utils\hub.py", line 488, in cached_files
raise OSError(f"{e}") from e
OSError: Repo id must use alphanumeric chars, '-', '_' or '.'. The name cannot start or end with '-' or '.' and the maximum length is 96: 'OpenMOSS-Team\MOSS-Transcribe-Diarize'.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in moss_transcribe_diarize/app/model_runner.py at _load_model and inspect the AutoModelForCausalLM.from_pretrained call. Reproduce the failure by clicking "Start Transcription" and use the traceback to trace the invalid path passed as the model repository. Done means the model loads without the Hugging Face repo-id validation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100