GithubHelp home page GithubHelp logo

A finetuning issue about xtab HOT 5 OPEN

arandomgoodguy avatar arandomgoodguy commented on September 25, 2024
A finetuning issue

from xtab.

Comments (5)

BingzhaoZhu avatar BingzhaoZhu commented on September 25, 2024

Thanks for your interest in our work. I think XTab are not merged to the official AG releases. I uploaded my own branch as a .zip file in this repo. Could you try installing AG from that?

from xtab.

arandomgoodguy avatar arandomgoodguy commented on September 25, 2024

Hi, thank for your quick response.

You mean download autogluon-submission.zip and access the files in it, right?

I wonder what's the file name that contains your modified XTab which can accept "finetune_on" parameter? Is it ft_transformer.py which is under "automm" folder?

Can I just extract the core code of your modified model as custom model and then train the model under AG==0.8.2?

Will this cause into numerous errors since the code hadn't been merged, or I must use the AG in your zip, otherwise the code won't work?

from xtab.

BingzhaoZhu avatar BingzhaoZhu commented on September 25, 2024

I am not sure whether the pretrained checkpoint will work with AG-0.8.2 or not, since I am not aware of the latest updates. A safe way is to just use the version in this repo.

Or you may try this: init a Transformer in AG-0.8.2, save the weights, partly replace the saved weight with the pretrained ckpts (if compatible), and continue train with AG-0.8.2. Sorry that this can be a bit inconvient.

from xtab.

arandomgoodguy avatar arandomgoodguy commented on September 25, 2024

I don't see any method regarding saving or replacing the weight of FTT in documentation of AG. So I think I will have to use your version, but I am not entirely sure how to do from 0 to 1 still. Can you show me in detail and the steps? Also, do we need to install other requirement packages?

from xtab.

Innixma avatar Innixma commented on September 25, 2024

Hi @arandomgoodguy, we are currently in the process of adding XTab's pretrained checkpoint to AutoGluon officially!

You can see the PR that is adding the logic here: autogluon/autogluon#3859, which you can try out yourself (refer to the added unit test that uses the XTab weights)

from xtab.

Related Issues (1)

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.