Instructions to use annedirkson/BERT_embeddings_ADR_normalization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use annedirkson/BERT_embeddings_ADR_normalization with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="annedirkson/BERT_embeddings_ADR_normalization")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("annedirkson/BERT_embeddings_ADR_normalization") model = AutoModel.from_pretrained("annedirkson/BERT_embeddings_ADR_normalization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
a347f1b
1
Parent(s): b424d2b
Changed config file by annedirkson
Browse files- config.json +2 -1
config.json
CHANGED
|
@@ -17,5 +17,6 @@
|
|
| 17 |
"torchscript": false,
|
| 18 |
"type_vocab_size": 2,
|
| 19 |
"use_bfloat16": false,
|
| 20 |
-
"vocab_size": 28996
|
|
|
|
| 21 |
}
|
|
|
|
| 17 |
"torchscript": false,
|
| 18 |
"type_vocab_size": 2,
|
| 19 |
"use_bfloat16": false,
|
| 20 |
+
"vocab_size": 28996,
|
| 21 |
+
"model_type": "bert"
|
| 22 |
}
|