Coder Social home page Coder Social logo

Training on GPU about ptec HOT 7 CLOSED

eqtpartners avatar eqtpartners commented on September 27, 2024
Training on GPU

from ptec.

Comments (7)

valentinbuc avatar valentinbuc commented on September 27, 2024 1

Hey @AlphaKh,

I would recommend installing a Windows Subsystem for Linux (WSL). Once installed, you can open the WSL terminal and run the bash commands as provided in the readme.

Alternatively, you can also open the .sh files and run the python commands in your windows command prompt. That will only be a few more commands to run, but will have the same effect.

from ptec.

valentinbuc avatar valentinbuc commented on September 27, 2024 1

I am glad to hear that, would be happy to hear about the results of your project!

For calculating the performance, we used the classification_report from sklearn.metrics. You can see how we implemented it here https://github.com/EQTPartners/PTEC/blob/main/sectors/utils/evaluation.py

The computational costs were a bit more complex to calculate. We used torch.profiler.profile, you can see how we implemented it here: https://github.com/EQTPartners/PTEC/blob/main/sectors/experiments/test_flops.py
As the profiler itself uses a lot of memory, this was only done for a small set of samples, and then we extrapolated the FLOPs used on these samples to the complete prompt-tuning and inference process.

from ptec.

valentinbuc avatar valentinbuc commented on September 27, 2024 1

If you are limited in computing resources, it may indeed be ideal to work with the bigscience/bloom models!

If you don't aim for an exact reproduction but also want to extend the study a bit, it should also be interesting to try out some of the newer and smaller models like gemma 2B. That would probably require some adjustments to the codebase however!

from ptec.

AlphaKh avatar AlphaKh commented on September 27, 2024

We want to know how you calculated the performance metrics and computational costs in your results section. Could you share any specific methods or insights to help us replicate your experimental setup? We've only experimented on BigScience dataset instead of the larger HuggingLLAMA dataset because of the resource limitations and how much parameters it got. Just so you know, we're university students working on a project, and we chose your paper to reproduce. I know not doing HuggingLLAMA will effect the module but is it still possible to calculate the results?

from ptec.

AlphaKh avatar AlphaKh commented on September 27, 2024

One last thing regarding the results, what are we supposed to compare exactly because as I said we didn't do any experiments on Huggingllama because it's too big with 7b parameters. So are we supposed to compare the methods done on the experiments for bigscience?

from ptec.

AlphaKh avatar AlphaKh commented on September 27, 2024

Thank you so much for your recommendations, would you mind if you record yourself for 30s and in these 30s If you don't mind complementing our work integrity and ethics some things along the line "They contacted me about the models testing and training error'' This will be used in out presentation to help us stand out and we appreciate all the effort you helped us in.

from ptec.

valentinbuc avatar valentinbuc commented on September 27, 2024

Your team definitely put great effort into this project, and I can endorse that you contacted me to clarify questions. I would be curious to read your report and have a look at your findings!

from ptec.

Related Issues (1)

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.