Instructions to use Metformin/CXR_captioning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use Metformin/CXR_captioning with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("Metformin/CXR_captioning") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Metformin/CXR_captioning: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/Metformin/CXR_captioning/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Metformin/CXR_captioning/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Metformin/CXR_captioning/resolve/main/tokenizer_config.json
348 Bytes
| { | |
| "cls_token": "[CLS]", | |
| "do_lower_case": true, | |
| "mask_token": "[MASK]", | |
| "model_max_length": 512, | |
| "name_or_path": "bert-base-uncased", | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "special_tokens_map_file": null, | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "unk_token": "[UNK]" | |
| } | |