Just for ask

#1
by micole66 - opened

Can you make a zero shot classification app with GPT-3 if you want?

Hi, @micole66 ! These are my first step in NLP Classification. In this case, I'm using GPT-3 just for embeddings, and I'm going to compare to BERT Sentence Embeddings results. OpenAI GPT-3 is extremely good as few-shot classifier. For my specific task (Text Multi-Classification: Mapping a Document to several Categories and understand which lines are connected to any Category), I'm using Embeddings (GPT-3, BERT, etc.). But I do believe that you can make a zero shot classification app with GPT-3. Can you provide a example of what are you looking for?

I can't code sorry, I want a zero shot classification app for write any label I want with the context.

Can you make it for me?

Can you provide a detailed example of what are you looking for? For example, given this text A, I would like GPT-3 to return Class 1; given B, I need Class 2; given C, both Class 1 & 2; given D, none Class. So I can understand your goals.

I want insert two options, A and B and the AI will choose the best option

Based on context

Yes, sure, that can be done perfectly with GPT-3

Can you provide a real example, just to better understand your requirement. Because A and B could be several things, like Categories or final sentences missing in Context, etc.

A and B are label categories,

An example like this but with GPT-3

Screenshot_20220927-232224_Chrome.jpg

for me comma separated classes is also good

It could be possible that GPT-3 is not the best option for this task. Maybe BERT could be a better fit.

Can you still make gpt-3 please?

Yes, no problem. We can try GPT-3. But, sorry to insist, but I don really get the idea.

Currently, I understand something like this, correct me if I'm wrong. You enter a Context and same Labels:

Context: "Some review of a movie, blah, blah"
Labels: Entertainment, Business, Politics
=> GPT-3 chooses Entertainment

Context: "Some news about Ukrania war"
Labels: Entertainment, Business, Politics
=> GPT-3 chooses Politics

Is it ok? Can you provide more examples?

Context: ""
Labels: ""
=> GPT-3 chooses ""

Context: ""
Labels: ""
=> GPT-3 chooses ""

Context: ""
Labels: ""
=> GPT-3 chooses ""

yes please like this, can you create the space?

Yes, give a couple of days and I'll help you, I can do it on Friday

thank you so much

Sign up or log in to comment