This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-dev-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 9a991a0 2025/01/29 03:18:32: Generated dev website from
groovy-website@e41e8c8
9a991a0 is described below
commit 9a991a01feee8cb417b96f9b40886afd27d7aec6
Author: jenkins <[email protected]>
AuthorDate: Wed Jan 29 03:18:32 2025 +0000
2025/01/29 03:18:32: Generated dev website from groovy-website@e41e8c8
---
blog/groovy-text-similarity.html | 99 ++++++++++++++++++++++++++++++++--
blog/img/AnimalSemanticSimilarity.png | Bin 0 -> 141722 bytes
2 files changed, 94 insertions(+), 5 deletions(-)
diff --git a/blog/groovy-text-similarity.html b/blog/groovy-text-similarity.html
index 6489909..0511164 100644
--- a/blog/groovy-text-similarity.html
+++ b/blog/groovy-text-similarity.html
@@ -244,29 +244,118 @@ hippo|hippopotamus 50% 40% 40%
<div class="sect1">
<h2 id="_deep_learning">Deep Learning</h2>
<div class="sectionbody">
+<div class="paragraph">
+<p>Using DJL with PyTorch and the Angle model:</p>
+</div>
<div class="listingblock">
<div class="content">
-<pre> Cows eat grass
+<pre> 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)</pre>
+bovine (0.39)</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Using DJL with Tensorflow and the UAE model:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre> 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)</pre>
+</div>
</div>
+<div class="paragraph">
+<p><span class="image"><img src="img/AnimalSemanticSimilarity.png"
alt="AnimalSemanticSimilarity"></span></p>
</div>
</div>
</div>
diff --git a/blog/img/AnimalSemanticSimilarity.png
b/blog/img/AnimalSemanticSimilarity.png
new file mode 100644
index 0000000..60ebaca
Binary files /dev/null and b/blog/img/AnimalSemanticSimilarity.png differ