Instructions to use MurDanya/ml-course-article-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MurDanya/ml-course-article-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="MurDanya/ml-course-article-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("MurDanya/ml-course-article-classifier") model = AutoModelForSequenceClassification.from_pretrained("MurDanya/ml-course-article-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse files- tokenizer.json +0 -0
- tokenizer_config.json +9 -7
- vocab.txt +0 -0
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
"single_word": false,
|
| 9 |
"special": true
|
| 10 |
},
|
| 11 |
-
"
|
| 12 |
"content": "[UNK]",
|
| 13 |
"lstrip": false,
|
| 14 |
"normalized": false,
|
|
@@ -16,7 +16,7 @@
|
|
| 16 |
"single_word": false,
|
| 17 |
"special": true
|
| 18 |
},
|
| 19 |
-
"
|
| 20 |
"content": "[CLS]",
|
| 21 |
"lstrip": false,
|
| 22 |
"normalized": false,
|
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"single_word": false,
|
| 25 |
"special": true
|
| 26 |
},
|
| 27 |
-
"
|
| 28 |
"content": "[SEP]",
|
| 29 |
"lstrip": false,
|
| 30 |
"normalized": false,
|
|
@@ -32,7 +32,7 @@
|
|
| 32 |
"single_word": false,
|
| 33 |
"special": true
|
| 34 |
},
|
| 35 |
-
"
|
| 36 |
"content": "[MASK]",
|
| 37 |
"lstrip": false,
|
| 38 |
"normalized": false,
|
|
@@ -41,16 +41,18 @@
|
|
| 41 |
"special": true
|
| 42 |
}
|
| 43 |
},
|
| 44 |
-
"clean_up_tokenization_spaces":
|
| 45 |
"cls_token": "[CLS]",
|
|
|
|
| 46 |
"do_lower_case": true,
|
| 47 |
"extra_special_tokens": {},
|
| 48 |
"mask_token": "[MASK]",
|
| 49 |
-
"model_max_length":
|
|
|
|
| 50 |
"pad_token": "[PAD]",
|
| 51 |
"sep_token": "[SEP]",
|
| 52 |
"strip_accents": null,
|
| 53 |
"tokenize_chinese_chars": true,
|
| 54 |
-
"tokenizer_class": "
|
| 55 |
"unk_token": "[UNK]"
|
| 56 |
}
|
|
|
|
| 8 |
"single_word": false,
|
| 9 |
"special": true
|
| 10 |
},
|
| 11 |
+
"101": {
|
| 12 |
"content": "[UNK]",
|
| 13 |
"lstrip": false,
|
| 14 |
"normalized": false,
|
|
|
|
| 16 |
"single_word": false,
|
| 17 |
"special": true
|
| 18 |
},
|
| 19 |
+
"102": {
|
| 20 |
"content": "[CLS]",
|
| 21 |
"lstrip": false,
|
| 22 |
"normalized": false,
|
|
|
|
| 24 |
"single_word": false,
|
| 25 |
"special": true
|
| 26 |
},
|
| 27 |
+
"103": {
|
| 28 |
"content": "[SEP]",
|
| 29 |
"lstrip": false,
|
| 30 |
"normalized": false,
|
|
|
|
| 32 |
"single_word": false,
|
| 33 |
"special": true
|
| 34 |
},
|
| 35 |
+
"104": {
|
| 36 |
"content": "[MASK]",
|
| 37 |
"lstrip": false,
|
| 38 |
"normalized": false,
|
|
|
|
| 41 |
"special": true
|
| 42 |
}
|
| 43 |
},
|
| 44 |
+
"clean_up_tokenization_spaces": true,
|
| 45 |
"cls_token": "[CLS]",
|
| 46 |
+
"do_basic_tokenize": true,
|
| 47 |
"do_lower_case": true,
|
| 48 |
"extra_special_tokens": {},
|
| 49 |
"mask_token": "[MASK]",
|
| 50 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 51 |
+
"never_split": null,
|
| 52 |
"pad_token": "[PAD]",
|
| 53 |
"sep_token": "[SEP]",
|
| 54 |
"strip_accents": null,
|
| 55 |
"tokenize_chinese_chars": true,
|
| 56 |
+
"tokenizer_class": "BertTokenizer",
|
| 57 |
"unk_token": "[UNK]"
|
| 58 |
}
|
vocab.txt
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|