Comments (6)
from fasttext4j.
也是通过这个java版本训练出来的
刚才又训练一个数据量小一点,加载没问题
这是为啥呀
from fasttext4j.
有办法吗?大佬 @jimichan
from fasttext4j.
数据能不能发来我测试一下,把你的训练参数代码也给我看一下.
from fasttext4j.
数据能不能发来我测试一下,把你的训练参数代码也给我看一下.
数据不太方便给,见谅哈
目前猜测可能是某些特殊字符导致的这个问题,我用'[^\\u4E00-\\u9FFF]'正则去掉所有字符后,再训练模型是可以加载的
参数:
InputArgs inputArgs = new InputArgs();
inputArgs.setLoss(LossName.softmax);
inputArgs.setLr(1D);
inputArgs.setDim(100);
inputArgs.setWordNgrams(3);
inputArgs.setEpoch(25);
from fasttext4j.
能解决就好
from fasttext4j.
Related Issues (20)
- 参数问题 HOT 2
- fasttext的序列化 HOT 4
- 如何评估测试集? HOT 2
- MAX_VOCAB_SIZE 过大导致java 内存溢出 HOT 8
- 相同模型文件(官方 c++ 训练的 ftz), 预测结果不一致 HOT 8
- load 官方python版bin classifier 报错 HOT 3
- 您能提供全java代码吗?Kotlin不熟,还需要时间学习,如果java就直接上手撸了,程序员都喜欢这样。。。:) HOT 1
- cutoff and retrain args missing while quantizing HOT 2
- TrainArgs中wordNgrams参数设置
- nnSearch and analogies does not return the specified k HOT 1
- IllegalArgumentException "Unknown EntryType enum second" when loading saved model.
- train和predict好用,单没有找到test方法, HOT 2
- How to load crawl-300d-2M-subword.zip vector? HOT 1
- 模型测试问题 HOT 1
- This library returns wrong vectors when reading from cpp binary
- 预训练词向量没有生效 HOT 1
- FastText训练速度慢 HOT 1
- 在python版中用到了reduce_model在这里没有找到 HOT 1
- 测试集文本
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fasttext4j.