DanielLin97 / ACLR4RUMOR-NAACL2022

Code and datasets for our NAACL 2022 paper - Detect Rumors in Microblog Posts for Low-Resource Domains via Adversarial Contrastive Learning
MIT License
64 stars 8 forks source link

There's something wrong with my code#5 #3

Closed baiw123 closed 1 year ago

baiw123 commented 1 year ago

Hello, when I run your code by "python ./Process/getWeibograph.py Twitter", how can I get the files in Weibograph? Looking forward to your answer, thank you.

TpBlair commented 1 year ago

you can write by yourself.

DanielLin97 commented 1 year ago

yeah, you could run the code for the related files or you could just straightforwardly download the files from the links I posted.

TpBlair commented 1 year ago

traindata_list, testdata_list = loadBiData(dataname, treeDic, x_train, x_test, TDdroprate,BUdroprate) twitterdata_list = loadBiData(dataname='Weibo', treeDic=treeDic, fold_x_train=twitter_train, fold_x_test=[], TDdroprate=TDdroprate, BUdroprate=BUdroprate)

treeDic?????????????????????????????????????

DanielLin97 commented 1 year ago

traindata_list, testdata_list = loadBiData(dataname, treeDic, x_train, x_test, TDdroprate,BUdroprate) twitterdata_list = loadBiData(dataname='Weibo', treeDic=treeDic, fold_x_train=twitter_train, fold_x_test=[], TDdroprate=TDdroprate, BUdroprate=BUdroprate)

treeDic?????????????????????????????????????

sorry, could you please present your question more precisely about that point?

baiw123 commented 1 year ago

yeah, you could run the code for the related files or you could just straightforwardly download the files from the links I posted.

Thanks for your answer, the file I downloaded from https://www.dropbox.com/s/46r50ctrfa0ur1o/rumdect.zip?dl=0. is not a txt file or an npz file, I don't know how to use it.

DanielLin97 commented 1 year ago

yeah, you could run the code for the related files or you could just straightforwardly download the files from the links I posted.

Thanks for your answer, the file I downloaded from https://www.dropbox.com/s/46r50ctrfa0ur1o/rumdect.zip?dl=0. is not a txt file or an npz file, I don't know how to use it.

actually it's the raw datasets. please download the processed files from the link I posted in the README at https://github.com/DanielLin97/ACLR4RUMOR-NAACL2022/tree/main/data

baiw123 commented 1 year ago

yeah, you could run the code for the related files or you could just straightforwardly download the files from the links I posted.

Thanks for your answer, the file I downloaded from https://www.dropbox.com/s/46r50ctrfa0ur1o/rumdect.zip?dl=0. is not a txt file or an npz file, I don't know how to use it.

actually it's the raw datasets. please download the processed files from the link I posted in the README at https://github.com/DanielLin97/ACLR4RUMOR-NAACL2022/tree/main/data

Thx for you answer,but I can't find the processed file at https://github.com/DanielLin97/ACLR4RUMOR-NAACL2022/tree/main/data/Weibo/WEIBO

DanielLin97 commented 1 year ago

yeah, you could run the code for the related files or you could just straightforwardly download the files from the links I posted.

Thanks for your answer, the file I downloaded from https://www.dropbox.com/s/46r50ctrfa0ur1o/rumdect.zip?dl=0. is not a txt file or an npz file, I don't know how to use it.

actually it's the raw datasets. please download the processed files from the link I posted in the README at https://github.com/DanielLin97/ACLR4RUMOR-NAACL2022/tree/main/data

Thx for you answer,but I can't find the processed file at https://github.com/DanielLin97/ACLR4RUMOR-NAACL2022/tree/main/data/Weibo/WEIBO

you can download all the processed files from the links I posted in README, not just in WEIBO.

baiw123 commented 1 year ago

Ok .Thank you for your patient answer!