Coder Social home page Coder Social logo

Comments (5)

Nicozwy avatar Nicozwy commented on August 22, 2024

Setting ' 'vocab_article_source=None" in "train_xxx.py" can solve this problem. Try this https://drive.google.com/file/d/1QpqiK_R9PGG9NesTYqC8aLJhMZ0CYQ00/view?usp=sharing

from cofced.

Aichiniuroumian avatar Aichiniuroumian commented on August 22, 2024

Setting ' 'vocab_article_source=None" in "train_xxx.py" can solve this problem. Try this https://drive.google.com/file/d/1QpqiK_R9PGG9NesTYqC8aLJhMZ0CYQ00/view?usp=sharing

Thank you very much for your timely reply!
I tried the "train_exp_fc5_LIAR_RAW2-backup.py" file you provided, but it still failed to load. I have noticed that the 'vocab_article_source.json' file is used in the "source_url = pjoin(data_url,filename)" in "reader5.py". May I ask how to comment it here?
I'm very sorry to bother you, thank you again ~๐Ÿ™‚

from cofced.

Nicozwy avatar Nicozwy commented on August 22, 2024

You should try to disable the loading function because ''vocab_article_source.json" is no longer used.
By the way, you may check what you have changed or directly use debugging mode.

from cofced.

Aichiniuroumian avatar Aichiniuroumian commented on August 22, 2024

You should try to disable the loading function because ''vocab_article_source.json" is no longer used. By the way, you may check what you have changed or directly use debugging mode.

Thanks for your timely reply, I changed the two lines in reader5.py to the following, and it can run through.
# lm_ids_dict['report_domains'] = gen_domain_id(raw_data_list[6], device=_device)
lm_ids_dict['report_domains_ids'] = []
I would also like to ask you a question.
What does Ac, p, r and maf1 at the front of the training log mean? Is there any difference between them and eA, eP, eR and emaf1 at the back?
2023-09-15 21:12:11,103 - INFO: Ep[1]-Batch[2000/5033] Loss: 117.0914 [1.71:1.13:180.00], Ac: 0.0000, p: 0.0000, r: 0.0000, maf1: 0.000000|| eA: 0.8462, eP: 0.5031, eR: 0.5085, emaf1: 0.470164
Thank you again for your kind help!๐Ÿ˜Š

from cofced.

JasonGuo1 avatar JasonGuo1 commented on August 22, 2024

7a7e65075b38e1112efacaea3a1b687
Thank you for your kind help and discuss.However, the training process doesn't seem quite right from the figure above. Did I make any mistakes๏ผŸ

from cofced.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.