Run this model with HF Jobs
Run rchan26/dit_base_binary_task 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/rchan26/dit_base_binary_task. 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/rchan26/dit_base_binary_task 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 rchan26/dit_base_binary_task with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rchan26/dit_base_binary_task with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="rchan26/dit_base_binary_task") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("rchan26/dit_base_binary_task") model = AutoModelForImageClassification.from_pretrained("rchan26/dit_base_binary_task", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ryan CHan commited on
Commit ·
c8d28f1
1
Parent(s): ededd44
End of training
Browse filesFiles changed (5)
- .gitignoreAdded+1
- config.jsonAdded+48
- preprocessor_config.jsonAdded+22
- pytorch_model.binAdded+3
- training_args.binAdded+3
1checkpoint-*/123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ "_name_or_path": "microsoft/dit-base", "architectures": [ "BeitForImageClassification" ], "attention_probs_dropout_prob": 0.0, "auxiliary_channels": 256, "auxiliary_concat_input": false, "auxiliary_loss_weight": 0.4, "auxiliary_num_convs": 1, "drop_path_rate": 0.1, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 768, "image_size": 224, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-12, "layer_scale_init_value": 0.1, "model_type": "beit", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "out_indices": [ 3, 5, 7, 11 ], "patch_size": 16, "pool_scales": [ 1, 2, 3, 6 ], "problem_type": "single_label_classification", "semantic_loss_ignore_index": 255, "torch_dtype": "float32", "transformers_version": "4.25.1", "use_absolute_position_embeddings": true, "use_auxiliary_head": true, "use_mask_token": true, "use_mean_pooling": true, "use_relative_position_bias": false, "use_shared_relative_position_bias": false, "vocab_size": 8192}12345678910111213141516171819202122{ "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "ViTImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "height": 224, "width": 224 }}123version https://git-lfs.github.com/spec/v1oid sha256:1dc031c224a9c05b9023967ff3d68576087cf11d2cfe266f68c7fcc5d2b82b0csize 343307991123version https://git-lfs.github.com/spec/v1oid sha256:c86ed6f9b6e9724e93e5729c2bf3e675321677102e81a52c133edd5e93baf75csize 3439.gitignoreAdded+1
config.jsonAdded+48
preprocessor_config.jsonAdded+22
pytorch_model.binAdded+3
training_args.binAdded+3