Instructions to use unity/inference-engine-phi-1_5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- unity-sentis
How to use unity/inference-engine-phi-1_5 with unity-sentis:
string modelName = "[Your model name here].sentis"; Model model = ModelLoader.Load(Application.streamingAssetsPath + "/" + modelName); IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model); // Please see provided C# file for more details
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ The model has 1.3 billion parameters.
|
|
| 14 |
|
| 15 |
## How to Use
|
| 16 |
* Create a new scene in Unity 2023
|
| 17 |
-
* Install `com.unity.sentis` version `1.
|
| 18 |
* Add the RunPhi15.cs file to the Main Camera
|
| 19 |
* Put `phi15.sentis`, `vocab.json` and `merges.txt` in the Assets/StreamingAssets folder
|
| 20 |
* Adjust some of the variables such as the `outputText` string to set the prompt
|
|
|
|
| 14 |
|
| 15 |
## How to Use
|
| 16 |
* Create a new scene in Unity 2023
|
| 17 |
+
* Install `com.unity.sentis` version `1.5.0-pre.2` and `com.unity.nuget.newtonsoft-json` packages
|
| 18 |
* Add the RunPhi15.cs file to the Main Camera
|
| 19 |
* Put `phi15.sentis`, `vocab.json` and `merges.txt` in the Assets/StreamingAssets folder
|
| 20 |
* Adjust some of the variables such as the `outputText` string to set the prompt
|