Instructions to use Hilbs/FaucetDetect with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hilbs/FaucetDetect with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Hilbs/FaucetDetect") 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("Hilbs/FaucetDetect") model = AutoModelForImageClassification.from_pretrained("Hilbs/FaucetDetect", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,032 Bytes
9db0029 127c2f2 9db0029 127c2f2 9db0029 127c2f2 9db0029 127c2f2 9db0029 127c2f2 9db0029 127c2f2 9db0029 | 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 | {
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 4.0,
"eval_steps": 40,
"global_step": 24,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.67,
"grad_norm": 1.1704062223434448,
"learning_rate": 0.00011666666666666668,
"loss": 0.4643,
"step": 10
},
{
"epoch": 3.33,
"grad_norm": 0.49445489048957825,
"learning_rate": 3.3333333333333335e-05,
"loss": 0.1939,
"step": 20
},
{
"epoch": 4.0,
"step": 24,
"total_flos": 2.944695605354496e+16,
"train_loss": 0.2903190416594346,
"train_runtime": 752.2275,
"train_samples_per_second": 0.505,
"train_steps_per_second": 0.032
}
],
"logging_steps": 10,
"max_steps": 24,
"num_input_tokens_seen": 0,
"num_train_epochs": 4,
"save_steps": 40,
"total_flos": 2.944695605354496e+16,
"train_batch_size": 16,
"trial_name": null,
"trial_params": null
}
|