Giter Club home page Giter Club logo

Comments (4)

akd13 avatar akd13 commented on May 26, 2024 2

You need to use transformers==4.29.0

from dnabert_2.

sai-kiran7 avatar sai-kiran7 commented on May 26, 2024

Thank you @akd13 now the above issue is resolved

from dnabert_2.

sai-kiran7 avatar sai-kiran7 commented on May 26, 2024

@akd13 can you help me out in understanding the below point more clearly

Some weights of BertModel were not initialized from the model checkpoint at zhihan1996/DNABERT-2-117M and are newly initialized: ['bert.pooler.dense.bias', 'bert.pooler.dense.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.

from dnabert_2.

Zhihan1996 avatar Zhihan1996 commented on May 26, 2024

Hey @akd13, thanks for the response.

Hey @sai-kiran7, this basically means some of the parameters in the model you are currently using does not exist in the pre-trained checkpoint. This is because the bert.pooler layer are used for transforming the last hidden state of the [CLS] token, and in our pre-training stage, we do not have any training target that relates to [CLS]. So we do not need the bert.pooler layer in the pre-training stage.

from dnabert_2.

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.