Code Monkey home page Code Monkey logo

Comments (7)

conceptofmind avatar conceptofmind commented on July 20, 2024 10

@smeyerhot Trl is Transformer Reinforcement Learning a library built by Huggingface for training language models with PPO. Trlx is an extension of Trl built by CarperAI. Both cover the same use-case for training models using reinforcement learning with human feedback. You can also build the same functionality with actor-critic ppo in PyTorch although it would require more extensive domain knowledge. You do not have to use glm-10b but it is publicly available on Huggingface's model hub unlike 130b which requires you to apply for access. You can use any encoder-decoder or decoder-only model. We are on an issue relating to GLM for aligning human feedback with the model which is why I suggested using the 10b parameter one.

from glm-130b.

Xiao9905 avatar Xiao9905 commented on July 20, 2024 3

Certainly. The alignment for GLM-130B could be important, and we are on preliminary surveying.

from glm-130b.

conceptofmind avatar conceptofmind commented on July 20, 2024

You could use the current glm-10b on huggingface with trl/trlx to construct a model with rlhf.

from glm-130b.

smeyerhot avatar smeyerhot commented on July 20, 2024

What is trl/trlx? I am very interested in this use case. Why must the 10-b parameter model be used for rlhf?

from glm-130b.

smeyerhot avatar smeyerhot commented on July 20, 2024

I am actively working on this task and would be very interested in further development coordination.

from glm-130b.

Syno8 avatar Syno8 commented on July 20, 2024

chatgpt can generate the format text and image. this need to keep the pertaining data in original format

from glm-130b.

beautifull4frank avatar beautifull4frank commented on July 20, 2024

hi gays, I use bloom to implement ppo successfully.
image
But I found the Bloom model use the AutoModelForCausalLM function.
image

however, the glm is using the AutoModelForSeq2SeqLM function.
image
there is no LM in AutoModelForSeq2SeqLM model, so do u know how to correct ?

from glm-130b.

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.