explosion / explosion/spacy-llm

FileNotFoundError: [Errno 2] No such file or directory: 'local-ner-cache/9963044417883968883.spacy'

Open
#414 3 comments 0 reactions 0 assignees View on GitHub
bug feat/cache
Dominant language
Python
Stars
1.4k
Forks
110
PR merge metrics
No merged PRs in 30d

Description

I changed the `spacy.NER.v2` to `spacy.NER.v3`
```
ValueError: Prompt template in cache directory (local-ner-cache/prompt_template.txt) is not equal with current prompt template. Reset your cache if you are using a new prompt template.
```

After deleting the folder __local-ner-cache__, I encountered the following error:
```
FileNotFoundError: [Errno 2] No such file or directory: 'local-ner-cache/9963044417883968883.spacy'
```

What is the right way to "_Reset your cache if you are using a new prompt template._"?

Because after the deleting the folder __local-ner-cache__, I'm no longer able to annotate the same dataset:
```
dotenv run -- prodigy ner.llm.correct
```

image

There are still around 1k samples to annotate.

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.