link to embeddings
This commit is contained in:
parent
5ae7c95f2c
commit
3529b9ebf1
@ -7,6 +7,9 @@ import io
|
|||||||
import gzip
|
import gzip
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
|
# wget http://publications.it.p.lodz.pl/2016/word_embeddings/pl-embeddings-cbow.txt
|
||||||
|
|
||||||
|
|
||||||
def read_data_gz(baseUrl):
|
def read_data_gz(baseUrl):
|
||||||
f = gzip.open(baseUrl,'r')
|
f = gzip.open(baseUrl,'r')
|
||||||
data_unzip = f.read()
|
data_unzip = f.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user