updated readme
Browse files
README.md
CHANGED
@@ -40,11 +40,11 @@ This repository provides the original Pixtral model weights converted to be full
|
|
40 |
You can install the model using the Transformers library:
|
41 |
|
42 |
```python
|
43 |
-
from transformers import AutoProcessor,
|
44 |
import torch
|
45 |
|
46 |
-
model = LLavaForConditionalGeneration.from_pretrained("Prarabdha/pixtral-12b-240910-hf", torch_dtype=torch.float16, device_map="auto")
|
47 |
processor = AutoProcessor.from_pretrained("Prarabdha/pixtral-12b-240910-hf")
|
|
|
48 |
```
|
49 |
|
50 |
## Example Usage
|
|
|
40 |
You can install the model using the Transformers library:
|
41 |
|
42 |
```python
|
43 |
+
from transformers import AutoProcessor, AutoModelForImageTextToText
|
44 |
import torch
|
45 |
|
|
|
46 |
processor = AutoProcessor.from_pretrained("Prarabdha/pixtral-12b-240910-hf")
|
47 |
+
model = AutoModelForImageTextToText.from_pretrained("Prarabdha/pixtral-12b-240910-hf", torch_dtype=torch.float16, device_map="auto")
|
48 |
```
|
49 |
|
50 |
## Example Usage
|