Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: '__getitems__' #714

Open
nguyenbinh0807 opened this issue Sep 6, 2023 · 1 comment
Open

KeyError: '__getitems__' #714

nguyenbinh0807 opened this issue Sep 6, 2023 · 1 comment

Comments

@nguyenbinh0807
Copy link

please help me, error is:
Downloading: "https://github.com/undertheseanlp/underthesea/releases/download/resources/vi-dp-v1a1.zip" to /root/.cache/torch/hub/checkpoints/vi-dp-v1a1.zip
100%|██████████| 45.4M/45.4M [00:00<00:00, 109MB/s]
FieldEmbeddings(n_vocab=1000)

KeyError Traceback (most recent call last)
in <cell line: 1>()
----> 1 dependency_parse("doanh thu thuần của nvl so với hpg năm 2023")

10 frames
/usr/local/lib/python3.10/dist-packages/underthesea/transforms/conll.py in getattr(self, name)
109 return self.dict[name]
110 else:
--> 111 return self.values[self.maps[name]]
112
113 def setattr(self, name, value):

KeyError: 'getitems'

@tri218138
Copy link

Until an issue is fixed, you can install the previous version (stable)
!pip install underthesea[deep]==6.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants