-
Notifications
You must be signed in to change notification settings - Fork 923
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
ValueError: not enough values to unpack (expected 2, got 1). #353
Comments
I occurred same error |
1 similar comment
I occurred same error |
The For example, consider the following code: x, y = (1,) This will raise the Possible Causes and Solutions:
If you're working with specific code, feel free to share it, and I can help you pinpoint the issue! |
same issue, any upds? |
@DenisBalan I had same issue and took my few days, then I realize that we need to install sentencepiece. |
When I used load.py to load the meta tokenizer.model, I encountered the following error while running the function load_tiktoken_bpe: ValueError: not enough values to unpack (expected 2, got 1).
It's that the line.split() in the following code:
for line in contents.splitlines() if line
only produces a list with a length of 1 or 0.The text was updated successfully, but these errors were encountered: