Coder Social home page Coder Social logo

zero-shot keyword extraction about biomedlm HOT 6 OPEN

uyaseen avatar uyaseen commented on July 17, 2024
zero-shot keyword extraction

from biomedlm.

Comments (6)

J38 avatar J38 commented on July 17, 2024

I am not sure if this is going to work with zero-shot. But I will note that in the training corpus I do see examples at the end of abstracts and articles with "Keywords: ..." ... So you could try appending "Keywords: " to the end of your example and seeing what happens. I think the key for this to work is finding a format that appears repeatedly in the Pubmed training data ... another direction is to briefly fine tune ... I think if you came up with several hundred examples and fine tuned on those it should produce reasonable results. We could help if you have trouble getting access to compute for the fine tuning ... I'll try to explore this for keyword as well and let you know what I see !

from biomedlm.

J38 avatar J38 commented on July 17, 2024

I am not sure how many training examples are needed for fine tuning, but on the MeQSum task there are only 500 examples, so it is possible with a relatively small training set the model could be fine tuned to do the right thing ...

from biomedlm.

J38 avatar J38 commented on July 17, 2024

My advice would be to look at the PubMed abstracts and articles and look at what patterns involve "Keywords" ... I see things like "Keywords used", "Keywords: ", "Keywords included " ... I think if this works zero-shot it would be because there is a common pattern in the PubMed abstracts and articles.

from biomedlm.

J38 avatar J38 commented on July 17, 2024

Here is a real PubMed example for instance:

Identification of the experimental herbaceous host range of the Apscaviroids infecting citrus species.\nCitrus viroid V (CVd-V), citrus dwarfing viroid (CDVd) and citrus bent leaf viroid (CBLVd) (the genus Apscaviroid, the family Pospiviroidae) have been reported to be restricted to citrus species naturally. The herbaceous host range of these viroids was identified using the viroids infectious clones. Several herbaceous plants from the Cucurbitaceae, Solanaceae, Fabaceae and Asteraceae families were found to be susceptible to CVd-V, CDVd and CBLVd. Also, the viroids could be transferred to these hosts through rubbing of monomeric DNA plasmids and through mechanical inoculation of infected sap. Keywords: citrus; viroid; host range; CVd-V; CBLVd; CDVd.

from biomedlm.

J38 avatar J38 commented on July 17, 2024

And remember our model only has context length of 1024, so you need to break up input into 1024 blocks ... so if you had long input it'd be better to get keywords for each section and then combine in the end ...

from biomedlm.

uyaseen avatar uyaseen commented on July 17, 2024

Hi @J38,

Many thanks for your reply, it was extremely helpful. Actually, you are right about the out-of-the-box zero-shot performance, the initial results don't look very promising. I still have to search for more prompt patterns, maybe the results get improved. Unfortunately, we only have (very) limited data and that is why we were hoping for a zero-shot setup to work out, but in the worst case, we will try to get additional data and get it annotated.
Thankfully, we have access to compute but thank you for offering your support, really appreciate it!

from biomedlm.

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.