Instructions to use KalaiselvanD/bigbert_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KalaiselvanD/bigbert_1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KalaiselvanD/bigbert_1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KalaiselvanD/bigbert_1") model = AutoModelForSequenceClassification.from_pretrained("KalaiselvanD/bigbert_1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from KalaiselvanD/bigbert_1: direct link, hf CLI and curl.
- Browser
- Download file 1.5 kB
-
https://huggingface.co/KalaiselvanD/bigbert_1/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://KalaiselvanD/bigbert_1/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/KalaiselvanD/bigbert_1/resolve/main/tokenizer_config.json
1.5 kB
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "65": { | |
| "content": "[CLS]", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "66": { | |
| "content": "[SEP]", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "67": { | |
| "content": "[MASK]", | |
| "lstrip": true, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "</s>", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "eos_token": "<s>", | |
| "mask_token": "[MASK]", | |
| "model_max_length": 4096, | |
| "pad_token": "<pad>", | |
| "sep_token": "[SEP]", | |
| "sp_model_kwargs": {}, | |
| "tokenizer_class": "BigBirdTokenizer", | |
| "unk_token": "<unk>" | |
| } | |