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 16
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:62d4c42526c941ec2d5879fdff4c06132c8548a00cf144e2787cf5ea1fe5ba6c
|
| 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:6916986dbbc391d9c0833c38c7c34daba447c122f18550d0963c6b77445eb371
|
| 3 |
+
size 34674
|