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:4edadd5a66d8f294aeb834eaad443cb6e10d01f0ec9f0dbf0f483fda82abb557
|
| 3 |
size 343233204
|
runs/Nov07_20-15-14_7bb4815d3e07/events.out.tfevents.1699388115.7bb4815d3e07.616.5
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:fa9e1af2c6cd2d836158a26122c066a2e0ad9abbf451674e5e79e109872f1112
|
| 3 |
+
size 11525
|