bullerwins
commited on
Commit
•
ecf71b8
1
Parent(s):
57d3a81
Update README.md
Browse files
README.md
CHANGED
@@ -14,7 +14,7 @@ https://x.com/MistralAI/status/1833758285167722836
|
|
14 |
Release information:
|
15 |
https://github.com/mistralai/mistral-common/releases/tag/v1.4.0
|
16 |
|
17 |
-
Pixtral is out!
|
18 |
|
19 |
Mistral common has image support! You can now pass images and URLs alongside text into the user message.
|
20 |
```
|
@@ -58,7 +58,7 @@ tokens, text, images = tokenized.tokens, tokenized.text, tokenized.images
|
|
58 |
print("# tokens", len(tokens))
|
59 |
print("# images", len(images))
|
60 |
```
|
61 |
-
Image URLs
|
62 |
|
63 |
You can pass image url which will be automatically downloaded
|
64 |
```
|
@@ -87,7 +87,7 @@ tokens, text, images = tokenized.tokens, tokenized.text, tokenized.images
|
|
87 |
print("# tokens", len(tokens))
|
88 |
print("# images", len(images))
|
89 |
```
|
90 |
-
ImageData
|
91 |
|
92 |
You can also pass image encoded as base64
|
93 |
```
|
|
|
14 |
Release information:
|
15 |
https://github.com/mistralai/mistral-common/releases/tag/v1.4.0
|
16 |
|
17 |
+
# Pixtral is out!
|
18 |
|
19 |
Mistral common has image support! You can now pass images and URLs alongside text into the user message.
|
20 |
```
|
|
|
58 |
print("# tokens", len(tokens))
|
59 |
print("# images", len(images))
|
60 |
```
|
61 |
+
# Image URLs
|
62 |
|
63 |
You can pass image url which will be automatically downloaded
|
64 |
```
|
|
|
87 |
print("# tokens", len(tokens))
|
88 |
print("# images", len(images))
|
89 |
```
|
90 |
+
# ImageData
|
91 |
|
92 |
You can also pass image encoded as base64
|
93 |
```
|