Image-Text-to-Text
Transformers
Safetensors
Portuguese
tinyllava
text-generation
vision
custom_code
nicholasKluge commited on
Commit
a4f74d3
·
verified ·
1 Parent(s): 6ba2e09

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -68,7 +68,7 @@ The primary intended use of the ViTucano models is to serve as foundations for r
68
  from tinyllava.eval.run_tiny_llava import eval_model
69
 
70
  model_path = "TucanoBR/ViTucano-1b5-v1"
71
- prompt = "Quais são as coisas com as quais devo ter cuidado quando estiver aqui?"
72
  image_file = "https://raw.githubusercontent.com/Nkluge-correa/TinyLLaVA_Factory/refs/heads/main/assets/sample.jpg"
73
  conv_mode = "llama"
74
 
@@ -107,7 +107,7 @@ model = AutoModelForCausalLM.from_pretrained(
107
  model.to(device)
108
 
109
  tokenizer = AutoTokenizer.from_pretrained(model_path)
110
- prompt = "Quais são as coisas com as quais devo ter cuidado quando estiver aqui?"
111
  image_file="https://raw.githubusercontent.com/Nkluge-correa/TinyLLaVA_Factory/refs/heads/main/assets/sample.jpg"
112
  output_text, _ = model.chat(prompt=prompt, image=image_file, tokenizer=tokenizer)
113
 
 
68
  from tinyllava.eval.run_tiny_llava import eval_model
69
 
70
  model_path = "TucanoBR/ViTucano-1b5-v1"
71
+ prompt = "Quais os principais elementos dessa imagem?"
72
  image_file = "https://raw.githubusercontent.com/Nkluge-correa/TinyLLaVA_Factory/refs/heads/main/assets/sample.jpg"
73
  conv_mode = "llama"
74
 
 
107
  model.to(device)
108
 
109
  tokenizer = AutoTokenizer.from_pretrained(model_path)
110
+ prompt = "Quais os principais elementos dessa imagem?"
111
  image_file="https://raw.githubusercontent.com/Nkluge-correa/TinyLLaVA_Factory/refs/heads/main/assets/sample.jpg"
112
  output_text, _ = model.chat(prompt=prompt, image=image_file, tokenizer=tokenizer)
113