Update README.md
Browse files
README.md
CHANGED
|
@@ -19,7 +19,7 @@ It achieves the following results on the evaluation set:
|
|
| 19 |
- Loss: 0.2107
|
| 20 |
|
| 21 |
### Inference Code versions
|
| 22 |
-
|
| 23 |
# Code
|
| 24 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
| 25 |
import matplotlib.pyplot as plt
|
|
@@ -74,7 +74,7 @@ It achieves the following results on the evaluation set:
|
|
| 74 |
parsed_answer = run_example("<OD>", image=image)
|
| 75 |
print(parsed_answer)
|
| 76 |
plot_bbox(image, parsed_answer["<OD>"])
|
| 77 |
-
|
| 78 |
|
| 79 |
|
| 80 |
## Model description
|
|
|
|
| 19 |
- Loss: 0.2107
|
| 20 |
|
| 21 |
### Inference Code versions
|
| 22 |
+
```python
|
| 23 |
# Code
|
| 24 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
| 25 |
import matplotlib.pyplot as plt
|
|
|
|
| 74 |
parsed_answer = run_example("<OD>", image=image)
|
| 75 |
print(parsed_answer)
|
| 76 |
plot_bbox(image, parsed_answer["<OD>"])
|
| 77 |
+
```
|
| 78 |
|
| 79 |
|
| 80 |
## Model description
|