Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit df878e7

Browse files
committed
modify word2vec
1 parent e77597f commit df878e7

10 files changed

Lines changed: 272 additions & 146 deletions

File tree

word2vec/README.md

Lines changed: 266 additions & 142 deletions
Large diffs are not rendered by default.

word2vec/data/getdata.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
wget http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz
24
tar -zxf simple-examples.tgz
35
echo `pwd`/simple-examples/data/ptb.train.txt > train.list

word2vec/image/cbow.png

11 KB
Loading

word2vec/image/sentence_emb.png

6.61 KB
Loading

word2vec/image/skipgram.png

10.6 KB
Loading
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#!/bin/env python
2-
# Copyright (c) 2016 Baidu, Inc. All Rights Reserved
1+
# Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved
32
#
43
# Licensed under the Apache License, Version 2.0 (the "License");
54
# you may not use this file except in compliance with the License.
@@ -13,6 +12,7 @@
1312
# See the License for the specific language governing permissions and
1413
# limitations under the License.
1514

15+
1616
"""
1717
Example:
1818
python caldis.py DICTIONARYTXT FEATURETXT
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#!/bin/env python
2-
# Copyright (c) 2016 Baidu, Inc. All Rights Reserved
1+
# Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved
32
#
43
# Licensed under the Apache License, Version 2.0 (the "License");
54
# you may not use this file except in compliance with the License.
@@ -13,6 +12,7 @@
1312
# See the License for the specific language governing permissions and
1413
# limitations under the License.
1514

15+
1616
"""
1717
Example:
1818
python paraconvert.py --b2t -i INPUT -o OUTPUT -d DIM
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)