Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

demo notebook references unavailable private files #197

Open
slashdottir opened this issue Mar 29, 2023 · 0 comments
Open

demo notebook references unavailable private files #197

slashdottir opened this issue Mar 29, 2023 · 0 comments

Comments

@slashdottir
Copy link

https://github.com/facebookresearch/MUSE/blob/main/demo.ipynb

src_path = '/private/home/aconneau/projects/MUSE/dumped/debug/8gqhcyvoto/vectors-en.txt'
tgt_path = '/private/home/aconneau/projects/MUSE/dumped/debug/8gqhcyvoto/vectors-es.txt'

FileNotFoundError Traceback (most recent call last)
in <cell line: 5>()
3 nmax = 50000 # maximum number of word embeddings to load
4
----> 5 src_embeddings, src_id2word, src_word2id = load_vec(src_path, nmax)
6 tgt_embeddings, tgt_id2word, tgt_word2id = load_vec(tgt_path, nmax)

in load_vec(emb_path, nmax)
2 vectors = []
3 word2id = {}
----> 4 with io.open(emb_path, 'r', encoding='utf-8', newline='\n', errors='ignore') as f:
5 next(f)
6 for i, line in enumerate(f):

FileNotFoundError: [Errno 2] No such file or directory: '/private/home/aconneau/projects/MUSE/dumped/debug/8gqhcyvoto/vectors-en.txt'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant