Instructions to use Artanis1551/bert_trainer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Artanis1551/bert_trainer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Artanis1551/bert_trainer")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Artanis1551/bert_trainer") model = AutoModelForSequenceClassification.from_pretrained("Artanis1551/bert_trainer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
172f97d
1
Parent(s): 02a2e34
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
@@ -38,4 +38,4 @@
|
|
| 38 |
"type_vocab_size": 2,
|
| 39 |
"use_cache": true,
|
| 40 |
"vocab_size": 28996
|
| 41 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "bert-base-cased",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 38 |
"type_vocab_size": 2,
|
| 39 |
"use_cache": true,
|
| 40 |
"vocab_size": 28996
|
| 41 |
+
}
|