Update README.md
Browse files
README.md
CHANGED
|
@@ -47,7 +47,7 @@ model = AutoPeftModelForCausalLM.from_pretrained(
|
|
| 47 |
|
| 48 |
query = tokenizer.from_list_format([
|
| 49 |
{'image': 'https://i.postimg.cc/Fz0bVzpm/test.png'},
|
| 50 |
-
{'text': '
|
| 51 |
])
|
| 52 |
response, history = model.chat(tokenizer, query=query, history=None, generation_config=generation_config)
|
| 53 |
print(response)
|
|
|
|
| 47 |
|
| 48 |
query = tokenizer.from_list_format([
|
| 49 |
{'image': 'https://i.postimg.cc/Fz0bVzpm/test.png'},
|
| 50 |
+
{'text': '让我们打破常规思维思考问题。请仔细阅读图片,写出一个令人感到意外且搞笑的句子。'},
|
| 51 |
])
|
| 52 |
response, history = model.chat(tokenizer, query=query, history=None, generation_config=generation_config)
|
| 53 |
print(response)
|