Instructions to use Syamchand/clause_risk_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Syamchand/clause_risk_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Syamchand/clause_risk_classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Syamchand/clause_risk_classifier") model = AutoModelForSequenceClassification.from_pretrained("Syamchand/clause_risk_classifier") - Notebooks
- Google Colab
- Kaggle
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -12,6 +12,6 @@
|
|
| 12 |
"model_specific_special_tokens": {},
|
| 13 |
"pad_token": "[PAD]",
|
| 14 |
"sep_token": "[SEP]",
|
| 15 |
-
"tokenizer_class": "
|
| 16 |
"unk_token": "[UNK]"
|
| 17 |
}
|
|
|
|
| 12 |
"model_specific_special_tokens": {},
|
| 13 |
"pad_token": "[PAD]",
|
| 14 |
"sep_token": "[SEP]",
|
| 15 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 16 |
"unk_token": "[UNK]"
|
| 17 |
}
|