Instructions to use Team-PIXEL/pixel-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Team-PIXEL/pixel-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForPreTraining model = AutoModelForPreTraining.from_pretrained("Team-PIXEL/pixel-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download text_renderer_config.json from Team-PIXEL/pixel-base: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/Team-PIXEL/pixel-base/resolve/b3ea0f4062f60bbee6ae20a64d1ca49395311441/text_renderer_config.json
- Command line
-
hf download hf://Team-PIXEL/pixel-base@b3ea0f4062f60bbee6ae20a64d1ca49395311441/text_renderer_config.json
-
curl -L -o text_renderer_config.json https://huggingface.co/Team-PIXEL/pixel-base/resolve/b3ea0f4062f60bbee6ae20a64d1ca49395311441/text_renderer_config.json
235 Bytes
| { | |
| "background_color": "white", | |
| "dpi": 120, | |
| "font_color": "black", | |
| "font_file": "GoNotoCurrent.ttf", | |
| "font_size": 8, | |
| "max_seq_length": 529, | |
| "pad_size": 3, | |
| "pixels_per_patch": 16, | |
| "text_renderer_type": "TextRenderer" | |
| } | |