Update README.md
Browse files
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,
|
| 76 |
from PIL import Image
|
| 77 |
|
| 78 |
processor = AutoProcessor.from_pretrained("ServiceNow/Llama-3.2-11B-Vision-Instruct-StarFlow")
|
| 79 |
-
model =
|
| 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)
|