alphacep / alphacep/vosk-api

Issues with Loading Punctuation Models (vosk-recasepunc-en-0.22)

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

Description

Hi there,

I am facing some issues when trying to use the punctuation models for `vosk-recasepunc-en-0.22` and `vosk-recasepunc-de-0.21`.

The model ZIP file contains another ZIP archive named **`checkpoint`**, but I am unsure what exactly this `checkpoint` file is and how to load it properly. When I attempt to load the model using:

```python
from recasepunc import CasePuncPredictor
try:
predictor = CasePuncPredictor('vosk-recasepunc-en-0.22/checkpoint')
```

I get the following error:

```
PermissionError: [Errno 13] Permission denied
```

Could anyone provide clarification on:
1. What exactly the `checkpoint` file is and how it should be used to load the model?
2. How to correctly work with the punctuation models in general?

Any guidance or suggestions to resolve this issue would be greatly appreciated!

Thank you in advance!

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.