Giter Site home page Giter Site logo

Accuracy of trained model? about mlconvgec2018 HOT 12 CLOSED

nusnlp avatar nusnlp commented on September 28, 2024
Accuracy of trained model?

from mlconvgec2018.

Comments (12)

shamilcm avatar shamilcm commented on September 28, 2024

from mlconvgec2018.

theincluder avatar theincluder commented on September 28, 2024

I downloaded two training datasets (nucle and lang8v2) and ran prepare_data.sh and preprocess.sh
They ran without error.

from mlconvgec2018.

shamilcm avatar shamilcm commented on September 28, 2024

Can you share your train log?

from mlconvgec2018.

theincluder avatar theincluder commented on September 28, 2024

Can you share your train log?

I have one in the priginal post.
I"ll upload another after another training.

from mlconvgec2018.

shamilcm avatar shamilcm commented on September 28, 2024

Sorry, I missed the log file.

You seem to be using a newer version of Pytorch than what we used for this project. We used an old fork of Fairseq (https://github.com/shamilcm/fairseq-py) which required Pytorch 0.2.0 compiled from source.

If you want to use a later version of Fairseq (v 0.5), you can use the scripts in this fairseq0.5 branch of our repository (https://github.com/nusnlp/mlconvgec2018/tree/fairseq0.5). This has been tested to work with Pytorch 0.4.1 (no need for compilation from source, can be installed via conda)

from mlconvgec2018.

theincluder avatar theincluder commented on September 28, 2024

Sorry, I missed the log file.

You seem to be using a newer version of Pytorch than what we used for this project. We used an old fork of Fairseq (https://github.com/shamilcm/fairseq-py) which required Pytorch 0.2.0 compiled from source.

If you want to use a later version of Fairseq (v 0.5), you can use the scripts in this fairseq0.5 branch of our repository (https://github.com/nusnlp/mlconvgec2018/tree/fairseq0.5). This has been tested to work with Pytorch 0.4.1 (no need for compilation from source, can be installed via conda)

Thank you for your help!
I have had trouble running the original branch.
(I had to test multiple pytorch and fairseq versions and modify some codes)

I'll test the new version and post the result.

from mlconvgec2018.

theincluder avatar theincluder commented on September 28, 2024

Hahaha I found the problem and it was a trivial mistake.

I should have run training/run_trained_model.sh , but I ran run.sh instead.

Sorry for bugging you for my mistake.

(anyway, the fairseq0.5 branch worked well)

from mlconvgec2018.

NikhilCherian avatar NikhilCherian commented on September 28, 2024

@theincluder @shamilcm @gurunath-p

i am having trouble getting the m2 score. i ran the
./run_trained_model.sh

Got the output.bpe.nbest.txt, output.bpe.txt and output.tok.txt.

But i could not get the m2 score.

Note: i did not train the reranker. I did it without it. Can you tell me what i am missing? Any help would be appreciated.

from mlconvgec2018.

shamilcm avatar shamilcm commented on September 28, 2024

If you have decoded the CoNLL-2014 test set, you need to get the reference M2 file from https://www.comp.nus.edu.sg/~nlp/conll14st.html. Download the annotated test data. The reference M2 file for the competition is the official-2014.combined.m2 file in the no-alt/ directory. Download the official M2 scorer from the same page. Run m2 scorer using ./m2scorer output.tok.txt /path/to/official-2014.combined.m2

from mlconvgec2018.

NikhilCherian avatar NikhilCherian commented on September 28, 2024

@shamilcm
thanks for the link. i ran the m2 scorer, but the problem was difference in output.tok.txt and conll14-test.m2.

image
So, i followed this another issue
#2

so i followed as u told in the issue by :

  1. Using interactive.py instead of generate.py with a --interactive.
  2. I tried to preprocess again with --testpref as the conll14-test.tok.src.Now the error is that i dont have conll14-test.tok.trgt target file.
    image

I would be so thankful if you could help me here. Thanks in advance

from mlconvgec2018.

NikhilCherian avatar NikhilCherian commented on September 28, 2024

@shamilcm
I have another doubt regarding the accuracy of model.
I got the results one model.
image

Can you describe more about some other wiki corpora described in the paper to bolster the F0.5 score?
Could you also share how you created the ensemble with different initializations? I would like to know that too.

Thanks a lot in advance.

from mlconvgec2018.

shamilcm avatar shamilcm commented on September 28, 2024

from mlconvgec2018.

Related Issues (20)

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.