Prarabdha commited on
Commit
be24820
·
verified ·
1 Parent(s): dac1233

updated readme

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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, LLavaForConditionalGeneration
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