jupyterjazz
commited on
Commit
•
c445d96
1
Parent(s):
fa78e35
readme: onnx final outputs (#68)
Browse files- More info ononnx output (5671fd4846edc634a5feeaba9a7cee25deb116f5)
README.md
CHANGED
@@ -25227,7 +25227,9 @@ inputs = {
|
|
25227 |
}
|
25228 |
|
25229 |
# Run model
|
25230 |
-
outputs = session.run(None, inputs)
|
|
|
|
|
25231 |
```
|
25232 |
|
25233 |
</p>
|
|
|
25227 |
}
|
25228 |
|
25229 |
# Run model
|
25230 |
+
outputs = session.run(None, inputs)[0]
|
25231 |
+
|
25232 |
+
# Apply mean pooling to 'outputs' to get a single representation of each text
|
25233 |
```
|
25234 |
|
25235 |
</p>
|