Instructions to use ristekcsui/bert-base-hs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ristekcsui/bert-base-hs with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ristekcsui/bert-base-hs")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("ristekcsui/bert-base-hs") model = AutoModel.from_pretrained("ristekcsui/bert-base-hs") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
| 4 |
"BertModel"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
|
| 7 |
"gradient_checkpointing": false,
|
| 8 |
"hidden_act": "gelu",
|
| 9 |
"hidden_dropout_prob": 0.1,
|
|
|
|
| 4 |
"BertModel"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
"gradient_checkpointing": false,
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.1,
|