Image Classification
Transformers
PyTorch
TensorBoard
vit
huggingpics
llama-leaderboard
Eval Results (legacy)
Run this model with HF Jobs
Run osanseviero/llama-alpaca-guanaco-vicuna on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/osanseviero/llama-alpaca-guanaco-vicuna. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/osanseviero/llama-alpaca-guanaco-vicuna on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use osanseviero/llama-alpaca-guanaco-vicuna with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use osanseviero/llama-alpaca-guanaco-vicuna with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="osanseviero/llama-alpaca-guanaco-vicuna") 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("osanseviero/llama-alpaca-guanaco-vicuna") model = AutoModelForImageClassification.from_pretrained("osanseviero/llama-alpaca-guanaco-vicuna", device_map="auto") - Notebooks
- Google Colab
- Kaggle
osanseviero commited on
Commit ·
1099146
1
Parent(s): d0c22ac
commit files to HF hub
Browse filesFiles changed (9)
- README.mdAdded+48
- config.jsonAdded+32
- images/alpaca.jpgAdded
- images/guanaco.jpgAdded
- images/llama.jpgAdded
- images/vicuna.jpgAdded
- preprocessor_config.jsonAdded+17
- pytorch_model.binAdded+3
- runs/events.out.tfevents.1625147468.219e2f4a0b3d.64.0Added
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748---tags:- image-classification- pytorch- huggingpicsmetrics:- accuracy
model-index:- name: llamastic results: - task: name: Image Classification type: image-classification metrics: - name: Accuracy type: accuracy value: 0.39772728085517883---
# llamastic
Autogenerated by HuggingPics🤗🖼️
Create your own image classifier for **anything** by running [the demo](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb).
Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics).
## Example Images
#### alpaca

#### guanaco

#### llama

#### vicuna
1234567891011121314151617181920212223242526272829303132{ "_name_or_path": "google/vit-base-patch16-224-in21k", "architectures": [ "ViTForImageClassification" ], "attention_probs_dropout_prob": 0.0, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 768, "id2label": { "0": "alpaca", "1": "guanaco", "2": "llama", "3": "vicuna" }, "image_size": 224, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "alpaca": "0", "guanaco": "1", "llama": "2", "vicuna": "3" }, "layer_norm_eps": 1e-12, "model_type": "vit", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "patch_size": 16, "transformers_version": "4.8.2"}1234567891011121314151617{ "do_normalize": true, "do_resize": true, "feature_extractor_type": "ViTFeatureExtractor", "image_mean": [ 0.5, 0.5, 0.5 ], "image_std": [ 0.5, 0.5, 0.5 ], "resample": 2, "size": 224}123version https://git-lfs.github.com/spec/v1oid sha256:b5cc70c016a8554631c4ead35157274dac9869c76eeec47bf9f9eb1b5a75e4c1size 343283185README.mdAdded+48
config.jsonAdded+32
images/alpaca.jpgAdded

images/guanaco.jpgAdded

images/llama.jpgAdded

images/vicuna.jpgAdded

preprocessor_config.jsonAdded+17
pytorch_model.binAdded+3
runs/events.out.tfevents.1625147468.219e2f4a0b3d.64.0Added