Run this model with HF Jobs
Run czczup/textnet-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/czczup/textnet-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/czczup/textnet-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use czczup/textnet-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use czczup/textnet-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="czczup/textnet-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, TextNetBackbone processor = AutoImageProcessor.from_pretrained("czczup/textnet-base") model = TextNetBackbone.from_pretrained("czczup/textnet-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from czczup/textnet-base: direct link, hf CLI and curl.
- Browser
- Download file 2.42 kB
-
https://huggingface.co/czczup/textnet-base/resolve/main/config.json
- Command line
-
hf download hf://czczup/textnet-base/config.json
-
curl -L -o config.json https://huggingface.co/czczup/textnet-base/resolve/main/config.json
2.42 kB
| { | |
| "architectures": [ | |
| "TextNetBackbone" | |
| ], | |
| "batch_norm_eps": 1e-05, | |
| "conv_layer_kernel_sizes": [ | |
| [ | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 1 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 1 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 1, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ] | |
| ], | |
| [ | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 1, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 1 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 1 | |
| ], | |
| [ | |
| 3, | |
| 1 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ] | |
| ], | |
| [ | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 1, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 1 | |
| ], | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 1 | |
| ] | |
| ], | |
| [ | |
| [ | |
| 3, | |
| 3 | |
| ], | |
| [ | |
| 1, | |
| 3 | |
| ], | |
| [ | |
| 3, | |
| 1 | |
| ], | |
| [ | |
| 3, | |
| 1 | |
| ], | |
| [ | |
| 1, | |
| 3 | |
| ] | |
| ] | |
| ], | |
| "conv_layer_strides": [ | |
| [ | |
| 1, | |
| 2, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1 | |
| ], | |
| [ | |
| 2, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1 | |
| ], | |
| [ | |
| 2, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1 | |
| ], | |
| [ | |
| 2, | |
| 1, | |
| 1, | |
| 1, | |
| 1 | |
| ] | |
| ], | |
| "depths": [ | |
| 10, | |
| 10, | |
| 8, | |
| 5 | |
| ], | |
| "hidden_sizes": [ | |
| 64, | |
| 64, | |
| 128, | |
| 256, | |
| 512 | |
| ], | |
| "image_size": [ | |
| 640, | |
| 640 | |
| ], | |
| "initializer_range": 0.02, | |
| "model_type": "textnet", | |
| "out_features": [ | |
| "stage1", | |
| "stage2", | |
| "stage3", | |
| "stage4" | |
| ], | |
| "out_indices": [ | |
| 1, | |
| 2, | |
| 3, | |
| 4 | |
| ], | |
| "stage_names": [ | |
| "stem", | |
| "stage1", | |
| "stage2", | |
| "stage3", | |
| "stage4" | |
| ], | |
| "stem_act_func": "relu", | |
| "stem_kernel_size": 3, | |
| "stem_num_channels": 3, | |
| "stem_out_channels": 64, | |
| "stem_stride": 2, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.48.0.dev0" | |
| } | |