Instructions to use tomekkorbak/test-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tomekkorbak/test-test with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("tomekkorbak/test-test") model = AutoModel.from_pretrained("tomekkorbak/test-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from tomekkorbak/test-test: direct link, hf CLI and curl.
- Browser
- Download file 255 Bytes
-
https://huggingface.co/tomekkorbak/test-test/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://tomekkorbak/test-test/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/tomekkorbak/test-test/resolve/main/tokenizer_config.json
255 Bytes
| { | |
| "add_prefix_space": false, | |
| "bos_token": "<|endoftext|>", | |
| "eos_token": "<|endoftext|>", | |
| "model_max_length": 1024, | |
| "name_or_path": "gpt2", | |
| "special_tokens_map_file": null, | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "<|endoftext|>" | |
| } | |