## 语种识别

该模型采用 AllenNLP 2.10.1 在 [papluca/language-identification](https://huggingface.co/datasets/papluca/language-identification) 数据集上训练, 用于语种识别. 

在 valid 子集上的准确率 accuracy 评估如下:

|      语种      |   准确率   |  样本数  |
|:-------------:|:---------:|:-------:|
|中文(zh)        |1.000      |500      |
|现代希腊语 (el)  |1.000      |500      |
|日语(ja)        |0.998      |500      |
|斯瓦希里语 (sw)  |0.994      |500      |
|越南语(vi)      |0.992      |500      |
|保加利亚语 (bg)  |0.990      |500      |
|荷兰语(nl)      |0.980      |500      |
|法语(fr)        |0.972      |500      |
|土耳其语(tr)     |0.972      |500      |
|英语(en)        |0.972      |500      |
|德语(de)        |0.970      |500      |
|西班牙语(es)     |0.970      |500      |
|波兰语(pl)      |0.966       |500      |
|泰语(th)        |0.962      |500      |
|乌尔都语(ur)     |0.962      |500      |
|俄语(ru)        |0.958      |500      |
|印地语(hi)       |0.952      |500      |
|葡萄牙语(pt)     |0.940      |500      |
|意大利语(it)     |0.914      |500      |
|阿拉伯语(ar)     |0.736      |500      |



{"language": ["zh", "en", "es", "hi"], "license": "apache-2.0", "library_name": "allennlp", "datasets": ["papluca/language-identification"], "metrics": ["accuracy"], "pipeline_tag": "text-classification"}
allennlp text-classification zh en es hi dataset:papluca/language-identification license:apache-2.0 has_space region:us