Update README.md
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ ADOPD is a reference-privileged on-policy distillation framework that internaliz
|
|
| 26 |
|
| 27 |
## Quickstart
|
| 28 |
|
| 29 |
-
|
| 30 |
from transformers import AutoProcessor, AutoModelForMultimodalLM
|
| 31 |
|
| 32 |
model_id = "withstaticTai/ADOPD"
|
|
@@ -49,7 +49,7 @@ inputs = processor.apply_chat_template(
|
|
| 49 |
|
| 50 |
outputs = model.generate(**inputs, max_new_tokens=40)
|
| 51 |
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
|
| 52 |
-
|
| 53 |
|
| 54 |
|
| 55 |
|
|
|
|
| 26 |
|
| 27 |
## Quickstart
|
| 28 |
|
| 29 |
+
```python
|
| 30 |
from transformers import AutoProcessor, AutoModelForMultimodalLM
|
| 31 |
|
| 32 |
model_id = "withstaticTai/ADOPD"
|
|
|
|
| 49 |
|
| 50 |
outputs = model.generate(**inputs, max_new_tokens=40)
|
| 51 |
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
|
| 52 |
+
```
|
| 53 |
|
| 54 |
|
| 55 |
|