mtreviso commited on
Commit
4b9adab
·
verified ·
1 Parent(s): 8e5a256

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -37,13 +37,13 @@ The embeddings were trained on a large Portuguese corpus (Brazilian + European),
37
  from huggingface_hub import hf_hub_download
38
  from safetensors.numpy import load_file
39
 
40
- path = hf_hub_download(repo_id="nilc-nlp/glove--100d",
41
  filename="embeddings.safetensors")
42
 
43
  data = load_file(path)
44
  vectors = data["embeddings"]
45
 
46
- vocab_path = hf_hub_download(repo_id="nilc-nlp/glove--100d",
47
  filename="vocab.txt")
48
  with open(vocab_path) as f:
49
  vocab = [w.strip() for w in f]
 
37
  from huggingface_hub import hf_hub_download
38
  from safetensors.numpy import load_file
39
 
40
+ path = hf_hub_download(repo_id="nilc-nlp/glove-100d",
41
  filename="embeddings.safetensors")
42
 
43
  data = load_file(path)
44
  vectors = data["embeddings"]
45
 
46
+ vocab_path = hf_hub_download(repo_id="nilc-nlp/glove-100d",
47
  filename="vocab.txt")
48
  with open(vocab_path) as f:
49
  vocab = [w.strip() for w in f]