norybaby / poet Goto Github PK
View Code? Open in Web Editor NEW我是“小诗姬”,全唐诗作为训练数据。可以写押韵自由诗、藏头诗、给定若干字作为主题的诗。
我是“小诗姬”,全唐诗作为训练数据。可以写押韵自由诗、藏头诗、给定若干字作为主题的诗。
您好,阅读您代码过程中发现您是使用将loss取平均来计算ppl的。
但是查阅网上资料后我发现其定义是生成字符的概率的几何平均数。
所以想请问下两种定义有什么不同吗?
看了一下内容是乱码,请问是做什么用的?
word2vec怎样安装??
Writing to /usr/local/poet-master/output_poem/tensorboard_log/1555315332
04:02:12 INFO:args are:
Namespace(batch_size=16, best_model='', best_valid_ppl=inf, cell_type='lstm', data_path='./data/poem/', debug=False, dropout=0.0, embedding_size=128, encoding='utf-8', hidden_size=128, init_dir='', init_model='', input_dropout=0.0, learning_rate=0.005, max_grad_norm=5.0, num_epochs=5, num_layers=2, num_unrollings=64, output_dir='output_poem', progress_freq=100, save_best_model='output_poem/best_model/model', save_model='output_poem/save_model/model', tb_log_dir='/usr/local/poet-master/output_poem/tensorboard_log/1555315332', test=False, train_frac=0.9, valid_frac=0.05, verbose=0)
04:02:12 INFO:Parameters are:
{
"batch_size": 16,
"cell_type": "lstm",
"dropout": 0.0,
"embedding_size": 128,
"hidden_size": 128,
"input_dropout": 0.0,
"learning_rate": 0.005,
"max_grad_norm": 5.0,
"num_layers": 2,
"num_unrollings": 64
}
tensor_file:./data/poem/poem_ids.txt
Loading dataset from ./data/poem/poem_ids.txt
file maxSeqLen = 64
Loaded ./data/poem/: training samples:65235 ,validationSamples:3837,testingSamples:7676
tensor_file:./data/poem/poem_ids.txt
Loading dataset from ./data/poem/poem_ids.txt
Killed
这个是什么原因呢? 谢谢
01:20:32 INFO:Start training
2018-12-15 13:20:32.416065: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Killed
what's wrong..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.