update readme
Browse files
README.md
CHANGED
|
@@ -30,6 +30,9 @@ We introduce <strong>Kangaroo</strong>, a powerful Multimodal Large Language Mod
|
|
| 30 |
- transformers == 4.41.0
|
| 31 |
- xformers == 0.0.23
|
| 32 |
|
|
|
|
|
|
|
|
|
|
| 33 |
### Multi-round Chat with 🤗 Transformers
|
| 34 |
```python
|
| 35 |
import torch
|
|
@@ -45,7 +48,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 45 |
model = model.to("cuda")
|
| 46 |
terminators = [tokenizer.eos_token_id, tokenizer.convert_tokens_to_ids("<|eot_id|>")]
|
| 47 |
|
| 48 |
-
# replace /path/to/
|
| 49 |
video_path = "/path/to/video"
|
| 50 |
|
| 51 |
# Round 1
|
|
|
|
| 30 |
- transformers == 4.41.0
|
| 31 |
- xformers == 0.0.23
|
| 32 |
|
| 33 |
+
### Download Model
|
| 34 |
+
Our Kangaroo model checkpoint is available at [huggingface](https://huggingface.co/KangarooGroup/kangaroo)
|
| 35 |
+
|
| 36 |
### Multi-round Chat with 🤗 Transformers
|
| 37 |
```python
|
| 38 |
import torch
|
|
|
|
| 48 |
model = model.to("cuda")
|
| 49 |
terminators = [tokenizer.eos_token_id, tokenizer.convert_tokens_to_ids("<|eot_id|>")]
|
| 50 |
|
| 51 |
+
# replace /path/to/video to your own path to the video
|
| 52 |
video_path = "/path/to/video"
|
| 53 |
|
| 54 |
# Round 1
|