Instructions to use ronka/postureDetection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ronka/postureDetection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ronka/postureDetection") 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("ronka/postureDetection") model = AutoModelForImageClassification.from_pretrained("ronka/postureDetection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from ronka/postureDetection: direct link, hf CLI and curl.
- Browser
- Download file 875 Bytes
-
https://huggingface.co/ronka/postureDetection/resolve/main/trainer_state.json
- Command line
-
hf download hf://ronka/postureDetection/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/ronka/postureDetection/resolve/main/trainer_state.json
875 Bytes
| { | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 4.0, | |
| "eval_steps": 100, | |
| "global_step": 12, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 3.33, | |
| "grad_norm": 0.951649010181427, | |
| "learning_rate": 3.3333333333333335e-05, | |
| "loss": 0.5381, | |
| "step": 10 | |
| }, | |
| { | |
| "epoch": 4.0, | |
| "step": 12, | |
| "total_flos": 1.1468814462959616e+16, | |
| "train_loss": 0.49794552226861316, | |
| "train_runtime": 44.8816, | |
| "train_samples_per_second": 3.298, | |
| "train_steps_per_second": 0.267 | |
| } | |
| ], | |
| "logging_steps": 10, | |
| "max_steps": 12, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 4, | |
| "save_steps": 100, | |
| "total_flos": 1.1468814462959616e+16, | |
| "train_batch_size": 16, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |