-
Notifications
You must be signed in to change notification settings - Fork 486
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
语料数据可否上传一下! #33
Comments
为什么运行后debug跟踪,发现loadjavaModel方法中的 @ansjsun 我一开始以为是你发的这个百度网盘的预料文件太大导致的,删掉只剩下一行也是如此唉。 |
我发的那个是语料。需要用语料训练成模型后再加载。不能直接加载语料 @hexufeng 你加载的是用java程序训练的model吗? |
谢谢回复! |
loadjavamodel是你自己训练的model。不用下载。。根据语料生成模型后用loadjavamodel 加载 |
训练上面给出的语料时候,报出java.lang.OutOfMemoryError: Java heap space,请问各位在测试的时候,jvm的参数是什么样的? |
@tangjx 需要将jvm的内存调大,参数是-Xmx10240m -Xms10240m,不过不建议用java版本的训练,我用1G的语料数据训练时,6G内存还是提示溢出了,而c语言版本训练时只是用了1G多的内存,java的内存要求太多了 |
语料数据可否上传一下!
The text was updated successfully, but these errors were encountered: