Instructions to use mamakos/CMClassifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mamakos/CMClassifier with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("teknium/OpenHermes-2.5-Mistral-7B") model = PeftModel.from_pretrained(base_model, "mamakos/CMClassifier") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -25,8 +25,8 @@ pip install closedmindedness
|
|
| 25 |
```
|
| 26 |
|
| 27 |
```python
|
| 28 |
-
# import and use the module to estimate the probability
|
| 29 |
-
# displays closed-mindedness
|
| 30 |
import closedmindedness
|
| 31 |
|
| 32 |
model = closedmindedness.classifier()
|
|
|
|
| 25 |
```
|
| 26 |
|
| 27 |
```python
|
| 28 |
+
# import and use the module to estimate the probability
|
| 29 |
+
# a text displays closed-mindedness
|
| 30 |
import closedmindedness
|
| 31 |
|
| 32 |
model = closedmindedness.classifier()
|