Lancelot53
commited on
Commit
•
f66acca
1
Parent(s):
74490d8
The example loading code snippet had a small mistake where it loads the 7B Model.
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ It's directly converted from [openflamingo/OpenFlamingo-3B-vitl-mpt1b-langinstru
|
|
31 |
|
32 |
You can load and try this model using
|
33 |
```python
|
34 |
-
model = OtterForConditionalGeneration.from_pretrained("luodian/OTTER-
|
35 |
model.text_tokenizer.padding_side = "left"
|
36 |
tokenizer = model.text_tokenizer
|
37 |
image_processor = transformers.CLIPImageProcessor()
|
|
|
31 |
|
32 |
You can load and try this model using
|
33 |
```python
|
34 |
+
model = OtterForConditionalGeneration.from_pretrained("luodian/OTTER-MPT1B-RPJama-Init", device_map="sequential")
|
35 |
model.text_tokenizer.padding_side = "left"
|
36 |
tokenizer = model.text_tokenizer
|
37 |
image_processor = transformers.CLIPImageProcessor()
|