Instructions to use SABE-SENCE/SABE_ENCUESTAS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SABE-SENCE/SABE_ENCUESTAS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SABE-SENCE/SABE_ENCUESTAS")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SABE-SENCE/SABE_ENCUESTAS") model = AutoModelForSequenceClassification.from_pretrained("SABE-SENCE/SABE_ENCUESTAS", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from SABE-SENCE/SABE_ENCUESTAS: direct link, hf CLI and curl.
- Browser
- Download file 580 Bytes
-
https://huggingface.co/SABE-SENCE/SABE_ENCUESTAS/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://SABE-SENCE/SABE_ENCUESTAS/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/SABE-SENCE/SABE_ENCUESTAS/resolve/main/tokenizer_config.json
580 Bytes
| { | |
| "cls_token": "[CLS]", | |
| "do_basic_tokenize": true, | |
| "do_lower_case": true, | |
| "mask_token": "[MASK]", | |
| "model_max_length": 512, | |
| "name_or_path": "dccuchile/bert-base-spanish-wwm-uncased", | |
| "never_split": null, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "special_tokens_map_file": "/home/jovyan/.cache/huggingface/hub/models--dccuchile--bert-base-spanish-wwm-uncased/snapshots/d1c9c4565c9d6731e57ed7f027b802697bad861e/special_tokens_map.json", | |
| "strip_accents": false, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "unk_token": "[UNK]" | |
| } | |