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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
from transformers import BertTokenizer, AutoModelForTokenClassification
|
| 2 |
from transformers import pipeline
|
| 3 |
|
|
|
|
| 1 |
+
##Basic Usage
|
| 2 |
+
|
| 3 |
+
|
| 4 |
from transformers import BertTokenizer, AutoModelForTokenClassification
|
| 5 |
from transformers import pipeline
|
| 6 |
|