Giter VIP home page Giter VIP logo

Comments (4)

Franck-Dernoncourt avatar Franck-Dernoncourt commented on June 5, 2024

I get accuracy of ~85% on ROC 2016 test set without having to change any parameters aside from --n_gpu, which I set to 1, just because I wanted to use only 1 GPU (if --n_gpu 2, then the default training batch size is 8x2=16, which caused out of memory issues on one GTX 1080 (8GB of GPU memory). By default n_gpu=4).

from finetune-transformer-lm.

Polynomia avatar Polynomia commented on June 5, 2024

Thank you so much for your reply.
I got 87% after I set n_gpu to 1. I think there may be a problem in implementation of multi-gpu. I test default n_gpu = 4 on a server with 8 Tesla K80 4 times but only get 53%.

from finetune-transformer-lm.

wykdg avatar wykdg commented on June 5, 2024

i got 53% in python2.7 with tensorflow 1.2,while 87% with python 3.6 and tensorflow 1.6.maybe you should check the version of tensorflow

from finetune-transformer-lm.

Newmu avatar Newmu commented on June 5, 2024

This looks to have been due to an implementation difference between python 2 and python 3. Only python 3 is supported but I've removed the code that was likely causing this issue as discussed in #21 so python 2 should work fine now.

from finetune-transformer-lm.

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.