Instructions to use Riksarkivet/bert-base-cased-swe-historical with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Riksarkivet/bert-base-cased-swe-historical with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Riksarkivet/bert-base-cased-swe-historical")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Riksarkivet/bert-base-cased-swe-historical") model = AutoModelForMaskedLM.from_pretrained("Riksarkivet/bert-base-cased-swe-historical") - Notebooks
- Google Colab
- Kaggle
| { | |
| "name_or_path": "KBLab/bert-base-swedish-cased-new", | |
| "special_tokens_map_file": "hface_model_out/checkpoint-122000/special_tokens_map.json", | |
| "tokenizer_class": "PreTrainedTokenizerFast" | |
| } | |