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
Thank you so much for sharing this repo. Just two questions :
1- Config.json has many relative paths, do we have to change them all?
2- The English lang zip file has the name '144', I am changing it to 'English' and copy it inside the ELMO folder.
Now, I am having this encoding error, any ideas?
NB. I am using Python 3.6.8
from elmoformanylangs import Embedder
e = Embedder('/home/malrawi/Desktop/My Programs/ELMO/English/')
Traceback (most recent call last):
File "<ipython-input-15-3e3369c99ad2>", line 1, in <module>
e = Embedder('/home/malrawi/Desktop/My Programs/ELMO/English/')
File "/home/malrawi/Documents/ELMO/elmoformanylangs/elmo.py", line 107, in __init__
File "/home/malrawi/Documents/ELMO/elmoformanylangs/elmo.py", line 115, in get_model
File "/home/malrawi/anaconda3/lib/python3.6/json/__init__.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/home/malrawi/anaconda3/lib/python3.6/json/__init__.py", line 344, in loads
s, 0)
JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig)
The text was updated successfully, but these errors were encountered:
Thank you so much for sharing this repo. Just two questions :
1- Config.json has many relative paths, do we have to change them all?
2- The English lang zip file has the name '144', I am changing it to 'English' and copy it inside the ELMO folder.
Now, I am having this encoding error, any ideas?
NB. I am using Python 3.6.8
The text was updated successfully, but these errors were encountered: