Skip to content

Commit

Permalink
test files for embeddings
Browse files Browse the repository at this point in the history
  • Loading branch information
undertherain committed Apr 28, 2018
1 parent a4e009d commit 5f919e7
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/data/embeddings/npy/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"test"}
Binary file added tests/data/embeddings/npy/test.npy
Binary file not shown.
5 changes: 5 additions & 0 deletions tests/data/embeddings/npy/test.vocab
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
the
apple
banana
fast
quick
5 changes: 5 additions & 0 deletions tests/data/embeddings/text/plain_no_file_header/emb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
the 0.4 0.3 0.2 0.1
apple 0.1 0.2 0.3 0.4
banana 0.1 0.2 0.3 0.41
fast 0.1 0.1 0.1 0.1
quick 0.1 0.1 0.1 0.2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"test"}
8 changes: 8 additions & 0 deletions tests/data/embeddings/text/plain_with_file_header/emb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
7 4
the 0.4 0.3 0.2 0.1
apple 0.1 0.2 0.3 0.4
banana 0.1 0.2 0.3 0.41
fast 0.1 0.1 0.1 0.1
quick 0.1 0.1 0.1 0.2
tiger 0.1 0.1 0.1 0.2
cat 0.1 0.1 0.1 0.2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type":"test"}

0 comments on commit 5f919e7

Please sign in to comment.