Giter Club home page Giter Club logo

Comments (8)

kwonmha avatar kwonmha commented on July 30, 2024

Please let me know how to reproduce your results on unsupervised settings.

from nid_aclarr2022.

kwonmha avatar kwonmha commented on July 30, 2024

Well, it seems that supervised learning with external labeled data by cross entropy loss on MPT stage is not implemented here.
Because in dataloader.Data class, self.train_labeled_dataloader is never assigned after decalared in __init__().
So iterating over data.train_labeled_dataloader in InternalPretrainModelManager.train() fails.

from nid_aclarr2022.

zhang-yu-wei avatar zhang-yu-wei commented on July 30, 2024

Hi,

Thanks for bringing this up!

As indicated in the paper, internal pretraining is only applied on semi-supervised setting.
Screen Shot 2022-09-12 at 11 43 10

Let me know if you have any questions.

from nid_aclarr2022.

kwonmha avatar kwonmha commented on July 30, 2024

Thanks for reply.

I thought "This step" in the captured paper segment you attached means "continual pretraining with the annotated data(D-labeled-known)", not MTP.
Q1. Then, what's the difference between MTP in Table2(performance on unsupervised NID) and internal pretraining?

The reason I'm asking this is because I want to reproduce the results of unsupervised setting.
Q2. Is only semi-supervised setting implemented in this repository?

from nid_aclarr2022.

zhang-yu-wei avatar zhang-yu-wei commented on July 30, 2024

Maybe I misunderstood your question before. Internal pretrain represents the pretraining conducted with annotated data from current domain. It only applies on semi-supervised setting where annotated data is available. External pretrain represents the pretraining conducted on external datasets (e.g. CLINC).

Based on this agreement, I think the answer to your questions should be:
A1. MTP in Table.2 does not apply internal pretrain, but MTP in Table.3 applies internal pretrain.
A2. Both semi-supervised and unsupervised settings are implemented here. To conduct unsupervised training, args.known_cls_ratio = 0 should be set so that we do not apply internal pretrain, and the entire training is conducted on unlabeled data.

from nid_aclarr2022.

kwonmha avatar kwonmha commented on July 30, 2024

Thanks for clarifying.

Then, for reproducting MTP in table 2, it seems that external pretrained model should be prepared and trained by CLNN .
I tried to find external pretrained model in the repo you linked and couldn't find model trained with CLINC.
How can I get the external pretrained model trained with CLINC dataset as written in your paper?

Is it OK to use other models like IntentBert-banking, IntentBert-mcid, IntentBert-stackoverflow ?

from nid_aclarr2022.

zhang-yu-wei avatar zhang-yu-wei commented on July 30, 2024

Yes, IntentBert-banking is pretrained with labeled data from CLINC and unlabeled data from banking. So it is unsupervised.

from nid_aclarr2022.

kwonmha avatar kwonmha commented on July 30, 2024

Thanks you!
I think I got all things understood clearly.

from nid_aclarr2022.

Related Issues (6)

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.