Instructions to use bloomberg/KBIR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bloomberg/KBIR with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, KLMForReplacementAndMaskedLM tokenizer = AutoTokenizer.from_pretrained("bloomberg/KBIR") model = KLMForReplacementAndMaskedLM.from_pretrained("bloomberg/KBIR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from bloomberg/KBIR: direct link, hf CLI and curl.
- Browser
- Download file 899 kB
-
https://huggingface.co/bloomberg/KBIR/resolve/main/vocab.json
- Command line
-
hf download hf://bloomberg/KBIR/vocab.json
-
curl -L -o vocab.json https://huggingface.co/bloomberg/KBIR/resolve/main/vocab.json
899 kB
File too large to display, you can check the raw version instead.