Closed CharlieCarisiLiu closed 5 months ago
Yes, I had the same issue and reported it here: https://github.com/oobabooga/text-generation-webui/issues/5704
There is also an issue (which I haven’t been able to resolve) where previously loaded embeddings can no longer be cleared. Both of these issues arose after the recent superboogav2 overhaul.
This issue has been closed due to inactivity for 2 months. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment.
Describe the bug
Sorry if this is the wrong place to share a bug for the Superbooga v2 extension.
With superbooga V2 enabled in session, after loading a txt / text file and start generate from Default tab, there's the following error:
When you click the generate again, it will prompt the following error:
I tried to import the extension in data_preprocessor.py with:
import pytextrank
and superbooga works again!Maybe this is something to investigate.
Is there an existing issue for this?
Reproduction
Install Superbooga V2 requirements using update_wizard_linux.sh
Enable the extension after fire up text-generation-webui
Upload and submit txt file in the superbooga v2 section
Disable is manual in general settings
Click Generate on the Default tab with <|injection-point|> and user input tags in input. Error Appears:
ValueError: [E002] Can't find factory for 'textrank' for language English (en). This usually happens when spaCy calls
nlp.create_pipewith a custom component name that's not registered on the current language class. If you're using a custom component, make sure you've added the decorator
@Language.component(for function components) or
@Language.factory(for class components).
Click Generate again Error Appears:
AttributeError: [E046] Can't retrieve unregistered extension attribute 'textrank'. Did you forget to call the
set_extensionmethod?
Screenshot
No response
Logs
System Info