RMSnow / WWW2021

Official repository to release the code and datasets in the paper "Mining Dual Emotion for Fake News Detection", WWW 2021.
https://doi.org/10.1145/3442381.3450004
77 stars 18 forks source link

About python input_of_semantics.py #7

Closed realMoana closed 2 years ago

realMoana commented 2 years ago

Hello, when I run input_of_semantics.py, I ran into this problem:

Traceback (most recent call last): File "input_of_semantics.py", line 27, in language='Chinese', embeddings_file='../../word-embedding/sgns.weibo.bigram-char') File "../../word-embedding/load_embeddings.py", line 8, in load_embeddings with open(embeddings_file, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '../../word-embedding/sgns.weibo.bigram-char'

There is no file sgns.weibo. Bigram-char in the folder, may I ask what is wrong with me? Thank you!

realMoana commented 2 years ago

And where is the glove.twitter.27B.200d.txt?

RMSnow commented 2 years ago

Readme in the word-embedding foloder would help you. After downloading the external pretrained word embeddings (glove.twitter.27B.200d.txt for English, and sgns.weibo.bigram-char for Chinese), you need to move them into the word-embedding folder before running the code.

realMoana commented 2 years ago

I downloaded it and ran it successfully. One question remains: where can I see the results of RMSE for Rumoureval-19?

RMSnow commented 2 years ago

The procedure of calculating the RMSE can be seen here. I have integrated it during training, and you can find all the results in the code/train/results folder, where RMSE is annotated by RMSE key in the json files.