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 config.json from vuongnhathien/test-augment: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/vuongnhathien/test-augment/resolve/main/config.json
- Command line
-
hf download hf://vuongnhathien/test-augment/config.json
-
curl -L -o config.json https://huggingface.co/vuongnhathien/test-augment/resolve/main/config.json
1.19 kB
| { | |
| "_name_or_path": "facebook/convnextv2-tiny-22k-384", | |
| "architectures": [ | |
| "ConvNextV2ForImageClassification" | |
| ], | |
| "depths": [ | |
| 3, | |
| 3, | |
| 9, | |
| 3 | |
| ], | |
| "drop_path_rate": 0.0, | |
| "hidden_act": "gelu", | |
| "hidden_sizes": [ | |
| 96, | |
| 192, | |
| 384, | |
| 768 | |
| ], | |
| "id2label": { | |
| "0": "aechmea_fasciata", | |
| "1": "agave_americana", | |
| "2": "agave_attenuata", | |
| "3": "agave_tequilana", | |
| "4": "aglaonema_commutatum", | |
| "5": "albuca_spiralis", | |
| "6": "allium_cepa", | |
| "7": "allium_sativum" | |
| }, | |
| "image_size": 224, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "aechmea_fasciata": 0, | |
| "agave_americana": 1, | |
| "agave_attenuata": 2, | |
| "agave_tequilana": 3, | |
| "aglaonema_commutatum": 4, | |
| "albuca_spiralis": 5, | |
| "allium_cepa": 6, | |
| "allium_sativum": 7 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "model_type": "convnextv2", | |
| "num_channels": 3, | |
| "num_stages": 4, | |
| "out_features": [ | |
| "stage4" | |
| ], | |
| "out_indices": [ | |
| 4 | |
| ], | |
| "patch_size": 4, | |
| "problem_type": "single_label_classification", | |
| "stage_names": [ | |
| "stem", | |
| "stage1", | |
| "stage2", | |
| "stage3", | |
| "stage4" | |
| ], | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.39.3" | |
| } | |