Instructions to use CodeHima/TOSBertV2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CodeHima/TOSBertV2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CodeHima/TOSBertV2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CodeHima/TOSBertV2") model = AutoModelForSequenceClassification.from_pretrained("CodeHima/TOSBertV2") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -34,7 +34,7 @@ BertTOS v2 is a fine-tuned BERT model designed to classify clauses in Terms of S
|
|
| 34 |
### Task
|
| 35 |
|
| 36 |
The model performs multi-class classification on individual sentences or clauses, categorizing them into three levels of unfairness:
|
| 37 |
-
|
| 38 |
0. Clearly Fair
|
| 39 |
1. Potentially Unfair
|
| 40 |
2. Clearly Unfair
|
|
|
|
| 34 |
### Task
|
| 35 |
|
| 36 |
The model performs multi-class classification on individual sentences or clauses, categorizing them into three levels of unfairness:
|
| 37 |
+
|
| 38 |
0. Clearly Fair
|
| 39 |
1. Potentially Unfair
|
| 40 |
2. Clearly Unfair
|