Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
aloobun/rmfg · Hugging Face
[go: Go Back, main page]

rmfg

Example

Image Output

A man in a black cowboy hat and sunglasses stands in front of a white car, holding a microphone and speaking into it.


  • underfit, doesn't perform well
  • this marks the beginning of my tiny vision language model series, with this model serving as a prelude to what's to come in the next few days.
from transformers import AutoModelForCausalLM, AutoTokenizer
from PIL import Image

model_id = "aloobun/rmfg"
model = AutoModelForCausalLM.from_pretrained(
    model_id, trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained(model_id)

image = Image.open('692374.jpg')
enc_image = model.encode_image(image)
print(model.answer_question(enc_image, "Describe this image.", tokenizer))
Downloads last month
7
Safetensors
Model size
2B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support