Instructions to use emarro/vcad2_small_experimental with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use emarro/vcad2_small_experimental with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="emarro/vcad2_small_experimental", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("emarro/vcad2_small_experimental", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from emarro/vcad2_small_experimental: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/emarro/vcad2_small_experimental/resolve/main/tokenizer.json
- Command line
-
hf download hf://emarro/vcad2_small_experimental/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/emarro/vcad2_small_experimental/resolve/main/tokenizer.json
1.15 kB
| { | |
| "version": "1.0", | |
| "truncation": null, | |
| "padding": null, | |
| "added_tokens": [ | |
| { | |
| "id": 0, | |
| "content": "[PAD]", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 1, | |
| "content": "[MASK]", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| }, | |
| { | |
| "id": 2, | |
| "content": "[UNK]", | |
| "single_word": false, | |
| "lstrip": false, | |
| "rstrip": false, | |
| "normalized": false, | |
| "special": true | |
| } | |
| ], | |
| "normalizer": { | |
| "type": "Lowercase" | |
| }, | |
| "pre_tokenizer": { | |
| "type": "Whitespace" | |
| }, | |
| "post_processor": null, | |
| "decoder": null, | |
| "model": { | |
| "type": "BPE", | |
| "dropout": null, | |
| "unk_token": "[UNK]", | |
| "continuing_subword_prefix": null, | |
| "end_of_word_suffix": null, | |
| "fuse_unk": false, | |
| "byte_fallback": false, | |
| "ignore_merges": false, | |
| "vocab": { | |
| "[PAD]": 0, | |
| "[MASK]": 1, | |
| "[UNK]": 2, | |
| "a": 3, | |
| "c": 4, | |
| "g": 5, | |
| "t": 6 | |
| }, | |
| "merges": [] | |
| } | |
| } |