change model name
Browse files
README.md
CHANGED
@@ -36,7 +36,7 @@ Here is how to use this model to detect the language of a given text. For best r
|
|
36 |
>>> from openlid_normer import clean_line
|
37 |
>>> from huggingface_hub import hf_hub_download
|
38 |
|
39 |
-
>>> model_path = hf_hub_download(repo_id="laurievb/OpenLID-v2", filename="
|
40 |
>>> model = fasttext.load_model(model_path)
|
41 |
>>> input_text = clean_line("Hello, world!")
|
42 |
>>> model.predict(input_text)
|
@@ -111,8 +111,8 @@ The original OpenLID model was evaluated using the FLORES-200 benchmark provided
|
|
111 |
|
112 |
## Evaluation results
|
113 |
|
114 |
-
| Language code | Lines of
|
115 |
-
|
116 |
| ace_Arab | 6360 | 0.971029 |
|
117 |
| ace_Latn | 16845 | 0.998517 |
|
118 |
| acm_Arab | 5455 | 0.025121 |
|
|
|
36 |
>>> from openlid_normer import clean_line
|
37 |
>>> from huggingface_hub import hf_hub_download
|
38 |
|
39 |
+
>>> model_path = hf_hub_download(repo_id="laurievb/OpenLID-v2", filename="model.bin")
|
40 |
>>> model = fasttext.load_model(model_path)
|
41 |
>>> input_text = clean_line("Hello, world!")
|
42 |
>>> model.predict(input_text)
|
|
|
111 |
|
112 |
## Evaluation results
|
113 |
|
114 |
+
| Language code | Lines of data | F1 score |
|
115 |
+
|-|-:|-|
|
116 |
| ace_Arab | 6360 | 0.971029 |
|
117 |
| ace_Latn | 16845 | 0.998517 |
|
118 |
| acm_Arab | 5455 | 0.025121 |
|