unity/inference-engine-phi-1_5
1358
1---2license: mit3library_name: unity-sentis4pipeline_tag: text-generation5tags:6 - unity-inference-engine7---8 9# Phi 1.5 in Unity 6 with Inference Engine10 11This is the [Microsoft Phi 1.5](https://huggingface.co/microsoft/phi-1_5) model running in Unity 6 with Inference Engine. Phi 1.5 is a Large Language Model trained on synthesized data. The model has 1.3 billion parameters.12 13## How to Use14 15* Create a new scene in Unity 6;16* Install `com.unity.ai.inference` from the package manager;17* Add the `RunPhi15.cs` script to the Main Camera;18* Drag the `phi15.sentis` asset from the `models` folder into the `Model Asset` field;19* Drag the `vocab.json` asset from the `data` folder into the `Vocab Asset` field;20* Drag the `merges.txt` asset from the `data` folder into the `Merges Asset` field;21 22## Preview23Enter play mode. If working correctly the predicted text will be logged to the console.24 25## Inference Engine26Inference Engine is a neural network inference library for Unity. Find out more [here](https://docs.unity3d.com/Packages/com.unity.ai.inference@latest).27 28## Disclaimer29Like any LLM, this model has the possibility to generate undesirable or untruthful text. Use at your discretion.