Code Monkey home page Code Monkey logo

Comments (4)

qibinc avatar qibinc commented on August 25, 2024 1

Hi @pavlos2094 ,

Thanks for your interest in this work. This problem is caused by how division is treated in different versions of PyTorch (line prevK = bestScoresId / numWords). Please either use the torch version in README or modify this line to prevK = bestScoresId // numWords

from kobe.

pavlos2094 avatar pavlos2094 commented on August 25, 2024

@qibinc thank you for your immediate response!

from kobe.

ssexuejinwei avatar ssexuejinwei commented on August 25, 2024

@qibinc i follow your suggestion with "modify the line prevK = bestScoresId // numWords", but it seems still something wrong. The progress bar does not change for maintaining 0% and can not get the evaluating result
0%| | 0/82 [00:00<?, ?it/s]

from kobe.

qibinc avatar qibinc commented on August 25, 2024

Hi @ssexuejinwei ,

We have rewritten this codebase with latest versions of DL frameworks and significantly improved the installation, code quality, reproducibility and visualization.

We have also replaced beam search with nucleus sampling, a method proven to be more suitable in text generation than beam search to avoid repetition. You can find how to use it at https://github.com/THUDM/KOBE#evaluating-kobe.

We also added BERTScore for evaluation, a metric better than BLEU in aligning with human judgement.

Here is a screenshot of the KOBE-v2's training progress, in case your are still interested:

image

Best,

from kobe.

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.