Add/update the quantized ONNX model files and README.md for Transformers.js v3
#4
by
whitphx - opened
README.md
CHANGED
|
@@ -60,5 +60,5 @@ const normalized_image_embeds = image_embeds.normalize().tolist();
|
|
| 60 |
const probabilities = normalized_image_embeds.map(
|
| 61 |
x => softmax(normalized_text_embeds.map(y => 100 * dot(x, y)))
|
| 62 |
);
|
| 63 |
-
console.log(probabilities); // [[ 0.999993040175817, 0.
|
| 64 |
-
```
|
|
|
|
| 60 |
const probabilities = normalized_image_embeds.map(
|
| 61 |
x => softmax(normalized_text_embeds.map(y => 100 * dot(x, y)))
|
| 62 |
);
|
| 63 |
+
console.log(probabilities); // [[ 0.999993040175817, 0.000006828091823405, 1.3173235896278122e-7 ]]
|
| 64 |
+
```
|