Coder Social home page Coder Social logo

Fork of Transformers about diffusion-lm HOT 6 OPEN

xiangli1999 avatar xiangli1999 commented on July 24, 2024 4
Fork of Transformers

from diffusion-lm.

Comments (6)

XiangLi1999 avatar XiangLi1999 commented on July 24, 2024 3

Hi,
Thanks for the question.
I think for this version, I didn't change the library part, so it shouldn't affect the Diffusion-LM code if you just use your original transformer install. (There is another version where I changed the generation_util.py to implement PoE decoding, but it's not here.)

I changed some code here: Diffusion-LM/transformers/examples/pytorch/language-modeling/* to implement some baselines and classifier models.

from diffusion-lm.

dashstander avatar dashstander commented on July 24, 2024 3

Thanks so much @XiangLi1999 ! So is it safe to say that, for those of us who just want to reproduce your model we can just install the transformers from pip or conda and be fine?

from diffusion-lm.

masoudhashemi avatar masoudhashemi commented on July 24, 2024

yeah, I have the same question!

from diffusion-lm.

cameronalonso2 avatar cameronalonso2 commented on July 24, 2024

Hi @XiangLi1999
this is a bad idea to fork the codes of another library, and make your codes super untidy, this is not clear which files have been changed and hard to follow the method implementation. please do NOT fork a library, and modify the files and install the original library.

from diffusion-lm.

rabeehk avatar rabeehk commented on July 24, 2024

Hi @XiangLi1999
thanks for sharing the codes. About "There is another version where I changed the generation_util.py to implement PoE decoding, but it's not here." so you mean there is some parts of the codes which does not exist in the repo? I greatly appreciate if you could share all parts of the codes to be able to reproduce the results.
Many thanks

from diffusion-lm.

rschaffar avatar rschaffar commented on July 24, 2024

For everyone who wants to see the detailed differences. I searched for the commit with the minimum amount of differences to the forked code in the project.

Apparently this was forked from commit 8ce133063120683018b214fe10d1449e4c2401da of https://github.com/huggingface/transformers

from diffusion-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.