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

Anchor for Text NB data location? #25

Closed
samhavens opened this issue May 3, 2019 · 1 comment
Closed

Anchor for Text NB data location? #25

samhavens opened this issue May 3, 2019 · 1 comment

Comments

@samhavens
Copy link
Contributor

I love the paper and am excited to try out the code.

When running the Anchor for Text notebook, I ran into an issue with data. You define:

def load_polarity(path='/home/marcotcr/phd/datasets/sentiment-sentences'):

and it's clear that the user has to change the path to the correct one on the machine the notebook is running... however, I looked at the site where the data is from, # dataset from http://www.cs.cornell.edu/people/pabo/movie-review-data/, and it was hard to find the data you were using.

Once I figured it out, I updated the notebook a little to pull the data and extract it, so the notebook is more self-contained. Currently it is on Google Colab but I am happy to open a PR with the changed notebook. Or just a change in the Readme to add a link to this Colab notebook.

@samhavens samhavens changed the title Anchor for Text NB data format? Anchor for Text NB data location? May 3, 2019
@marcotcr
Copy link
Owner

Thanks! I think I will just link to your colab notebook in the readme, it's nice that the visualization at the end displays.

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

2 participants