Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find embeddings.pkl #16

Open
sitcons opened this issue Apr 22, 2022 · 2 comments
Open

Cannot find embeddings.pkl #16

sitcons opened this issue Apr 22, 2022 · 2 comments

Comments

@sitcons
Copy link

sitcons commented Apr 22, 2022

Hi,

Would you be able to point me in the direction where I can get the file "embeddings.pkl" mentioned in the main

print('Getting embeddings ...') emb_path = args.emb_path vect_path = os.path.join(args.data_path.split('/')[0], 'embeddings.pkl') vectors = {}

Many thanks.

@quynhneo
Copy link

quynhneo commented Apr 23, 2022

in my clone, which was a while ago, vect_path is declared and never used any where in the code. anyway, "embeddings.pkl" is in data_path which is defined here parser.add_argument('--data_path', type=str, default='un/split_paragraph_1', help='directory containing data')
you don't have this un/split_paragraph_1 directory if you just clone. you have to create it yourself and download the embedding per @adjidieng instruction.

I have made the code to work (using different data though), if you want to see an example: https://github.com/quynhneo/detm-arxiv

@adjidieng
Copy link
Owner

adjidieng commented Apr 23, 2022 via email

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

No branches or pull requests

3 participants