Commit
·
dc002d3
1
Parent(s):
a97e237
Update README.md
Browse files
README.md
CHANGED
|
@@ -26,7 +26,7 @@ image_embedding = model_coreml.predict({'input_image_preprocessed': preprocessed
|
|
| 26 |
|
| 27 |
text = 'example text'
|
| 28 |
preprocessed_text = preprocessor(text=text, images=None, return_tensors="pt", padding=True)
|
| 29 |
-
text_embedding = model_coreml_text.predict({'input_text_token_ids: preprocessed_text.input_ids})['output_embedding'])
|
| 30 |
```
|
| 31 |
|
| 32 |
Please credit me if you use this.
|
|
|
|
| 26 |
|
| 27 |
text = 'example text'
|
| 28 |
preprocessed_text = preprocessor(text=text, images=None, return_tensors="pt", padding=True)
|
| 29 |
+
text_embedding = model_coreml_text.predict({'input_text_token_ids': preprocessed_text.input_ids})['output_embedding'])
|
| 30 |
```
|
| 31 |
|
| 32 |
Please credit me if you use this.
|