Text Classification
Transformers
Safetensors
English
llama
chess
classification
strategic-reasoning
reproduction
text-embeddings-inference
Instructions to use jrahn/ROOK-CLF-9m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jrahn/ROOK-CLF-9m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jrahn/ROOK-CLF-9m")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("jrahn/ROOK-CLF-9m") model = AutoModelForSequenceClassification.from_pretrained("jrahn/ROOK-CLF-9m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from jrahn/ROOK-CLF-9m: direct link, hf CLI and curl.
- Browser
- Download file 1.63 kB
-
https://huggingface.co/jrahn/ROOK-CLF-9m/resolve/main/tokenizer.json
- Command line
-
hf download hf://jrahn/ROOK-CLF-9m/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/jrahn/ROOK-CLF-9m/resolve/main/tokenizer.json
1.63 kB
| { | |
| "version": "1.0", | |
| "truncation": null, | |
| "padding": null, | |
| "added_tokens": [ | |
| { | |
| "id": 32, | |
| "content": "[SEP]", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 33, | |
| "content": "[PAD]", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 34, | |
| "content": "[CLS]", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 35, | |
| "content": "[MASK]", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| } | |
| ], | |
| "normalizer": null, | |
| "pre_tokenizer": null, | |
| "post_processor": null, | |
| "decoder": null, | |
| "model": { | |
| "type": "BPE", | |
| "dropout": null, | |
| "unk_token": null, | |
| "continuing_subword_prefix": null, | |
| "end_of_word_suffix": null, | |
| "fuse_unk": false, | |
| "byte_fallback": false, | |
| "ignore_merges": false, | |
| "vocab": { | |
| "-": 0, | |
| ".": 1, | |
| "0": 2, | |
| "1": 3, | |
| "2": 4, | |
| "3": 5, | |
| "4": 6, | |
| "5": 7, | |
| "6": 8, | |
| "7": 9, | |
| "8": 10, | |
| "9": 11, | |
| "B": 12, | |
| "K": 13, | |
| "N": 14, | |
| "P": 15, | |
| "Q": 16, | |
| "R": 17, | |
| "a": 18, | |
| "b": 19, | |
| "c": 20, | |
| "d": 21, | |
| "e": 22, | |
| "f": 23, | |
| "g": 24, | |
| "h": 25, | |
| "k": 26, | |
| "n": 27, | |
| "p": 28, | |
| "q": 29, | |
| "r": 30, | |
| "w": 31 | |
| }, | |
| "merges": [] | |
| } | |
| } |