Downloads · 30 days
0
undertheseanlp/radar-1
radar-1 is a text classification model from undertheseanlp. Use it when you need a label for a piece of text. It is set up for underthesea. The card lists the license as apache-2.0.
Radar-1 is a language detection model developed by UnderTheSea NLP.
Downloads · 30 days
0
Access
Public
Updated Feb 7, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.lock464 KB · 95%
From the Hugging Face model README
Radar-1 is a language detection model developed by UnderTheSea NLP.
| Code | Language |
|---|---|
| vi | Vietnamese |
| en | English |
| zh | Chinese |
| ja | Japanese |
| ko | Korean |
| fr | French |
| de | German |
| es | Spanish |
| th | Thai |
| lo | Lao |
| km | Khmer |
pip install underthesea
from underthesea import lang_detect
text = "Xin chào, tôi là người Việt Nam"
language = lang_detect(text)
print(language) # vi
from radar import RadarLangDetector, detect
# Quick detection
lang = detect("Hello world")
print(lang) # en
# With confidence scores
detector = RadarLangDetector.load("models/radar-1")
result = detector.predict("Xin chào Việt Nam")
print(result.lang) # vi
print(result.score) # 0.98
python src/train.py
See TECHNICAL_REPORT.md for detailed methodology and evaluation.