Update README.md
Browse files
README.md
CHANGED
|
@@ -43,6 +43,8 @@ See this [document](https://github.com/OpenGVLab/InternVL/tree/main/clip_benchma
|
|
| 43 |
|
| 44 |
## Model Usage
|
| 45 |
|
|
|
|
|
|
|
| 46 |
```python
|
| 47 |
import torch
|
| 48 |
from PIL import Image
|
|
|
|
| 43 |
|
| 44 |
## Model Usage
|
| 45 |
|
| 46 |
+
**Note: the prefix `'summarize:'` and `tokenizer.pad_token_id = 0` are necessary. Their absence will lead to abnormal results.**
|
| 47 |
+
|
| 48 |
```python
|
| 49 |
import torch
|
| 50 |
from PIL import Image
|