Instructions to use vuongnhathien/test-augment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vuongnhathien/test-augment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="vuongnhathien/test-augment") 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("vuongnhathien/test-augment") model = AutoModelForImageClassification.from_pretrained("vuongnhathien/test-augment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from vuongnhathien/test-augment: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/vuongnhathien/test-augment/resolve/main/trainer_state.json
- Command line
-
hf download hf://vuongnhathien/test-augment/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/vuongnhathien/test-augment/resolve/main/trainer_state.json
1.21 kB
| { | |
| "best_metric": 0.9655162692070007, | |
| "best_model_checkpoint": "./test-augment/checkpoint-20", | |
| "epoch": 2.0, | |
| "eval_steps": 500, | |
| "global_step": 20, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 1.0, | |
| "eval_accuracy": 0.6375, | |
| "eval_loss": 1.1256365776062012, | |
| "eval_runtime": 1.0412, | |
| "eval_samples_per_second": 76.836, | |
| "eval_steps_per_second": 1.921, | |
| "step": 10 | |
| }, | |
| { | |
| "epoch": 2.0, | |
| "eval_accuracy": 0.7125, | |
| "eval_loss": 0.9655162692070007, | |
| "eval_runtime": 1.0636, | |
| "eval_samples_per_second": 75.217, | |
| "eval_steps_per_second": 1.88, | |
| "step": 20 | |
| }, | |
| { | |
| "epoch": 2.0, | |
| "step": 20, | |
| "total_flos": 5.091978035331072e+16, | |
| "train_loss": 1.3109167098999024, | |
| "train_runtime": 32.3348, | |
| "train_samples_per_second": 39.586, | |
| "train_steps_per_second": 0.619 | |
| } | |
| ], | |
| "logging_steps": 100, | |
| "max_steps": 20, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 2, | |
| "save_steps": 500, | |
| "total_flos": 5.091978035331072e+16, | |
| "train_batch_size": 64, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |