Jai Suphavadeeprasit
commited on
Commit
·
5f24c1f
1
Parent(s):
aea8d82
README
Browse files- README.md +1 -1
- examples/inference_server.py +1 -1
README.md
CHANGED
@@ -9,7 +9,7 @@ base_model:
|
|
9 |
|
10 |
## Overview
|
11 |
|
12 |
-
Nous Research presents Minos, a lightweight classifier designed to detect refusals in text. Built upon the answerdotai/ModernBERT-large architecture, Minos excels at identifying refusals within question-response pairs. We leverage Minos internally to ensure our synthetic responses are free from refusals
|
13 |
|
14 |
## Model Architecture
|
15 |
|
|
|
9 |
|
10 |
## Overview
|
11 |
|
12 |
+
Nous Research presents Minos, a lightweight classifier designed to detect refusals in text. Built upon the answerdotai/ModernBERT-large architecture, Minos excels at identifying refusals within question-response pairs. We leverage Minos internally to ensure our synthetic responses are free from refusals and hope it proves valuable for identifying and managing refusals in your applications!
|
13 |
|
14 |
## Model Architecture
|
15 |
|
examples/inference_server.py
CHANGED
@@ -59,7 +59,7 @@ class MinosRefusalClassifier:
|
|
59 |
"""Single turn prediction for simple use cases"""
|
60 |
return self.predict_multi_turn([{"user": user_text, "assistant": assistant_text}])
|
61 |
|
62 |
-
|
63 |
if __name__ == "__main__":
|
64 |
# Load from Hugging Face Hub
|
65 |
classifier = MinosRefusalClassifier()
|
|
|
59 |
"""Single turn prediction for simple use cases"""
|
60 |
return self.predict_multi_turn([{"user": user_text, "assistant": assistant_text}])
|
61 |
|
62 |
+
|
63 |
if __name__ == "__main__":
|
64 |
# Load from Hugging Face Hub
|
65 |
classifier = MinosRefusalClassifier()
|