提交 5e59d644 编写于 作者: Z zhangruiqing01

modify word2vec

上级 05407ac2
此差异已折叠。
#!/bin/bash
wget http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz wget http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz
tar -zxf simple-examples.tgz tar -zxf simple-examples.tgz
echo `pwd`/simple-examples/data/ptb.train.txt > train.list echo `pwd`/simple-examples/data/ptb.train.txt > train.list
......
#!/bin/env python # Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved
# Copyright (c) 2016 Baidu, Inc. All Rights Reserved
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
...@@ -13,6 +12,7 @@ ...@@ -13,6 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
""" """
Example: Example:
python caldis.py DICTIONARYTXT FEATURETXT python caldis.py DICTIONARYTXT FEATURETXT
......
#!/bin/env python # Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved
# Copyright (c) 2016 Baidu, Inc. All Rights Reserved
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
...@@ -13,6 +12,7 @@ ...@@ -13,6 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
""" """
Example: Example:
python paraconvert.py --b2t -i INPUT -o OUTPUT -d DIM python paraconvert.py --b2t -i INPUT -o OUTPUT -d DIM
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册