NTMC-Community / MatchZoo

Facilitating the design, comparison and sharing of deep text matching models.
Apache License 2.0
3.83k stars 899 forks source link

How to run tutorials? Where to download toy data? #747

Closed ljch2018 closed 5 years ago

ljch2018 commented 5 years ago

I cannot find any url or command to download the toy data ? Please show me how to download them. Thank you very much.

bwanglzu commented 5 years ago
import matchzoo as mz

task = mz.tasks.Ranking()

train_raw = mz.datasets.toy.load_data(stage='train', task=task)
test_raw = mz.datasets.toy.load_data(stage='test', task=task)

Read tutorial.

napianlin commented 5 years ago

How to run tutorials? python3.6/site-packages/matchzoo/datasets/toy/train.csv' does not exist

uduse commented 5 years ago

Make sure you have the latest version of matchzoo installed (or pull it from the github), all the toy data should be included.

seifer08ms commented 5 years ago

It works in Python command line, but not Jupyter notebook.

uduse commented 5 years ago

@seifer08ms make sure you set your notebook kernel correctly.

uduse commented 5 years ago

I hope things are working well for you now. I’ll go ahead and close this issue, but I’m happy to continue further discussion whenever needed.