Giter Club home page Giter Club logo

Comments (6)

Edenzzzz avatar Edenzzzz commented on May 24, 2024

Hi,
Could you try pulling the latest main branch? I don't have trouble running pp_size = 2.

from colossalai.

PurvangL avatar PurvangL commented on May 24, 2024

Hi,
Unfortunately latest main branch doesn't have finetune.py file any more. Also, benchmark.py doesn't support huggingface dataset and it runs with random dataset.
I want to run it on mentioned dataset with llama2 model.

from colossalai.

Edenzzzz avatar Edenzzzz commented on May 24, 2024

I think the booster should support any dataset. Have you tried replacing the random dataset with this?

dataset = load_dataset(args.dataset, args.task_name)

from colossalai.

PurvangL avatar PurvangL commented on May 24, 2024

I also did try replacing and modifying code. I still got None loss.
Did you get valid loss value?

from colossalai.

Edenzzzz avatar Edenzzzz commented on May 24, 2024

Actually, in pp only the last stage computes loss, so this is not a bug. You'll need to do this to see the actual loss.
image
Also, there's a llama fine-tuning example in applications/Colossal-LLaMA. Lmk if this addresses your question!

from colossalai.

PurvangL avatar PurvangL commented on May 24, 2024

Thanks @Edenzzzz . That's solves the issue I had.

from colossalai.

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.