Giter VIP home page Giter VIP logo

Comments (3)

shikiw avatar shikiw commented on September 17, 2024

Hi, Could you please provide some details about your result reproducing? For example, which result.

from opera.

wangyouze avatar wangyouze commented on September 17, 2024

Hi, Could you please provide some details about your result reproducing? For example, which result.

1722403989942
The image above displays the results from your paper. However, following your instructions to modify transformers-4.31.0, I obtained the following values: CHAIRs=48.6 and CHAIRi=14.2. The parameters used were num_beams=5, max_new_tokens=512, and do_sample=false

from opera.

shikiw avatar shikiw commented on September 17, 2024

Hi, thanks for your interest!

To reproduce the CHAIR results, you might need to:

  1. Make sure set the correct key_position and the parameters in the generate function, as noted in TL;DR:
opera_decoding=True,
key_position=key_position,
scale_factor=50,
threshold=15,
num_attn_candidates=5,
penalty_weights=1,
  1. Use our provided codebase and transformers version (4.29.2). Different transformers versions may affects the final results.
  2. Most crucially, use our provided 500 sample list, given in log/chair_eval_results. Different sample selection greatly influence the CHAIR results.

BTW: We also provide our generated results in log/chair_eval_results. You can directly evaluate them with CHAIR evaluation tool. You can also do the experiments in your own codebase with a new sample selection, but the results may be different with the OPERA results in our paper.

from opera.

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.