Instructions to use ProbeX/Model-J__SupViT__model_idx_0195 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ProbeX/Model-J__SupViT__model_idx_0195 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ProbeX/Model-J__SupViT__model_idx_0195") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("ProbeX/Model-J__SupViT__model_idx_0195") model = AutoModelForImageClassification.from_pretrained("ProbeX/Model-J__SupViT__model_idx_0195") - Notebooks
- Google Colab
- Kaggle
File size: 1,239 Bytes
681682b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | {
"best_metric": 0.916,
"best_model_checkpoint": "./vit_finetuned_models_dataset/CIFAR100/50_from_100/google_vit-base-patch16-224/model_idx_0195/checkpoints/checkpoint-333",
"epoch": 1.0,
"eval_steps": 500,
"global_step": 333,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.0,
"grad_norm": 0.06848867982625961,
"learning_rate": 9e-05,
"loss": 0.6229,
"step": 333
},
{
"epoch": 1.0,
"eval_accuracy": 0.916,
"eval_loss": 0.28218749165534973,
"eval_runtime": 6.3859,
"eval_samples_per_second": 587.23,
"eval_steps_per_second": 9.239,
"step": 333
}
],
"logging_steps": 500,
"max_steps": 666,
"num_input_tokens_seen": 0,
"num_train_epochs": 2,
"save_steps": 500,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": false
},
"attributes": {}
}
},
"total_flos": 1.64741320622592e+18,
"train_batch_size": 64,
"trial_name": null,
"trial_params": null
}
|