Commit
•
54e0cf4
1
Parent(s):
78da677
update ref for loading model (#1)
Browse files- update ref for loading model (c3f6774ac2e2f7e15d643c653d0d0b5021c26685)
Co-authored-by: Daniel van Strien <[email protected]>
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 |
|