Instructions to use Badhon/airline-intent-fasttext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- fastText
How to use Badhon/airline-intent-fasttext with fastText:
from huggingface_hub import hf_hub_download import fasttext model = fasttext.load_model(hf_hub_download("Badhon/airline-intent-fasttext", "model.bin")) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -52,7 +52,7 @@ import fasttext
|
|
| 52 |
|
| 53 |
from huggingface_hub import hf_hub_download
|
| 54 |
|
| 55 |
-
path = hf_hub_download("
|
| 56 |
model = fasttext.load_model(path)
|
| 57 |
|
| 58 |
labels, probs = model.predict("amar flight ta koto tay chare janaben?", k=3)
|
|
|
|
| 52 |
|
| 53 |
from huggingface_hub import hf_hub_download
|
| 54 |
|
| 55 |
+
path = hf_hub_download("Badhon/airline-intent-fasttext", "intent.ftz")
|
| 56 |
model = fasttext.load_model(path)
|
| 57 |
|
| 58 |
labels, probs = model.predict("amar flight ta koto tay chare janaben?", k=3)
|