Giter Site home page Giter Site logo

Comments (8)

madisonmay avatar madisonmay commented on August 17, 2024 7

Hi @phiresky,

We're definitely tracking this -- in fact we're doing some of the preliminary work on this today. For the most part, we think the architecture of finetune is general enough to support this and we intend to support BERT as a base model for finetune as soon as we find enough cycles to complete a port!

from finetune.

benleetownsend avatar benleetownsend commented on August 17, 2024 1

Just a quick update on this, we did some initial evaluations and found that out of the box, BERT performs worse than Finetune on the < 1000 samples that we are specifically interested in targeting. For this reason doing a compatible port was not a high priority for us.

We have started the process of implementing features from the BERT model into Finetune with the aim to train our own base models. This will be a continuous process and I will keep you updated.

from finetune.

phiresky avatar phiresky commented on August 17, 2024 1

nice, thanks! I'll try it out in a bit

from finetune.

madisonmay avatar madisonmay commented on August 17, 2024 1

Sounds good! We have some more plots of BERT model training but not against GPT baselines so probably not as useful to you. LMK what results you see if you do end up running a GPT / BERT comparison, always looking to collect datapoints on how the different backends perform!

from finetune.

madisonmay avatar madisonmay commented on August 17, 2024

Hi @phiresky, support for BERT is live!

Example usage

from finetune.base_models import BERT
model = Classifier(base_model=BERT)

https://finetune.indico.io/#using-different-base-models-e-g-bert-gpt2

from finetune.

phiresky avatar phiresky commented on August 17, 2024

Actually, I just realized I don't have access to the dataset I previously wanted to try it on anymore. Do you happen to have and results on performance? Since @benleetownsend previously mentioned that you had worse performance than with GPT when you tried it.

from finetune.

madisonmay avatar madisonmay commented on August 17, 2024

@phiresky BERT large will likely outperform GPT at >300 examples. For BERT small it's more of a toss-up. Legend of this is cutoff, but blue is GPT, green is BERT large, and red is BERT small.

image

from finetune.

phiresky avatar phiresky commented on August 17, 2024

thanks for the information! I guess i can close this :)

from finetune.

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.