undertheseanlp / underthesea

Underthesea - Vietnamese NLP Toolkit

Home Page:http://undertheseanlp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyError: '__getitems__'

nguyenbinh0807 opened this issue · comments

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'

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