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 11
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:0637972dafbca4f7f8366918c6db8e49becb8ee1c1e914ad090a1d21a013fc58
|
| 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:8b5c43158508bdd9ee42cc22b384465101309e63f9ea83d095de9360b49ce0f5
|
| 3 |
+
size 25209
|