Text Classification
setfit
Safetensors
sentence-transformers
bert
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use akhooli/setfit_ar_hs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use akhooli/setfit_ar_hs with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("akhooli/setfit_ar_hs") - sentence-transformers
How to use akhooli/setfit_ar_hs with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("akhooli/setfit_ar_hs") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -65,6 +65,7 @@ probas = model.predict_proba(queries_n)
|
|
| 65 |
print(probas)
|
| 66 |
```
|
| 67 |
* [LinkedIn article](https://www.linkedin.com/posts/akhooli_arabic-hate-speech-detection-is-not-an-easy-activity-7261021456023609344-UJzM)
|
|
|
|
| 68 |
The rest of this content is auto-generated.
|
| 69 |
|
| 70 |
# SetFit with akhooli/sbert_ar_nli_500k_norm
|
|
|
|
| 65 |
print(probas)
|
| 66 |
```
|
| 67 |
* [LinkedIn article](https://www.linkedin.com/posts/akhooli_arabic-hate-speech-detection-is-not-an-easy-activity-7261021456023609344-UJzM)
|
| 68 |
+
|
| 69 |
The rest of this content is auto-generated.
|
| 70 |
|
| 71 |
# SetFit with akhooli/sbert_ar_nli_500k_norm
|