kargaranamir
commited on
Commit
•
0f617a6
1
Parent(s):
c194811
Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,7 @@ Here is how to use this model to detect the language of a given text:
|
|
27 |
>>> import fasttext
|
28 |
>>> from huggingface_hub import hf_hub_download
|
29 |
|
30 |
-
>>> model_path = hf_hub_download(repo_id="cis-lmu/
|
31 |
>>> model = fasttext.load_model(model_path)
|
32 |
>>> model.predict("Hello, world!")
|
33 |
|
|
|
27 |
>>> import fasttext
|
28 |
>>> from huggingface_hub import hf_hub_download
|
29 |
|
30 |
+
>>> model_path = hf_hub_download(repo_id="cis-lmu/glotlid", filename="model.bin")
|
31 |
>>> model = fasttext.load_model(model_path)
|
32 |
>>> model.predict("Hello, world!")
|
33 |
|