Instructions to use ctrlbuzz/bert-addresses with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ctrlbuzz/bert-addresses with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ctrlbuzz/bert-addresses")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ctrlbuzz/bert-addresses") model = AutoModelForTokenClassification.from_pretrained("ctrlbuzz/bert-addresses") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -2
config.json
CHANGED
|
@@ -18,8 +18,7 @@
|
|
| 18 |
"5": "B-addr",
|
| 19 |
"6": "I-addr",
|
| 20 |
"7": "B-DATE",
|
| 21 |
-
"8": "I-DATE",
|
| 22 |
-
|
| 23 |
},
|
| 24 |
"initializer_range": 0.02,
|
| 25 |
"intermediate_size": 3072,
|
|
|
|
| 18 |
"5": "B-addr",
|
| 19 |
"6": "I-addr",
|
| 20 |
"7": "B-DATE",
|
| 21 |
+
"8": "I-DATE",
|
|
|
|
| 22 |
},
|
| 23 |
"initializer_range": 0.02,
|
| 24 |
"intermediate_size": 3072,
|