Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Entities recognition using haptik (preprocess suggestion) #4

Open
munzzz5 opened this issue Oct 1, 2022 · 2 comments
Open

Comments

@munzzz5
Copy link

munzzz5 commented Oct 1, 2022

Hello, Im amazed at this implementation of GPT-3.
I would love to add an extra later to theprompt by preprocessing the text and adding entities with metalabel while passing prompt to GPT-3

An example would be:
Buy [Brand] Adidas shoes from Amazon [company] India [location] under $200 [numeric]

We could achieve this using the hello haptik repository (link: https://github.com/hellohaptik/chatbot_ner)

Im not completely sure if this will help the output. What do you think?

Kudos!

@munzzz5 munzzz5 changed the title Adding Entities recognition using haptik (Feature suggestion) Adding Entities recognition using haptik (preprocess suggestion) Oct 1, 2022
@lee101
Copy link

lee101 commented Oct 2, 2022

i'm just guessing but i personally dont think annotating using entity types would help in terms of gpt-3 understanding, because it wasn't trained on this NER style, unless you do specific things with the detected entities unrelated to gpt-3 e.g. handle the location in a specific way via google map search and pull out the location for it etc.

@jordn
Copy link

jordn commented Dec 17, 2022

Yeah I wouldn't expect this to help either. The NER model will almost certainly be worse at understanding the words than GPT-3, so it would only add some noise and extra tokens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants