tonyassi / git-base-luc1

huggingface.co
Total runs: 11
24-hour runs: 0
7-day runs: -1
30-day runs: -1
Model's Last Updated: September 23 2024
image-text-to-text

Introduction of git-base-luc1

Model Details of git-base-luc1

git-base-lucy1

This model is a fine-tuned version of microsoft/git-base on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 5.9368
  • Wer Score: 3.1310
Model description

Fine-tuned captioning model on Lucy in the Sky images.

Dataset: tonyassi/lucy-caption-2

Usage
import torch
from PIL import Image
from transformers import AutoProcessor, AutoModelForCausalLM
import requests

# Load model directly
processor = AutoProcessor.from_pretrained("tonyassi/git-base-lucy1")
model = AutoModelForCausalLM.from_pretrained("tonyassi/git-base-lucy1")

# Load image
url = "https://datasets-server.huggingface.co/cached-assets/tonyassi/lucy-caption-2/--/94d2ffc965a7a0a50beebbeb60d04fa38a24ff66/--/default/train/6/image/image.jpg?Expires=1727109954&Signature=IMpoIBQV-ICPaC8V4NF2SUn0OQE7cOtIJZIeGSpOQLifkjlXl3rx6CAukc2Ax3Gkl4eQ3BfcDrnV2HNzE-c3c5WC5lcj30PWTkSczcqN7YtkKGFHOxlS6-Gv8zotQw8NJPn0d-LoCERHlxA75Sbh8vF8X6DE1SCRJIitT3DFcObTdKpZpHYDv21BYq4-A4EN04wX6aKHWyz8xR0NorlOtcB8dzPdsSpRGy3gcgLU9kHeBNWpa22KsMDJmDP8QferzrnG5bnb5fi9RxrMCTURCPUB8AyNJ1mVwuAorW4GJIdm40UEoqanQzrST3hIp-dTEH47w5-GY5PnOrWUcaxYGQ__&Key-Pair-Id=K3EI6M078Z3AC3"
image = Image.open(requests.get(url, stream=True).raw)

# GPU or CPU
device = "cuda" if torch.cuda.is_available() else "cpu"

# Inference
inputs = processor(images=image, return_tensors="pt").to(device)
pixel_values = inputs.pixel_values
generated_ids = model.generate(pixel_values=pixel_values, max_length=50)
generated_caption = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(generated_caption)
Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure
Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • train_batch_size: 32
  • eval_batch_size: 32
  • seed: 42
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 64
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 50
  • mixed_precision_training: Native AMP
Training results
Training Loss Epoch Step Validation Loss Wer Score
3.589 50.0 50 5.9368 3.1310
Framework versions
  • Transformers 4.44.2
  • Pytorch 2.4.0+cu121
  • Datasets 2.21.0
  • Tokenizers 0.19.1

Runs of tonyassi git-base-luc1 on huggingface.co

11
Total runs
0
24-hour runs
0
3-day runs
-1
7-day runs
-1
30-day runs

More Information About git-base-luc1 huggingface.co Model

More git-base-luc1 license Visit here:

https://choosealicense.com/licenses/mit

git-base-luc1 huggingface.co

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

git-base-luc1 huggingface.co Url

https://huggingface.co/tonyassi/git-base-luc1

tonyassi git-base-luc1 online free

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

tonyassi git-base-luc1 online free url in huggingface.co:

https://huggingface.co/tonyassi/git-base-luc1

git-base-luc1 install

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

git-base-luc1 install url in huggingface.co:

https://huggingface.co/tonyassi/git-base-luc1

Url of git-base-luc1

git-base-luc1 huggingface.co Url

Provider of git-base-luc1 huggingface.co

tonyassi
ORGANIZATIONS

Other API from tonyassi

huggingface.co

Total runs: 11
Run Growth: -2
Growth Rate: -18.18%
Updated:March 20 2024
huggingface.co

Total runs: 11
Run Growth: 7
Growth Rate: 63.64%
Updated:February 27 2024
huggingface.co

Total runs: 8
Run Growth: 7
Growth Rate: 87.50%
Updated:November 08 2023
huggingface.co

Total runs: 3
Run Growth: 1
Growth Rate: 33.33%
Updated:November 08 2023
huggingface.co

Total runs: 3
Run Growth: 2
Growth Rate: 66.67%
Updated:August 15 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 11 2026