Instructions to use tonyassi/lens-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tonyassi/lens-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="tonyassi/lens-2") 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("tonyassi/lens-2") model = AutoModelForImageClassification.from_pretrained("tonyassi/lens-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 13
Browse files
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343233204
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03cde5e5bc23059a39a805a59f68fe4e1489cf15d1447db33e4f83e33041810a
|
| 3 |
size 343233204
|
runs/Nov07_20-45-25_7bb4815d3e07/events.out.tfevents.1699389926.7bb4815d3e07.616.7
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:155385f52bbca7195e0d4370dee2ad834d1a9358e864e45b1a6458245c28cf0c
|
| 3 |
+
size 28995
|