Instructions to use imohammad12/GRS-complex-simple-classifier-DeBerta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use imohammad12/GRS-complex-simple-classifier-DeBerta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="imohammad12/GRS-complex-simple-classifier-DeBerta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("imohammad12/GRS-complex-simple-classifier-DeBerta") model = AutoModelForSequenceClassification.from_pretrained("imohammad12/GRS-complex-simple-classifier-DeBerta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from imohammad12/GRS-complex-simple-classifier-DeBerta: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/imohammad12/GRS-complex-simple-classifier-DeBerta/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://imohammad12/GRS-complex-simple-classifier-DeBerta/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/imohammad12/GRS-complex-simple-classifier-DeBerta/resolve/main/tokenizer_config.json
1.2 kB
| {"unk_token": {"content": "[UNK]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "[CLS]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "[SEP]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "errors": "replace", "sep_token": {"content": "[SEP]", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "[CLS]", "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, "vocab_type": "gpt2", "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "microsoft/deberta-base", "add_bos_token": false, "tokenizer_class": "DebertaTokenizer"} |