Text Classification
setfit
ONNX
Safetensors
sentence-transformers
bert
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use Northell/ros-classifiers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use Northell/ros-classifiers with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("Northell/ros-classifiers") - sentence-transformers
How to use Northell/ros-classifiers with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Northell/ros-classifiers") 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
Upload folder using huggingface_hub
Browse files- config_setfit.json +5 -5
- heads/domain-router.pkl +2 -2
- model_head.pkl +1 -1
config_setfit.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
{
|
| 2 |
"labels": [
|
| 3 |
-
"
|
| 4 |
"MaterialDomain",
|
| 5 |
-
"
|
| 6 |
-
"AssemblyDomain",
|
| 7 |
"SupplierDomain",
|
|
|
|
| 8 |
"MeasurementDomain",
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
],
|
| 12 |
"normalize_embeddings": false
|
| 13 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"labels": [
|
| 3 |
+
"ProductDomain",
|
| 4 |
"MaterialDomain",
|
| 5 |
+
"FeatureDomain",
|
|
|
|
| 6 |
"SupplierDomain",
|
| 7 |
+
"AssemblyDomain",
|
| 8 |
"MeasurementDomain",
|
| 9 |
+
"ManufacturingDomain",
|
| 10 |
+
"ShippingAndHandlingDomain"
|
| 11 |
],
|
| 12 |
"normalize_embeddings": false
|
| 13 |
}
|
heads/domain-router.pkl
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:8d0a9fe246c1207c953ab780918ff2893b9967f07a48371d8d8a482d4f4e3af1
|
| 3 |
+
size 30316
|
model_head.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 28404
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38fbd88af392dafd1c79b08a9f9acbb2206c456856951ec742dd7c20876abd61
|
| 3 |
size 28404
|