Instructions to use neuralsentry/vulnfixClassification-StarEncoder-DCM-Balanced with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use neuralsentry/vulnfixClassification-StarEncoder-DCM-Balanced with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="neuralsentry/vulnfixClassification-StarEncoder-DCM-Balanced")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("neuralsentry/vulnfixClassification-StarEncoder-DCM-Balanced") model = AutoModelForSequenceClassification.from_pretrained("neuralsentry/vulnfixClassification-StarEncoder-DCM-Balanced", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from neuralsentry/vulnfixClassification-StarEncoder-DCM-Balanced: direct link, hf CLI and curl.
- Browser
- Download file 717 Bytes
-
https://huggingface.co/neuralsentry/vulnfixClassification-StarEncoder-DCM-Balanced/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://neuralsentry/vulnfixClassification-StarEncoder-DCM-Balanced/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/neuralsentry/vulnfixClassification-StarEncoder-DCM-Balanced/resolve/main/tokenizer_config.json
717 Bytes
| { | |
| "add_prefix_space": false, | |
| "additional_special_tokens": [ | |
| "<|endoftext|>", | |
| "<fim_prefix>", | |
| "<fim_middle>", | |
| "<fim_suffix>", | |
| "<fim_pad>", | |
| "<filename>", | |
| "<gh_stars>", | |
| "<issue_start>", | |
| "<issue_comment>", | |
| "<issue_closed>", | |
| "<jupyter_start>", | |
| "<jupyter_text>", | |
| "<jupyter_code>", | |
| "<jupyter_output>", | |
| "<empty_output>", | |
| "<commit_before>", | |
| "<commit_msg>", | |
| "<commit_after>", | |
| "<reponame>" | |
| ], | |
| "bos_token": "<|endoftext|>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|endoftext|>", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "<|endoftext|>", | |
| "vocab_size": 49152 | |
| } | |