Text Classification
ONNX
English
multilingual
pico-type
pico_type
byte-level
content-classification
multi-head
classifier
edge-ai
code-detection
language-detection
clipboard
tiny
open-source
onnx-runtime
content-moderation
risk-detection
secrets-detection
prompt-injection-detection
pii-detection
pico-type-arth
Eval Results (legacy)
Download config.json from eulogik/pico-type: direct link, hf CLI and curl.
- Browser
- Download file 6.43 kB
-
https://huggingface.co/eulogik/pico-type/resolve/main/config.json
- Command line
-
hf download hf://eulogik/pico-type/config.json
-
curl -L -o config.json https://huggingface.co/eulogik/pico-type/resolve/main/config.json
6.43 kB
| { | |
| "model_type": "pico_type", | |
| "architectures": [ | |
| "PicoType" | |
| ], | |
| "model_name": "pico-type", | |
| "model_id": "eulogik/pico-type", | |
| "vocab_size": 256, | |
| "embed_dim": 96, | |
| "trunk_dim": 192, | |
| "max_bytes": 1024, | |
| "tiers": { | |
| "tiny": 16, | |
| "small": 64, | |
| "base": 192, | |
| "pro": 576 | |
| }, | |
| "tier_dims": { | |
| "tiny": 16, | |
| "small": 64, | |
| "base": 192, | |
| "pro": 576 | |
| }, | |
| "heads": { | |
| "coarse": 12, | |
| "modality": 8, | |
| "subtype": 24, | |
| "code_lang": 62, | |
| "text_lang": 30, | |
| "file_mime": 90, | |
| "risk": 6 | |
| }, | |
| "opset": 18, | |
| "label_maps": { | |
| "coarse": { | |
| "text": 0, | |
| "code": 1, | |
| "link": 2, | |
| "image": 3, | |
| "file": 4, | |
| "config": 5, | |
| "markup": 6, | |
| "data": 7, | |
| "error": 8, | |
| "secret": 9, | |
| "archive": 10, | |
| "binary": 11 | |
| }, | |
| "modality": { | |
| "textual": 0, | |
| "binary_image": 1, | |
| "binary_archive": 2, | |
| "binary_executable": 3, | |
| "binary_document": 4, | |
| "binary_audio": 5, | |
| "binary_video": 6, | |
| "binary_other": 7 | |
| }, | |
| "subtype": { | |
| "json": 0, | |
| "yaml": 1, | |
| "toml": 2, | |
| "ini": 3, | |
| "csv": 4, | |
| "tsv": 5, | |
| "xml": 6, | |
| "html": 7, | |
| "markdown": 8, | |
| "rst": 9, | |
| "asciidoc": 10, | |
| "tex": 11, | |
| "sql": 12, | |
| "graphql": 13, | |
| "protobuf": 14, | |
| "msgpack": 15, | |
| "log": 16, | |
| "diff": 17, | |
| "patch": 18, | |
| "env": 19, | |
| "shell": 20, | |
| "makefile": 21, | |
| "dockerfile": 22, | |
| "gitignore": 23 | |
| }, | |
| "code_lang": { | |
| "python": 0, | |
| "javascript": 1, | |
| "typescript": 2, | |
| "jsx": 3, | |
| "tsx": 4, | |
| "java": 5, | |
| "kotlin": 6, | |
| "scala": 7, | |
| "groovy": 8, | |
| "clojure": 9, | |
| "c": 10, | |
| "cpp": 11, | |
| "csharp": 12, | |
| "fsharp": 13, | |
| "objectivec": 14, | |
| "go": 15, | |
| "rust": 16, | |
| "zig": 17, | |
| "ruby": 18, | |
| "php": 19, | |
| "perl": 20, | |
| "lua": 21, | |
| "tcl": 22, | |
| "swift": 23, | |
| "dart": 24, | |
| "julia": 25, | |
| "nim": 26, | |
| "crystal": 27, | |
| "haskell": 28, | |
| "ocaml": 29, | |
| "elm": 30, | |
| "erlang": 31, | |
| "elixir": 32, | |
| "lisp": 33, | |
| "scheme": 34, | |
| "racket": 35, | |
| "r": 36, | |
| "matlab": 37, | |
| "octave": 38, | |
| "sas": 39, | |
| "stata": 40, | |
| "sql": 41, | |
| "plsql": 42, | |
| "tsql": 43, | |
| "html": 44, | |
| "css": 45, | |
| "scss": 46, | |
| "sass": 47, | |
| "less": 48, | |
| "bash": 49, | |
| "zsh": 50, | |
| "fish": 51, | |
| "powershell": 52, | |
| "vim": 53, | |
| "fortran": 54, | |
| "cobol": 55, | |
| "ada": 56, | |
| "pascal": 57, | |
| "delphi": 58, | |
| "vb": 59, | |
| "prolog": 60, | |
| "vhdl": 61 | |
| }, | |
| "text_lang": { | |
| "en": 0, | |
| "es": 1, | |
| "fr": 2, | |
| "de": 3, | |
| "it": 4, | |
| "pt": 5, | |
| "nl": 6, | |
| "sv": 7, | |
| "no": 8, | |
| "da": 9, | |
| "fi": 10, | |
| "pl": 11, | |
| "cs": 12, | |
| "sk": 13, | |
| "hu": 14, | |
| "ro": 15, | |
| "el": 16, | |
| "tr": 17, | |
| "ru": 18, | |
| "uk": 19, | |
| "bg": 20, | |
| "sr": 21, | |
| "hr": 22, | |
| "zh": 23, | |
| "ja": 24, | |
| "ko": 25, | |
| "vi": 26, | |
| "th": 27, | |
| "id": 28, | |
| "ms": 29 | |
| }, | |
| "file_mime": { | |
| "application/pdf": 0, | |
| "application/zip": 1, | |
| "application/gzip": 2, | |
| "application/x-tar": 3, | |
| "application/x-7z-compressed": 4, | |
| "application/x-rar-compressed": 5, | |
| "application/x-bzip2": 6, | |
| "application/x-xz": 7, | |
| "application/json": 8, | |
| "application/xml": 9, | |
| "application/yaml": 10, | |
| "application/octet-stream": 11, | |
| "application/x-executable": 12, | |
| "application/x-mach-binary": 13, | |
| "application/x-elf": 14, | |
| "application/x-deb": 15, | |
| "application/x-rpm": 16, | |
| "application/vnd.openxmlformats-officedocument.wordprocessingml.document": 17, | |
| "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": 18, | |
| "application/vnd.openxmlformats-officedocument.presentationml.presentation": 19, | |
| "application/vnd.ms-excel": 20, | |
| "application/vnd.ms-powerpoint": 21, | |
| "application/msword": 22, | |
| "application/rtf": 23, | |
| "application/epub+zip": 24, | |
| "application/x-ndjson": 25, | |
| "text/plain": 26, | |
| "text/csv": 27, | |
| "text/html": 28, | |
| "text/xml": 29, | |
| "text/markdown": 30, | |
| "image/png": 31, | |
| "image/jpeg": 32, | |
| "image/gif": 33, | |
| "image/webp": 34, | |
| "image/svg+xml": 35, | |
| "image/bmp": 36, | |
| "image/tiff": 37, | |
| "image/heic": 38, | |
| "image/heif": 39, | |
| "image/avif": 40, | |
| "image/x-icon": 41, | |
| "image/vnd.adobe.photoshop": 42, | |
| "video/mp4": 43, | |
| "video/webm": 44, | |
| "video/x-matroska": 45, | |
| "video/quicktime": 46, | |
| "video/x-msvideo": 47, | |
| "video/x-flv": 48, | |
| "video/x-mpeg": 49, | |
| "audio/mpeg": 50, | |
| "audio/ogg": 51, | |
| "audio/wav": 52, | |
| "audio/flac": 53, | |
| "audio/aac": 54, | |
| "audio/x-m4a": 55, | |
| "audio/webm": 56, | |
| "audio/midi": 57, | |
| "font/ttf": 58, | |
| "font/otf": 59, | |
| "font/woff": 60, | |
| "font/woff2": 61, | |
| "application/x-sqlite3": 62, | |
| "application/x-parquet": 63, | |
| "application/x-protobuf": 64, | |
| "application/x-flatbuffers": 65, | |
| "application/x-cpio": 66, | |
| "application/x-iso9660-image": 67, | |
| "application/vnd.android.package-archive": 68, | |
| "application/x-jar": 69, | |
| "application/x-python-bytecode": 70, | |
| "application/x-archive": 71, | |
| "application/pgp-encrypted": 72, | |
| "application/pgp-signature": 73, | |
| "application/x-x509-ca-cert": 74, | |
| "application/x-pem-file": 75, | |
| "application/vnd.tcpdump.pcap": 76, | |
| "application/java-vm": 77, | |
| "application/x-matlab-data": 78, | |
| "application/x-shockwave-flash": 79, | |
| "application/x-font-ttf": 80, | |
| "application/x-font-otf": 81, | |
| "application/wasm": 82, | |
| "application/x-ruby": 83, | |
| "application/javascript": 84, | |
| "application/ecmascript": 85, | |
| "application/x-bittorrent": 86, | |
| "application/x-dvi": 87, | |
| "chemical/x-mdl-sdfile": 88, | |
| "application/x-lzma": 89 | |
| }, | |
| "risk": { | |
| "api_key": 0, | |
| "jwt": 1, | |
| "ssh_key": 2, | |
| "password": 3, | |
| "email": 4, | |
| "phone": 5 | |
| } | |
| }, | |
| "benchmarks": { | |
| "code_lang": 60.08, | |
| "text_lang": 98.33 | |
| }, | |
| "paper": "https://arxiv.org/abs/2608.14658", | |
| "license": "apache-2.0" | |
| } | |