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

Error in reading ngram_probs.json file #1

Open
herochen7372 opened this issue Oct 25, 2024 · 1 comment
Open

Error in reading ngram_probs.json file #1

herochen7372 opened this issue Oct 25, 2024 · 1 comment

Comments

@herochen7372
Copy link

I'm having trouble reading the ngram_probs.json file. Is it caused by incomplete file data? Can you please provide help? Thanks.

@herochen7372
Copy link
Author

I'm having trouble reading the ngram_probs.json file. Is it caused by incomplete file data? Can you please provide help? Thanks.我在读取 ngram_probs.json 文件时遇到问题。是不是文件数据不完整造成的?您能提供帮助吗?谢谢。

Exception has occurred: JSONDecodeError
Expecting ':' delimiter: line 1 column 2621441 (char 2621440)
File "/home/u2021111446/CSPLAT/SLP/Gloss2Text-main/charsplit/splitter.py", line 18, in
ngram_probs = json.load(f)
File "/home/u2021111446/CSPLAT/SLP/Gloss2Text-main/charsplit/init.py", line 1, in
from charsplit.splitter import Splitter
File "/home/u2021111446/CSPLAT/SLP/Gloss2Text-main/gloss_data.py", line 10, in
from charsplit import Splitter
File "/home/u2021111446/CSPLAT/SLP/Gloss2Text-main/train_gls2text_nllb_lora.py", line 3, in
from gloss_data import GlossData
json.decoder.JSONDecodeError: Expecting ':' delimiter: line 1 column 2621441 (char 2621440)

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