Commit
•
c3f6774
1
Parent(s):
78da677
update ref for loading model
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ Here is how to use this model to detect the language of a given text:
|
|
25 |
>>> import fasttext
|
26 |
>>> from huggingface_hub import hf_hub_download
|
27 |
|
28 |
-
>>> model_path = hf_hub_download(repo_id="
|
29 |
>>> model = fasttext.load_model(model_path)
|
30 |
>>> model.predict("Hello, world!")
|
31 |
|
|
|
25 |
>>> import fasttext
|
26 |
>>> from huggingface_hub import hf_hub_download
|
27 |
|
28 |
+
>>> model_path = hf_hub_download(repo_id="laurievb/OpenLID", filename="model.bin")
|
29 |
>>> model = fasttext.load_model(model_path)
|
30 |
>>> model.predict("Hello, world!")
|
31 |
|