blackhole33 / Image2text

huggingface.co
Total runs: 10
24-hour runs: -1
7-day runs: -2
30-day runs: 7
Model's Last Updated: March 28 2024
image-text-to-text

Introduction of Image2text

Model Details of Image2text

Model discription and Inference

Image to Text modeli bu asosan pre-trained qilingan model ustiga fine-tuned qilindi juda kam dataset bilan.

epoch soni : 50 ta

loss: 0.03....

train_time: o'rtacha 45 minute.

test

Juda ham kam dataset bilan fine-tuned qilingani uchun , ko'rsatilgan dataset imagelaridan foydalanish tafsiya qilaman.

Dataset image and uning dscription holatidan bo'ladi.

misol uchun :

    from datasets import load_dataset 
    dataset = load_dataset("ybelkada/football-dataset", split="train")
Usage model
from transformers import AutoProcessor, BlipForConditionalGeneration

processor = AutoProcessor.from_pretrained("ai-nightcoder/Image2text")
model = BlipForConditionalGeneration.from_pretrained("ai-nightcoder/Image2text")

image olamiz

example = dataset[0]
image = example["image"]
image
generate qismi.
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)

Yuqorida ko'rsatgan tartibda modeldan foydalanishni tavsiya qilaman.

Runs of blackhole33 Image2text on huggingface.co

10
Total runs
-1
24-hour runs
-1
3-day runs
-2
7-day runs
7
30-day runs

More Information About Image2text huggingface.co Model

More Image2text license Visit here:

https://choosealicense.com/licenses/mit

Image2text huggingface.co

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

blackhole33 Image2text online free

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

blackhole33 Image2text online free url in huggingface.co:

https://huggingface.co/blackhole33/Image2text

Image2text install

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

Image2text install url in huggingface.co:

https://huggingface.co/blackhole33/Image2text

Url of Image2text

Provider of Image2text huggingface.co

blackhole33
ORGANIZATIONS

Other API from blackhole33

huggingface.co

Total runs: 14
Run Growth: -35
Growth Rate: -318.18%
Updated:February 28 2024
huggingface.co

Total runs: 6
Run Growth: 0
Growth Rate: 0.00%
Updated:March 09 2024
huggingface.co

Total runs: 3
Run Growth: 1
Growth Rate: 33.33%
Updated:March 16 2024
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:March 16 2024