tinyllava commited on
Commit
03e795d
1 Parent(s): faca8fc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -18,10 +18,10 @@ config = model.config
18
  tokenizer = AutoTokenizer.from_pretrained(hf_path, use_fast=False, model_max_length = config.tokenizer_model_max_length,padding_side = config.tokenizer_padding_side)
19
  prompt="What are these?"
20
  image_url="http://images.cocodataset.org/val2017/000000039769.jpg"
21
- output_text, genertaion_time = model.chat(prompt=prompt, image=image_url, model=model, tokenizer=tokenizer)
22
 
23
- print('model output: ', output_text)
24
- print('runing time: ', genertaion_time)
25
  ```
26
  ### Result
27
 
 
18
  tokenizer = AutoTokenizer.from_pretrained(hf_path, use_fast=False, model_max_length = config.tokenizer_model_max_length,padding_side = config.tokenizer_padding_side)
19
  prompt="What are these?"
20
  image_url="http://images.cocodataset.org/val2017/000000039769.jpg"
21
+ output_text, genertaion_time = model.chat(prompt=prompt, image=image_url, tokenizer=tokenizer)
22
 
23
+ print('model output:', output_text)
24
+ print('runing time:', genertaion_time)
25
  ```
26
  ### Result
27