alphacep / alphacep/vosk-api

issues with vosk-recasepunc-en-0.22

Open
#1,998 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

C:\vosk-recasepunc-en-0.22>python3 example.py vosk-adapted.txt
Traceback (most recent call last):
File "C:\vosk-recasepunc-en-0.22\example.py", line 10, in
predictor = CasePuncPredictor('checkpoint', lang="en")
File "C:\vosk-recasepunc-en-0.22\recasepunc.py", line 282, in __init__
self.model.load_state_dict(loaded['model_state_dict'])
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\home\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\torch\nn\modules\module.py", line 2624, in load_state_dict
raise RuntimeError(
...<3 lines>...
)
RuntimeError: Error(s) in loading state_dict for Model:
Unexpected key(s) in state_dict: "bert.embeddings.position_ids".

win10
Python.3.13

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.