Instructions to use owen99630/catexp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use owen99630/catexp with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, RobertaForMultiLabelSequenceClassification tokenizer = AutoTokenizer.from_pretrained("owen99630/catexp") model = RobertaForMultiLabelSequenceClassification.from_pretrained("owen99630/catexp", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from owen99630/catexp: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/owen99630/catexp/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://owen99630/catexp/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/owen99630/catexp/resolve/main/tokenizer_config.json
1.33 kB
| {"errors": "replace", "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": false, "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"}, "do_lower_case": false, "model_max_length": 512, "special_tokens_map_file": null, "tokenizer_file": "/root/.cache/huggingface/transformers/d53fc0fa09b8342651efd4073d75e19617b3e51287c2a535becda5808a8db287.fc9576039592f026ad76a1c231b89aee8668488c671dfbe6616bab2ed298d730", "name_or_path": "roberta-base", "tokenizer_class": "RobertaTokenizer"} |