Instructions to use bicycleman15/tinystories-gpt4-clean-tokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bicycleman15/tinystories-gpt4-clean-tokenizer with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bicycleman15/tinystories-gpt4-clean-tokenizer", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "version": "1.0", | |
| "truncation": null, | |
| "padding": null, | |
| "added_tokens": [ | |
| { | |
| "id": 0, | |
| "content": "<s>", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| } | |
| ], | |
| "normalizer": null, | |
| "pre_tokenizer": { | |
| "type": "Split", | |
| "pattern": { | |
| "String": "" | |
| }, | |
| "behavior": "Isolated", | |
| "invert": false | |
| }, | |
| "post_processor": { | |
| "type": "TemplateProcessing", | |
| "single": [ | |
| { | |
| "SpecialToken": { | |
| "id": "<s>", | |
| "type_id": 0 | |
| } | |
| }, | |
| { | |
| "Sequence": { | |
| "id": "A", | |
| "type_id": 0 | |
| } | |
| } | |
| ], | |
| "pair": [ | |
| { | |
| "Sequence": { | |
| "id": "A", | |
| "type_id": 0 | |
| } | |
| }, | |
| { | |
| "Sequence": { | |
| "id": "B", | |
| "type_id": 1 | |
| } | |
| } | |
| ], | |
| "special_tokens": { | |
| "<s>": { | |
| "id": "<s>", | |
| "ids": [ | |
| 0 | |
| ], | |
| "tokens": [ | |
| "<s>" | |
| ] | |
| } | |
| } | |
| }, | |
| "decoder": { | |
| "type": "Fuse" | |
| }, | |
| "model": { | |
| "type": "WordLevel", | |
| "vocab": { | |
| "<s>": 0, | |
| "\n": 1, | |
| " ": 2, | |
| "!": 3, | |
| "\"": 4, | |
| "$": 5, | |
| "'": 6, | |
| ",": 7, | |
| "-": 8, | |
| ".": 9, | |
| "0": 10, | |
| "1": 11, | |
| "2": 12, | |
| "3": 13, | |
| "4": 14, | |
| "5": 15, | |
| "6": 16, | |
| "7": 17, | |
| "8": 18, | |
| "9": 19, | |
| ":": 20, | |
| ";": 21, | |
| "?": 22, | |
| "A": 23, | |
| "B": 24, | |
| "C": 25, | |
| "D": 26, | |
| "E": 27, | |
| "F": 28, | |
| "G": 29, | |
| "H": 30, | |
| "I": 31, | |
| "J": 32, | |
| "K": 33, | |
| "L": 34, | |
| "M": 35, | |
| "N": 36, | |
| "O": 37, | |
| "P": 38, | |
| "Q": 39, | |
| "R": 40, | |
| "S": 41, | |
| "T": 42, | |
| "U": 43, | |
| "V": 44, | |
| "W": 45, | |
| "X": 46, | |
| "Y": 47, | |
| "Z": 48, | |
| "a": 49, | |
| "b": 50, | |
| "c": 51, | |
| "d": 52, | |
| "e": 53, | |
| "f": 54, | |
| "g": 55, | |
| "h": 56, | |
| "i": 57, | |
| "j": 58, | |
| "k": 59, | |
| "l": 60, | |
| "m": 61, | |
| "n": 62, | |
| "o": 63, | |
| "p": 64, | |
| "q": 65, | |
| "r": 66, | |
| "s": 67, | |
| "t": 68, | |
| "u": 69, | |
| "v": 70, | |
| "w": 71, | |
| "x": 72, | |
| "y": 73, | |
| "z": 74 | |
| }, | |
| "unk_token": "<unk>" | |
| } | |
| } |