Closed rain1024 closed 1 year ago
Text classification 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 classify >>> text = "HLV ngoại đòi gần tỷ mỗi tháng dẫn dắt tuyển Việt Nam" >>> classify(text, model='prompt') Thể thao
Text classification model for Vietnamese with zero-shot capabilities using OpenAI
Install dependencies
Export API Key
Suggested API usage: