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 14
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:5ab5313195390c97aa3fe0892ad02ea50bd4db720e1dd487a55b3e20e29c6a40
|
| 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:91e6c1bf95a118c58c04c131d21be46079d6c49c25009ddcff08e26ad26b90c0
|
| 3 |
+
size 30888
|