Update README.md
Browse files
    	
        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 
     | 
| 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 
     | 
| 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]
         
     |