Update README.md
Browse files
README.md
CHANGED
@@ -29,7 +29,7 @@ This weight is for **initilizing training for Otter-MPT7B**. It's directly conve
|
|
29 |
|
30 |
You can load and try this model using
|
31 |
```python
|
32 |
-
model = OtterForConditionalGeneration.from_pretrained("luodian/OTTER-MPT7B-Init", device_map="sequential"
|
33 |
model.text_tokenizer.padding_side = "left"
|
34 |
tokenizer = model.text_tokenizer
|
35 |
image_processor = transformers.CLIPImageProcessor()
|
|
|
29 |
|
30 |
You can load and try this model using
|
31 |
```python
|
32 |
+
model = OtterForConditionalGeneration.from_pretrained("luodian/OTTER-MPT7B-Init", device_map="sequential")
|
33 |
model.text_tokenizer.padding_side = "left"
|
34 |
tokenizer = model.text_tokenizer
|
35 |
image_processor = transformers.CLIPImageProcessor()
|