Paul Bird
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1 |
---
|
2 |
-
license:
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
---
|
4 |
+
|
5 |
+
# Mini LM Sentis Similarity in Unity Sentis Format
|
6 |
+
|
7 |
+
This is the [Mini LM v6 model](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) in the Sentis format to run on Unity 2023
|
8 |
+
|
9 |
+
## How to Use
|
10 |
+
|
11 |
+
* Create a new scene in Unity 2023
|
12 |
+
* Add the MiniLMv6.cs file to the Main Camera
|
13 |
+
* Add vocab.txt and MiniLMv6.sentis to the Assets/StreamingAssets folder
|
14 |
+
* Change the string1 and string2 variables to the desired strings
|
15 |
+
* Press play, the results will show in the Console
|
16 |
+
|
17 |
+
## Unity Sentis
|
18 |
+
Sentis is the inference engine for Unity. More can be found about it [here](https://unity.com/products/sentis)
|