Instructions to use unity/inference-engine-tiny-stories with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- unity-sentis
How to use unity/inference-engine-tiny-stories 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
Paul Bird commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,6 +8,7 @@ This is the [Tiny Stories model](https://huggingface.co/roneneldan/TinyStories-3
|
|
| 8 |
|
| 9 |
## How to Use
|
| 10 |
* Create a new scene in Unity 2023
|
|
|
|
| 11 |
* Add the RunTinyStories.cs file to the Main Camera
|
| 12 |
* Put `tinystories.sentis`, `vocab.json` and `merges.txt` in the Assets/StreamingAssets folder
|
| 13 |
* Adjust some of the variables such as the `outputText` string to set the prompt
|
|
|
|
| 8 |
|
| 9 |
## How to Use
|
| 10 |
* Create a new scene in Unity 2023
|
| 11 |
+
* Install `com.unity.sentis` and `com.unity.nuget.newtonsoft-json` packages
|
| 12 |
* Add the RunTinyStories.cs file to the Main Camera
|
| 13 |
* Put `tinystories.sentis`, `vocab.json` and `merges.txt` in the Assets/StreamingAssets folder
|
| 14 |
* Adjust some of the variables such as the `outputText` string to set the prompt
|