Instructions to use hemekci/off_detection_turkish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hemekci/off_detection_turkish with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hemekci/off_detection_turkish")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hemekci/off_detection_turkish") model = AutoModelForSequenceClassification.from_pretrained("hemekci/off_detection_turkish", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -20,7 +20,6 @@
|
|
| 20 |
"type_vocab_size": 2,
|
| 21 |
"use_cache": true,
|
| 22 |
"vocab_size": 128000,
|
| 23 |
-
"pipeline_tag": "deneme",
|
| 24 |
"id2label": {
|
| 25 |
"0": "not offensive",
|
| 26 |
"1": "offensive"},
|
|
|
|
| 20 |
"type_vocab_size": 2,
|
| 21 |
"use_cache": true,
|
| 22 |
"vocab_size": 128000,
|
|
|
|
| 23 |
"id2label": {
|
| 24 |
"0": "not offensive",
|
| 25 |
"1": "offensive"},
|