You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use gector on Windows, but this exception has been raised when I import the model.
Traceback (most recent call last):
File "d:\...\main.py", line 1, in <module>
from gector.gector.gec_model import GecBERTModel
File "C:\Users\Kotoba Trily\AppData\Local\Programs\Python\Python39\lib\gector\gector\gec_model.py", line 18, in <module>
from gector.gector.tokenizer_indexer import PretrainedBertIndexer
File "C:\Users\Kotoba Trily\AppData\Local\Programs\Python\Python39\lib\gector\gector\tokenizer_indexer.py", line 24, in <module>
class TokenizerIndexer(TokenIndexer[int]):
TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered:
I am trying to use gector on Windows, but this exception has been raised when I import the model.
The text was updated successfully, but these errors were encountered: