Instructions to use Xenova/bert-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/bert-base-uncased with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('fill-mask', 'Xenova/bert-base-uncased');
Download generation_config.json from Xenova/bert-base-uncased: direct link, hf CLI and curl.
- Browser
- Download file 95 Bytes
-
https://huggingface.co/Xenova/bert-base-uncased/resolve/main/generation_config.json
- Command line
-
hf download hf://Xenova/bert-base-uncased/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/Xenova/bert-base-uncased/resolve/main/generation_config.json
95 Bytes
| { | |
| "_from_model_config": true, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.33.0.dev0" | |
| } | |