Instructions to use classla/bert-base-german-dbmdz-uncased-geo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use classla/bert-base-german-dbmdz-uncased-geo with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, BertForMultiLabelSequenceClassification tokenizer = AutoTokenizer.from_pretrained("classla/bert-base-german-dbmdz-uncased-geo") model = BertForMultiLabelSequenceClassification.from_pretrained("classla/bert-base-german-dbmdz-uncased-geo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened about 1 year ago
by
SFconvertbot