patricebechard commited on
Commit
8f7ca30
·
verified ·
1 Parent(s): 99155c4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -72,11 +72,11 @@ Users should:
72
  ## How to Get Started with the Model
73
 
74
  ```python
75
- from transformers import AutoProcessor, AutoModelForVision2Seq
76
  from PIL import Image
77
 
78
  processor = AutoProcessor.from_pretrained("ServiceNow/Llama-3.2-11B-Vision-Instruct-StarFlow")
79
- model = AutoModelForVision2Seq.from_pretrained("ServiceNow/Llama-3.2-11B-Vision-Instruct-StarFlow")
80
 
81
  image = Image.open("workflow_sketch.png")
82
  inputs = processor(images=image, text="Generate workflow JSON", return_tensors="pt")
@@ -222,4 +222,4 @@ Béchard, P., Wang, C., Abaskohi, A., Rodriguez, J., Pal, C., Vazquez, D., Gella
222
  ## Model Card Contact
223
 
224
  * Patrice Bechard - [[email protected]](mailto:[email protected])
225
- * ServiceNow Research – [research.servicenow.com](https://research.servicenow.com)
 
72
  ## How to Get Started with the Model
73
 
74
  ```python
75
+ from transformers import AutoProcessor, MllamaForConditionalGeneration
76
  from PIL import Image
77
 
78
  processor = AutoProcessor.from_pretrained("ServiceNow/Llama-3.2-11B-Vision-Instruct-StarFlow")
79
+ model = MllamaForConditionalGeneration.from_pretrained("ServiceNow/Llama-3.2-11B-Vision-Instruct-StarFlow")
80
 
81
  image = Image.open("workflow_sketch.png")
82
  inputs = processor(images=image, text="Generate workflow JSON", return_tensors="pt")
 
222
  ## Model Card Contact
223
 
224
  * Patrice Bechard - [[email protected]](mailto:[email protected])
225
+ * ServiceNow Research – [research.servicenow.com](https://research.servicenow.com)