underthesea
underthesea copied to clipboard
KeyError: '__getitems__'
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)
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