This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new e41e8c8 add heatmap image
e41e8c8 is described below
commit e41e8c8284d3c514e759d380e27aeda279dfa763
Author: Paul King <[email protected]>
AuthorDate: Wed Jan 29 12:47:15 2025 +1000
add heatmap image
---
site/src/site/blog/groovy-text-similarity.adoc | 91 ++++++++++++++++++++++++--
1 file changed, 87 insertions(+), 4 deletions(-)
diff --git a/site/src/site/blog/groovy-text-similarity.adoc
b/site/src/site/blog/groovy-text-similarity.adoc
index 578ecf6..2184270 100644
--- a/site/src/site/blog/groovy-text-similarity.adoc
+++ b/site/src/site/blog/groovy-text-similarity.adoc
@@ -165,27 +165,110 @@ hippo|hippopotamus 50% 40% 40%
== Deep Learning
+Using DJL with PyTorch and the Angle model:
+
----
+ cow
+bovine (0.86)
+bull (0.73)
+Bovines convert grass to milk (0.60)
+hay (0.59)
+Bulls consume hay (0.56)
+
+ cat
+kitten (0.82)
+bull (0.63)
+bovine (0.60)
+One two three (0.59)
+hay (0.55)
+
+ dog
+bull (0.69)
+bovine (0.68)
+kitten (0.58)
+Dogs play in the grass (0.58)
+Dachshunds are delightful (0.55)
+
+ grass
+The grass is green (0.83)
+hay (0.68)
+Dogs play in the grass (0.65)
+Bovines convert grass to milk (0.61)
+Bulls trample grass (0.59)
+
Cows eat grass
Bovines convert grass to milk (0.80)
Bulls consume hay (0.69)
Bulls trample grass (0.68)
Dogs play in the grass (0.65)
-The grass is green (0.62)
+bovine (0.62)
Poodles are cute
Dachshunds are delightful (0.63)
Dogs play in the grass (0.56)
+bovine (0.49)
The grass is green (0.44)
-Bovines convert grass to milk (0.40)
-One two three (0.38)
+kitten (0.44)
The water is turquoise
The sea is blue (0.72)
The sky is blue (0.65)
The grass is green (0.53)
One two three (0.43)
-Dogs play in the grass (0.35)
+bovine (0.39)
+----
+
+Using DJL with Tensorflow and the UAE model:
+
+----
+ cow
+bovine (0.72)
+bull (0.57)
+Bulls consume hay (0.46)
+hay (0.45)
+kitten (0.44)
+
+ cat
+kitten (0.75)
+bull (0.35)
+hay (0.31)
+bovine (0.26)
+Dogs play in the grass (0.22)
+
+ dog
+kitten (0.54)
+Dogs play in the grass (0.45)
+bull (0.39)
+hay (0.35)
+Dachshunds are delightful (0.27)
+
+ grass
+The grass is green (0.61)
+Bulls trample grass (0.56)
+Dogs play in the grass (0.52)
+hay (0.51)
+Bulls consume hay (0.47)
+
+ Cows eat grass
+Bovines convert grass to milk (0.60)
+Bulls trample grass (0.58)
+Dogs play in the grass (0.56)
+Bulls consume hay (0.53)
+bovine (0.44)
+
+ Poodles are cute
+Dachshunds are delightful (0.54)
+Dogs play in the grass (0.27)
+Bulls consume hay (0.19)
+bovine (0.16)
+Bulls trample grass (0.15)
+
+ The water is turquoise
+The sea is blue (0.56)
+The grass is green (0.39)
+The sky is blue (0.38)
+kitten (0.17)
+One two three (0.17)
----
image:img/AnimalSemanticSimilarity.png[]