Instructions to use JakeOh/LLaDA-Tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JakeOh/LLaDA-Tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="JakeOh/LLaDA-Tiny", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("JakeOh/LLaDA-Tiny", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from JakeOh/LLaDA-Tiny: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/JakeOh/LLaDA-Tiny/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://JakeOh/LLaDA-Tiny/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/JakeOh/LLaDA-Tiny/resolve/main/tokenizer_config.json
1.91 kB
| { | |
| "added_tokens_decoder": { | |
| "2": { | |
| "content": "<|startoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "3": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "4": { | |
| "content": "<|user|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "5": { | |
| "content": "<|assistant|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "6": { | |
| "content": "<|system|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "7": { | |
| "content": "<|end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "8": { | |
| "content": "<|mdm_mask|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [ | |
| "<|system|>", | |
| "<|user|>", | |
| "<|assistant|>", | |
| "<|end|>", | |
| "<|mdm_mask|>" | |
| ], | |
| "assistant_token": "<|assistant|>", | |
| "bos_token": "<|startoftext|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "eot_token": "<|end|>", | |
| "extra_special_tokens": {}, | |
| "mask_token": "<|mdm_mask|>", | |
| "model_max_length": 4096, | |
| "pad_token": "<|endoftext|>", | |
| "padding_side": "right", | |
| "system_token": "<|system|>", | |
| "tokenizer_class": "CharTokenizer", | |
| "unk_token": null, | |
| "user_token": "<|user|>", | |
| "auto_map": { | |
| "AutoTokenizer": [ | |
| "char_tokenizer.CharTokenizer", | |
| null | |
| ] | |
| } | |
| } |