Instructions to use rycerzes/nirjas-gate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use rycerzes/nirjas-gate with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("rycerzes/nirjas-gate") - sentence-transformers
How to use rycerzes/nirjas-gate with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("rycerzes/nirjas-gate") 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- gate_meta.json +1 -1
- metrics.json +1 -1
- model.safetensors +1 -1
- pipeline.skops +2 -2
gate_meta.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"base_model": "minishlab/potion-base-32M",
|
| 3 |
"license_threshold": 0.2,
|
| 4 |
"test_license_recall": 0.9952,
|
| 5 |
-
"test_false_positive_rate": 0.
|
| 6 |
"note": "recall-first gate; label 1 == license_related"
|
| 7 |
}
|
|
|
|
| 2 |
"base_model": "minishlab/potion-base-32M",
|
| 3 |
"license_threshold": 0.2,
|
| 4 |
"test_license_recall": 0.9952,
|
| 5 |
+
"test_false_positive_rate": 0.0262,
|
| 6 |
"note": "recall-first gate; label 1 == license_related"
|
| 7 |
}
|
metrics.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"base_model": "minishlab/potion-base-32M",
|
| 3 |
"license_threshold": 0.2,
|
| 4 |
"test_license_recall": 0.9952,
|
| 5 |
-
"test_false_positive_rate": 0.
|
| 6 |
"note": "recall-first gate; label 1 == license_related"
|
| 7 |
}
|
|
|
|
| 2 |
"base_model": "minishlab/potion-base-32M",
|
| 3 |
"license_threshold": 0.2,
|
| 4 |
"test_license_recall": 0.9952,
|
| 5 |
+
"test_false_positive_rate": 0.0262,
|
| 6 |
"note": "recall-first gate; label 1 == license_related"
|
| 7 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 129210456
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18045fd3e057c390415689fa4bf0bd151ac88fd9dd0552609211039906b5e9d3
|
| 3 |
size 129210456
|
pipeline.skops
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:aec5c46853045e7f86cf3289f6b76fda005ca91dcba9520f4806fae924c7825a
|
| 3 |
+
size 7441138
|