Code Monkey home page Code Monkey logo

benbench's People

Contributors

hongtangshui avatar pfliu-nlp avatar rzfan525 avatar sinclaircoder avatar vaguewine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

andreslavescu

benbench's Issues

Toolkit used for detection metrics calculation

Tidy up and encapsulate the code and open source a small toolkit to help calculate metrics:

  • based on the reference data if given its path;
  • support multiple metrics, including ppl, ngram-acc, min-k, etc.;
  • it could be good if taking the calculation of metrics based on the answer part and full text, respectively.
  • ...

When I use the ppl indicator, it shows nan

orgn-GSM8K-train Average_ppl_accuracy: nan
PPL of xxxx
GSM8K_rewritten-test-1: nan
GSM8K_rewritten-test-2: nan
GSM8K_rewritten-test-3: nan
GSM8K_rewritten-train-1: nan
GSM8K_rewritten-train-2: nan
GSM8K_rewritten-train-3: nan
orgn-GSM8K-test: nan
orgn-GSM8K-train: nan

why this happens?

Multi-GPU Support

Are the ngram and ppl scripts currently capable of leveraging multi-GPU setups for inference? If not, are there any planned updates or workarounds that might support this feature?

Additionally, is it possible to integrate vllm support to accelerate the ngram computations?

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.