Instructions to use mlnotes/tape with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mlnotes/tape with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mlnotes/tape")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("mlnotes/tape") model = AutoModel.from_pretrained("mlnotes/tape", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from mlnotes/tape: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/mlnotes/tape/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://mlnotes/tape/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/mlnotes/tape/resolve/main/tokenizer_config.json
370 Bytes
| {"do_lower_case": false, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "full_tokenizer_file": null, "name_or_path": "./models/TAPE", "tokenizer_class": "BertTokenizer"} |