nicholasKluge
commited on
Update README.md
Browse files
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
|
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
|
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 |
|