File size: 631 Bytes
ab1e40d
11eee88
ab1e40d
11eee88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
license: apache-2.0
---

# Mini LM Sentis Similarity in Unity Sentis Format

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

## How to Use

* Create a new scene in Unity 2023
* Add the MiniLMv6.cs file to the Main Camera
* Add vocab.txt and MiniLMv6.sentis to the Assets/StreamingAssets folder
* Change the string1 and string2 variables to the desired strings
* Press play, the results will show in the Console

## Unity Sentis
Sentis is the inference engine for Unity. More can be found about it [here](https://unity.com/products/sentis)