Instructions to use Kiuyha/surabaya-opinion-tweet-clusters with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- fastText
How to use Kiuyha/surabaya-opinion-tweet-clusters with fastText:
from huggingface_hub import hf_hub_download import fasttext model = fasttext.load_model(hf_hub_download("Kiuyha/surabaya-opinion-tweet-clusters", "model.bin")) - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- README.md +1 -1
- fasttext.model +2 -2
- fasttext.model.wv.vectors_ngrams.npy +1 -1
- kmeans.joblib +1 -1
README.md
CHANGED
|
@@ -31,7 +31,7 @@ from gensim.models import FastText
|
|
| 31 |
from huggingface_hub import hf_hub_download
|
| 32 |
|
| 33 |
# Download and load the models
|
| 34 |
-
REPO_ID = Kiuyha/surabaya-opinion-tweet-clusters
|
| 35 |
kmeans_path = hf_hub_download(repo_id=REPO_ID, filename="kmeans.joblib")
|
| 36 |
hf_hub_download(repo_id=REPO_ID, filename="fasttext.model.wv.vectors_ngrams.npy")
|
| 37 |
fasttext_path = hf_hub_download(repo_id=REPO_ID, filename="fasttext.model")
|
|
|
|
| 31 |
from huggingface_hub import hf_hub_download
|
| 32 |
|
| 33 |
# Download and load the models
|
| 34 |
+
REPO_ID = "Kiuyha/surabaya-opinion-tweet-clusters"
|
| 35 |
kmeans_path = hf_hub_download(repo_id=REPO_ID, filename="kmeans.joblib")
|
| 36 |
hf_hub_download(repo_id=REPO_ID, filename="fasttext.model.wv.vectors_ngrams.npy")
|
| 37 |
fasttext_path = hf_hub_download(repo_id=REPO_ID, filename="fasttext.model")
|
fasttext.model
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a76d6b14b2ddd64b127533dbeb833b6331cccc3570fadb1a71af9729c4f45bb8
|
| 3 |
+
size 17199568
|
fasttext.model.wv.vectors_ngrams.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2400000128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:214381f110259bb53e090dcea1c62cd0b5d6d491b5856d7fa4f306beaec7614e
|
| 3 |
size 2400000128
|
kmeans.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 46951
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07d5a910939853ec35f91ef1e3ea544508e10f14ce313e273edc7f2b8ca3c2a9
|
| 3 |
size 46951
|