Giter Club home page Giter Club logo

Comments (6)

haixpham avatar haixpham commented on August 14, 2024 1

I'm not the author of the work. From their introduction, the weights are result of pretraining

from i-code.

haixpham avatar haixpham commented on August 14, 2024

Please ignore my question, I found the answer. At the beginning of forward() pass this loop

if input_dict is not None:
            return_task_outputs = []
            for task in input_dict:
                return_task_outputs.append(self.forward(**input_dict[task]))
            return return_task_outputs

computes the loss for each training task separately, then they are summed up in trainer.training_step()

from i-code.

ofir1080 avatar ofir1080 commented on August 14, 2024

Hi @haixpham
Can you please share you managed to reproduce the pretraining?
BTW, are you sure that the supplied checkpoints are pretraining? I saw that they used them for inference in RVL-CDIP for doc. classification.
Thanks!

from i-code.

haixpham avatar haixpham commented on August 14, 2024

@ofir1080 Unfortunately this is for a company project so I'm not allowed to share code at the moment. The code in this repository is for downstream finetuning, the code for pretraining is at a different repo

from i-code.

ofir1080 avatar ofir1080 commented on August 14, 2024

Yes sure, I was just asking if the given checkpoints are already finetuned, or only pretrained?

from i-code.

JaneLinlalala avatar JaneLinlalala commented on August 14, 2024

@ofir1080 Unfortunately this is for a company project so I'm not allowed to share code at the moment. The code in this repository is for downstream finetuning, the code for pretraining is at a different repo

@haixpham Hi, could you please give the link of the other repo for the pretraining code? I can't find it.

from i-code.

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.