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

[BUG: is the documentation example code outdated? #63

Open
JINO-ROHIT opened this issue Nov 6, 2024 · 4 comments
Open

[BUG: is the documentation example code outdated? #63

JINO-ROHIT opened this issue Nov 6, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@JINO-ROHIT
Copy link

Python -VV

3.11

Pip Freeze

-

Reproduction Steps

running the example snippet from tokenization guide throws an error - https://docs.mistral.ai/guides/tokenization/

running this line -

tokenizer = MistralTokenizer.v3(is_tekken=True)

throws an error

UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 32549: character maps to <undefined>

Expected Behavior

no error

Additional Context

No response

Suggested Solutions

No response

@JINO-ROHIT JINO-ROHIT added the bug Something isn't working label Nov 6, 2024
@jeanfmac
Copy link

jeanfmac commented Jan 4, 2025

Hi,
Did you receive any kind of feedback or found a solution? I am facing the same issue.
Thanks.

@JINO-ROHIT
Copy link
Author

not really, its been a while since i checked back again sorry

@jeanfmac
Copy link

jeanfmac commented Jan 4, 2025

Hi,
The issue is related to UTF8.
If you are on windows 10 like me, you can follow this link.
That worked for me.
Best.

@JINO-ROHIT
Copy link
Author

whup, thanks jean!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants