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
Above is the code i got from the sgnlp ufd's documentation to train the ufd model on a custom dataset. As this is my first time training a pre trained NLP im not sure what im doing wrong but i keep getting the error:
File ~\anaconda3\envs\myenv\lib\encodings\cp1252.py:23 in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 3: character maps to
I have tried many solutions but none of them have worked.
Is there something im doing wrong?
The text was updated successfully, but these errors were encountered:
from sgnlp.models.ufd.utils import parse_args_and_load_config
from sgnlp.models.ufd.train import train
import json
cfg = parse_args_and_load_config("json file directory")
train(cfg)
Above is the code i got from the sgnlp ufd's documentation to train the ufd model on a custom dataset. As this is my first time training a pre trained NLP im not sure what im doing wrong but i keep getting the error:
File ~\anaconda3\envs\myenv\lib\encodings\cp1252.py:23 in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 3: character maps to
I have tried many solutions but none of them have worked.
Is there something im doing wrong?
The text was updated successfully, but these errors were encountered: