Instructions to use PlanTL-GOB-ES/roberta-base-biomedical-clinical-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PlanTL-GOB-ES/roberta-base-biomedical-clinical-es with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="PlanTL-GOB-ES/roberta-base-biomedical-clinical-es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("PlanTL-GOB-ES/roberta-base-biomedical-clinical-es") model = AutoModelForMaskedLM.from_pretrained("PlanTL-GOB-ES/roberta-base-biomedical-clinical-es", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from PlanTL-GOB-ES/roberta-base-biomedical-clinical-es: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/PlanTL-GOB-ES/roberta-base-biomedical-clinical-es/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://PlanTL-GOB-ES/roberta-base-biomedical-clinical-es/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/PlanTL-GOB-ES/roberta-base-biomedical-clinical-es/resolve/main/tokenizer_config.json
1.27 kB
| {"unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": true, "errors": "replace", "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "max_len": 512, "special_tokens_map_file": null, "name_or_path": "/home/usuaris/veu/casimiro.pio.carrino/projects/corpus-utils-lm/output/model-ready_output/bio-biomedical-clinical-vocab-52k-2021-04-26-0955-3a71-240f/train_tokenizer_output/train-tokenizer-2021-04-26-1009-3a71-e9ca"} |