Text Classification
Transformers
Safetensors
English
mimelens
feature-extraction
file-type-detection
mime-classification
binary-content
binary-analysis
position-agnostic
libmagic
forensics
packet-inspection
byte-level
custom_code
Eval Results (legacy)
Instructions to use mjbommar/mimelens-001-medium-byte-s3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mjbommar/mimelens-001-medium-byte-s3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mjbommar/mimelens-001-medium-byte-s3", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mjbommar/mimelens-001-medium-byte-s3", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from mjbommar/mimelens-001-medium-byte-s3: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/mjbommar/mimelens-001-medium-byte-s3/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://mjbommar/mimelens-001-medium-byte-s3/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/mjbommar/mimelens-001-medium-byte-s3/resolve/main/tokenizer_config.json
1.17 kB
| { | |
| "tokenizer_class": "PreTrainedTokenizerFast", | |
| "model_max_length": 1024, | |
| "padding_side": "right", | |
| "truncation_side": "right", | |
| "pad_token": "[PAD]", | |
| "unk_token": "[UNK]", | |
| "cls_token": "[CLS]", | |
| "sep_token": "[SEP]", | |
| "mask_token": "[MASK]", | |
| "clean_up_tokenization_spaces": false, | |
| "added_tokens_decoder": { | |
| "2": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "3": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "4": { | |
| "content": "[CLS]", | |
| "lstrip": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "5": { | |
| "content": "[SEP]", | |
| "lstrip": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| "6": { | |
| "content": "[MASK]", | |
| "lstrip": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "normalized": false, | |
| "special": true | |
| } | |
| } | |
| } |