Rodeszones
commited on
Commit
•
05ae8b6
1
Parent(s):
e3c1819
Update README.md
Browse files
README.md
CHANGED
@@ -60,6 +60,9 @@ with torch.no_grad():
|
|
60 |
outputs = model.generate(**inputs, **gen_kwargs)
|
61 |
outputs = outputs[:, inputs['input_ids'].shape[1]:]
|
62 |
print(tokenizer.decode(outputs[0]))
|
|
|
|
|
|
|
63 |
|
64 |
```
|
65 |
|
@@ -70,8 +73,6 @@ The code in this repository is open source under the [Apache-2.0 license](https:
|
|
70 |
|
71 |
|
72 |
# (Citation)
|
73 |
-
|
74 |
-
If you find our work helpful, please consider citing the following papers
|
75 |
```
|
76 |
@article{wang2023cogvlm,
|
77 |
title={CogVLM: Visual Expert for Pretrained Language Models},
|
|
|
60 |
outputs = model.generate(**inputs, **gen_kwargs)
|
61 |
outputs = outputs[:, inputs['input_ids'].shape[1]:]
|
62 |
print(tokenizer.decode(outputs[0]))
|
63 |
+
|
64 |
+
#example output
|
65 |
+
a room with a ladder [[378,107,636,998]] and a blue and white towel [[073,000,346,905]].</s>
|
66 |
|
67 |
```
|
68 |
|
|
|
73 |
|
74 |
|
75 |
# (Citation)
|
|
|
|
|
76 |
```
|
77 |
@article{wang2023cogvlm,
|
78 |
title={CogVLM: Visual Expert for Pretrained Language Models},
|