Update README.md
Browse files
README.md
CHANGED
@@ -16,8 +16,6 @@ pipeline_tag: visual-question-answering
|
|
16 |
|
17 |
[💻Github Repo](https://github.com/InternLM/InternLM-XComposer)
|
18 |
|
19 |
-
[Online Demo](https://huggingface.co/spaces/Willow123/InternLM-XComposer)
|
20 |
-
|
21 |
[Paper](https://huggingface.co/papers/2407.03320)
|
22 |
|
23 |
</div>
|
@@ -26,7 +24,7 @@ pipeline_tag: visual-question-answering
|
|
26 |
offers improved multi-modal instruction following and open-ended dialogue capabilities.
|
27 |
|
28 |
### Import from Transformers
|
29 |
-
To load the InternLM-XComposer2-
|
30 |
```python
|
31 |
import torch
|
32 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
16 |
|
17 |
[💻Github Repo](https://github.com/InternLM/InternLM-XComposer)
|
18 |
|
|
|
|
|
19 |
[Paper](https://huggingface.co/papers/2407.03320)
|
20 |
|
21 |
</div>
|
|
|
24 |
offers improved multi-modal instruction following and open-ended dialogue capabilities.
|
25 |
|
26 |
### Import from Transformers
|
27 |
+
To load the InternLM-XComposer2-2d5-Chat model using Transformers, use the following code:
|
28 |
```python
|
29 |
import torch
|
30 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|