Zero-Shot Image Classification
OpenCLIP
PyTorch
clip
vision
language
histopathology
histology
medical
Instructions to use wisdomik/QuiltNet-B-32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use wisdomik/QuiltNet-B-32 with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:wisdomik/QuiltNet-B-32') tokenizer = open_clip.get_tokenizer('hf-hub:wisdomik/QuiltNet-B-32') - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
| 28 |
"finetuning_task": null,
|
| 29 |
"forced_bos_token_id": null,
|
| 30 |
"forced_eos_token_id": null,
|
| 31 |
-
"hidden_act": "
|
| 32 |
"hidden_size": 512,
|
| 33 |
"id2label": {
|
| 34 |
"0": "LABEL_0",
|
|
@@ -107,7 +107,7 @@
|
|
| 107 |
"finetuning_task": null,
|
| 108 |
"forced_bos_token_id": null,
|
| 109 |
"forced_eos_token_id": null,
|
| 110 |
-
"hidden_act": "
|
| 111 |
"hidden_size": 768,
|
| 112 |
"id2label": {
|
| 113 |
"0": "LABEL_0",
|
|
|
|
| 28 |
"finetuning_task": null,
|
| 29 |
"forced_bos_token_id": null,
|
| 30 |
"forced_eos_token_id": null,
|
| 31 |
+
"hidden_act": "gelu",
|
| 32 |
"hidden_size": 512,
|
| 33 |
"id2label": {
|
| 34 |
"0": "LABEL_0",
|
|
|
|
| 107 |
"finetuning_task": null,
|
| 108 |
"forced_bos_token_id": null,
|
| 109 |
"forced_eos_token_id": null,
|
| 110 |
+
"hidden_act": "gelu",
|
| 111 |
"hidden_size": 768,
|
| 112 |
"id2label": {
|
| 113 |
"0": "LABEL_0",
|