rakib730 / output-models

huggingface.co
Total runs: 5
24-hour runs: 0
7-day runs: -1
30-day runs: 2
Model's Last Updated: August 12 2025
image-classification

Introduction of output-models

Model Details of output-models

Vision Transformer (ViT) Fine-Tuned Model

Vision Transformer (ViT) Fine-Tuned Model

This repository contains a fine-tuned version of google/vit-large-patch16-224 , optimized for a custom image classification task.


📌 Model Overview
  • Base model : google/vit-large-patch16-224
  • Architecture : Vision Transformer (ViT)
  • Patch size : 16×16
  • Image resolution : 224×224
  • Frameworks : PyTorch, Hugging Face Transformers

📊 Performance
Metric Value
Final Validation Loss 0.3268
Lowest Validation Loss 0.2548 (Epoch 18)

Training loss and validation loss trends indicate good convergence with slight overfitting after ~30 epochs.


🔧 Training Configuration
Hyperparameter Value
Learning rate 2e-5
Train batch size 20
Eval batch size 8
Optimizer AdamW ( betas=(0.9, 0.999) , eps=1e-8 )
LR scheduler Linear
Epochs 40
Seed 42
Framework versions Transformers 4.52.4, PyTorch 2.6.0+cu124, Datasets 3.6.0, Tokenizers 0.21.2

📂 Training Results
Epoch Step Validation Loss
1 24 0.5601
5 120 0.3421
10 240 0.2901
14 336 0.2737
18 432 0.2548
40 960 0.3268

🛠 Intended Uses
  • Image classification on datasets with characteristics similar to the training dataset.
  • Fine-tuning for domain-specific classification tasks.

⚠ Limitations
  • Trained on a custom dataset — may not generalize well to unrelated domains without additional fine-tuning.
  • No guarantees on fairness, bias, or ethical implications without dataset analysis.

🚀 How to Use

You can use this model in two main ways:

1️⃣ Using the High-Level pipeline API
from transformers import pipeline

pipe = pipeline("image-classification", model="rakib730/output-models")

# Classify an image from a URL
result = pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
print(result)

2️⃣ Using the Processor and Model Directly**
from transformers import AutoImageProcessor, AutoModelForImageClassification
from PIL import Image
import requests
import torch

# Load processor and model
processor = AutoImageProcessor.from_pretrained("rakib730/output-models")
model = AutoModelForImageClassification.from_pretrained("rakib730/output-models")

# Load an image
url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png"
image = Image.open(requests.get(url, stream=True).raw).convert("RGB")

# Preprocess
inputs = processor(images=image, return_tensors="pt")

# Inference
with torch.no_grad():
    outputs = model(**inputs)
    logits = outputs.logits
    predicted_class_id = logits.argmax(-1).item()

print("Predicted class:", model.config.id2label[predicted_class_id])

Runs of rakib730 output-models on huggingface.co

5
Total runs
0
24-hour runs
0
3-day runs
-1
7-day runs
2
30-day runs

More Information About output-models huggingface.co Model

More output-models license Visit here:

https://choosealicense.com/licenses/apache-2.0

output-models huggingface.co

output-models huggingface.co is an AI model on huggingface.co that provides output-models's model effect (), which can be used instantly with this rakib730 output-models model. huggingface.co supports a free trial of the output-models model, and also provides paid use of the output-models. Support call output-models model through api, including Node.js, Python, http.

output-models huggingface.co Url

https://huggingface.co/rakib730/output-models

rakib730 output-models online free

output-models huggingface.co is an online trial and call api platform, which integrates output-models's modeling effects, including api services, and provides a free online trial of output-models, you can try output-models online for free by clicking the link below.

rakib730 output-models online free url in huggingface.co:

https://huggingface.co/rakib730/output-models

output-models install

output-models is an open source model from GitHub that offers a free installation service, and any user can find output-models on GitHub to install. At the same time, huggingface.co provides the effect of output-models install, users can directly use output-models installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

output-models install url in huggingface.co:

https://huggingface.co/rakib730/output-models

Url of output-models

output-models huggingface.co Url

Provider of output-models huggingface.co

rakib730
ORGANIZATIONS

Other API from rakib730

huggingface.co

Total runs: 9
Run Growth: 6
Growth Rate: 66.67%
Updated:May 01 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 12 2025