Text Classification
setfit
Safetensors
sentence-transformers
mpnet
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use lucienbaumgartner/informational_content_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use lucienbaumgartner/informational_content_classifier with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("lucienbaumgartner/informational_content_classifier") - sentence-transformers
How to use lucienbaumgartner/informational_content_classifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("lucienbaumgartner/informational_content_classifier") 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
Add SetFit model
Browse files- config_setfit.json +2 -2
- model.safetensors +1 -1
- model_head.pkl +1 -1
config_setfit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"labels": [
|
| 3 |
"info",
|
| 4 |
"no_info"
|
| 5 |
-
]
|
| 6 |
-
"normalize_embeddings": false
|
| 7 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"normalize_embeddings": false,
|
| 3 |
"labels": [
|
| 4 |
"info",
|
| 5 |
"no_info"
|
| 6 |
+
]
|
|
|
|
| 7 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 437967672
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc4767b7e0b7a1c1e3baa18f1b8ecbbd2e7e8deb56306bdd0a8980b990c2b81d
|
| 3 |
size 437967672
|
model_head.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 7039
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04832f861b46792dd90f19de30010b9781c6e9cc656ec0fc6946b339dcfc1c3d
|
| 3 |
size 7039
|