nastyboget commited on
Commit
a8b9122
·
verified ·
1 Parent(s): f2e91dc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -3
README.md CHANGED
@@ -1,3 +1,13 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+ Model weights for [FastText](https://github.com/facebookresearch/fastText).
6
+
7
+ Usage example:
8
+ ```python
9
+ import fasttext
10
+
11
+ model = fasttext.load_model("language_detector.bin")
12
+ predictions = model.predict("My awesome English text") # (('__label__en',), array([0.62514728]))
13
+ ```