Coder Social home page Coder Social logo

Comments (7)

seominjoon avatar seominjoon commented on August 19, 2024

Will need to use --batch_size=32 for 12GB. For 24GB GPU, works well.
f1b4520

from piqa.

jhyuklee avatar jhyuklee commented on August 19, 2024

FYI, using ELMo with 12GB TitanXP (default batch_size = 64) works well :)
It takes up 9963MiB, and reaches 0.632 dev_f1 @ 5001.

from piqa.

seominjoon avatar seominjoon commented on August 19, 2024

Weird.. which commit version did you use btw?

from piqa.

jhyuklee avatar jhyuklee commented on August 19, 2024

I'm working on the forked repo (https://github.com/jhyuklee/piqa),
and the latest commit is 7dfb6fe.

from piqa.

bdhingra avatar bdhingra commented on August 19, 2024

Worth pointing out that when I tried running the code on a 12GB GPU I also ran into a memory error with the default batch size of 64. Reducing the batch size to 32 solved the problem, and also gave a better F1 score of 63.5% (before applying the ELMO fix from 72c7623).

from piqa.

seominjoon avatar seominjoon commented on August 19, 2024

@bdhingra thanks, 32 surely seems to work better (I got 63.7%).

from piqa.

jhyuklee avatar jhyuklee commented on August 19, 2024

After updating to c6e8719, batch_size=64 makes OOM for me, too.

from piqa.

Related Issues (11)

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.