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

problem with training my model using ufd #69

Open
tk41c opened this issue Feb 23, 2024 · 0 comments
Open

problem with training my model using ufd #69

tk41c opened this issue Feb 23, 2024 · 0 comments

Comments

@tk41c
Copy link

tk41c commented Feb 23, 2024

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?

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

1 participant