Instructions to use MoTHer-VTHR/VTHR-LoRA-F-ModelTree_3-Depth_2-Node_7y54jSeg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MoTHer-VTHR/VTHR-LoRA-F-ModelTree_3-Depth_2-Node_7y54jSeg with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="MoTHer-VTHR/VTHR-LoRA-F-ModelTree_3-Depth_2-Node_7y54jSeg") 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("MoTHer-VTHR/VTHR-LoRA-F-ModelTree_3-Depth_2-Node_7y54jSeg") model = AutoModelForImageClassification.from_pretrained("MoTHer-VTHR/VTHR-LoRA-F-ModelTree_3-Depth_2-Node_7y54jSeg", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload ViTForImageClassification
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "./dataset/./model_heritage_dataset/LoRA_finetuning_rank16/vit/patch_camelyon__component_3__depth_2__uuid_7y54jSeg",
|
| 3 |
"architectures": [
|
| 4 |
"ViTForImageClassification"
|
| 5 |
],
|
|
@@ -21,5 +21,5 @@
|
|
| 21 |
"qkv_bias": true,
|
| 22 |
"return_dict": false,
|
| 23 |
"torch_dtype": "float32",
|
| 24 |
-
"transformers_version": "4.40.
|
| 25 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/cs/labs/yedid/eliahu.horwitz/research_projects/ModelHeritage/ModelHeritage/dataset/./model_heritage_dataset/LoRA_finetuning_rank16/vit/patch_camelyon__component_3__depth_2__uuid_7y54jSeg",
|
| 3 |
"architectures": [
|
| 4 |
"ViTForImageClassification"
|
| 5 |
],
|
|
|
|
| 21 |
"qkv_bias": true,
|
| 22 |
"return_dict": false,
|
| 23 |
"torch_dtype": "float32",
|
| 24 |
+
"transformers_version": "4.40.1"
|
| 25 |
}
|