Git Product home page Git Product logo

Comments (5)

craffel avatar craffel commented on September 26, 2024 15

We really can't provide support of the kind "T5 didn't work well for me on task X". Whether it worked or not will depend on a lot of factors (the dataset itself, the size of the dataset, the amount of fine-tuning, the chosen task format, etc). I can tell you at least that we have had great success applying T5 to NER tasks.

from text-to-text-transfer-transformer.

craffel avatar craffel commented on September 26, 2024 5

T5 supports any task which can be cast as a text-to-text task, and I would argue NER can be cast as a text-to-text task something like so:
Input: "Jim bought 300 shares of Acme Corp. in 2006."
Target: "Jim [Person] Acme Corp. [Organization] 2006 [Time]"
or something. We haven't tried T5 on any NER tasks but I would be surprised if this didn't work since other span-prediction tasks (like SQuAD) work well.

from text-to-text-transfer-transformer.

Guillem96 avatar Guillem96 commented on September 26, 2024

@Morizeyao did you try T5 with NER? Did you get good results?

We are trying to finetune T5 with NER downstream task and the results are not really good.

from text-to-text-transfer-transformer.

WilliamTambellini avatar WilliamTambellini commented on September 26, 2024

@craffel I have the same question than @Guillem96 and that issue does not seem to be resolved yet. Would you mind reopening this ticket?

from text-to-text-transfer-transformer.

nitinvwaran avatar nitinvwaran commented on September 26, 2024

We really can't provide support of the kind "T5 didn't work well for me on task X". Whether it worked or not will depend on a lot of factors (the dataset itself, the size of the dataset, the amount of fine-tuning, the chosen task format, etc). I can tell you at least that we have had great success applying T5 to NER tasks.

@craffel , would you have links to some papers / examples where T5 was applied to BIO-labeling type tasks or token-level binary classification tasks, which could be used for inspiration? Thanks in advance!

from text-to-text-transfer-transformer.

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.