Giter Club home page Giter Club logo

repro's People

Contributors

ariecattan avatar danieldeutsch 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  avatar

Watchers

 avatar

repro's Issues

QAEval on cpu

Is it possible to run QAEval on cpu?
As far as I see the device param (int) is used to select which gpu to run on, but does not allow an option for cpu.

No such image: error

Trying to run the demo. When I run

lewis2020 = BART(model="bart.large.cnn")
summary2 = lewis2020.predict(document)

I Get
Not Found ("no such image: danieldeutsch/lewis2020:1.1: No such image: danieldeutsch/lewis2020:1.1")
and for dou
404 Client Error for http+docker://localhost/v1.41/images/danieldeutsch/dou2021:1.0/json: Not Found ("no such image: danieldeutsch/dou2021:1.0: No such image: danieldeutsch/dou2021:1.0")

But this model works
liu2019 = BertSumExtAbs(device=0)

collecting containers

Hi,

I am using qaeval. I observed a bunch of closed danieldeutsch/deutsch2021:1.0 containers on my system. Are they needed for reuse purposes or could that be avoided?

kind regards

Improving the documentation for qaeval

Hi,

thanks for sharing qaeval and your work on making metrics accessible! As I think making things accessible is very important to enhance further research and community dynamics I want to share my impression on setting up qaeval metric in my pipeline.

It seems the information is scattered around different places and it might be useful to be aligned and condensed.

  • How to install: advantages / disadvantages and differences between qaeval-repro, sacre-rouge and repro are not entirely clear. (qa-eval suggests sacre rouge, but with docker or not? repro doesnt suggest sacre rouge, so use it directly?)
  • Differences to paper: only on qaeval-repo
  • Return specification: only documented in sacre rouge, but does not match the return type in repro (also containing "lerc")(so additional differences to paper?)

Running on recent gpus

Hi,

has anybody else experienced issues running qaeval on recent gpus?
I am using a NVIDIA GeForce RTX 3080 Ti. As far as I see, it requires cuda >= 11 and the project requires pytorch 1.7 which is only provided with cuda up to 10.2. If I try to run the project I get an error:
RuntimeError: CUDA error: no kernel image is available for execution on the device

Did i miss something? has anybody managed to circumvent such an issue?
If anybody needs further information I can provide a minimal running code example. I also experienced the same issue for another old metric, I described it in more details on stackoverflow.

Error pulling `danieldeutsch/lewis2020:1.0 `

Pulling image danieldeutsch/lewis2020:1.0 runs into an error:

docker: failed to register layer: Error processing tar file(exit status 1): lchown /app/bart.large.cnn: invalid argument.

When the pre-trained BART models are untarred during building the Docker image, there was a warning about being unable to change the ownership of the files. I don't remember how that issue was resolved, but I think it's related to this current error.

Consider relaxing pytest requirement?

pytest is currently pinned to exactly 6.2.4, which makes it a little tough to use packages (like qaeval) that depend on sacrerouge and therefore repro in different environments. Could this versioning be relaxed to make it easier to install repro in different environments? e.g. pytest>=6.2.4. Another option would be to move it to the test_requirements of the setup file (or move it under some extra_requirements named dev or test or w/e), assuming it's not needed for actually running any metrics.

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.