Instructions to use masafresh/swin-transformer2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use masafresh/swin-transformer2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="masafresh/swin-transformer2") 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("masafresh/swin-transformer2") model = AutoModelForImageClassification.from_pretrained("masafresh/swin-transformer2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 57
Browse files
logs/events.out.tfevents.1731697065.AZHAR-PC.1074714.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79eafcd72587b232f66629b45066b372ead32db57e7f57cebbdc1e0d113eefdf
|
| 3 |
+
size 84202
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 784887780
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e31129a3c4e438b0f28b20489c1c792f725588a60d17c6bafff5b8716d742859
|
| 3 |
size 784887780
|