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

Zero shot Named Entity Recognition model for Vietnamese using OpenAI API #702

Open
rain1024 opened this issue Jul 28, 2023 · 0 comments
Open
Labels

Comments

@rain1024
Copy link
Contributor

rain1024 commented Jul 28, 2023

Named Entity Recognition model for Vietnamese with zero-shot capabilities using OpenAI

Install dependencies

$ pip install underthesea[prompt]

Export API Key

export OPENAI_API_KEY=YOUR_KEY

Suggested API usage:

>>> from underthesea import ner
>>> text = "HLV ngoại đòi gần tỷ mỗi tháng dẫn dắt tuyển Việt Nam"
>>> ner(text, model='prompt')
@rain1024 rain1024 added the genai label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant