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 text classification model for Vietnamese using openai #682

Closed
rain1024 opened this issue May 10, 2023 · 0 comments
Closed

Zero shot text classification model for Vietnamese using openai #682

rain1024 opened this issue May 10, 2023 · 0 comments

Comments

@rain1024
Copy link
Contributor

rain1024 commented May 10, 2023

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
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

1 participant