underthesea icon indicating copy to clipboard operation
underthesea copied to clipboard

Zero shot Named Entity Recognition model for Vietnamese using OpenAI API

Open rain1024 opened this issue 1 year ago • 0 comments

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 avatar Jul 28 '23 09:07 rain1024