Instructions to use visheratin/nllb-clip-large-oc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use visheratin/nllb-clip-large-oc with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:visheratin/nllb-clip-large-oc') tokenizer = open_clip.get_tokenizer('hf-hub:visheratin/nllb-clip-large-oc') - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from visheratin/nllb-clip-large-oc: direct link, hf CLI and curl.
- Browser
- Download file 564 Bytes
-
https://huggingface.co/visheratin/nllb-clip-large-oc/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://visheratin/nllb-clip-large-oc/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/visheratin/nllb-clip-large-oc/resolve/main/tokenizer_config.json
564 Bytes
| { | |
| "additional_special_tokens": null, | |
| "bos_token": "<s>", | |
| "cls_token": "<s>", | |
| "eos_token": "</s>", | |
| "mask_token": { | |
| "__type": "AddedToken", | |
| "content": "<mask>", | |
| "lstrip": true, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "model_max_length": 1024, | |
| "name_or_path": "facebook/nllb-200-distilled-600M", | |
| "pad_token": "<pad>", | |
| "sep_token": "</s>", | |
| "sp_model_kwargs": {}, | |
| "special_tokens_map_file": null, | |
| "src_lang": null, | |
| "tgt_lang": null, | |
| "tokenizer_class": "NllbTokenizer", | |
| "unk_token": "<unk>" | |
| } | |