Instructions to use jhliu/ClinicalNoteBERT-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jhliu/ClinicalNoteBERT-tiny with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jhliu/ClinicalNoteBERT-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from jhliu/ClinicalNoteBERT-tiny: direct link, hf CLI and curl.
- Browser
- Download file 342 Bytes
-
https://huggingface.co/jhliu/ClinicalNoteBERT-tiny/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://jhliu/ClinicalNoteBERT-tiny/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/jhliu/ClinicalNoteBERT-tiny/resolve/main/tokenizer_config.json
342 Bytes
| {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "name_or_path": "CKPT_v2/tiny_ss", "do_basic_tokenize": true, "never_split": null, "tokenizer_class": "BertTokenizer"} |