Tiny Stories Model in Unity Sentis Format (Sentis 1.4.0-pre.2*)
*Version 1.3.0 Sentis files are not compatible with Sentis 1.4.0 and would need to be recreated/downloaded
This is the
Tiny Stories model
checked to run on Unity 2023. Tiny Stories is a Large Language Model that was trained on children's stories and can create stories based on the first couple of sentences.
How to Use
Create a new scene in Unity 2023
Install
com.unity.sentis
and
com.unity.nuget.newtonsoft-json
packages
Add the RunTinyStories.cs file to the Main Camera
Put
tinystories.sentis
,
vocab.json
and
merges.txt
in the Assets/StreamingAssets folder
Adjust some of the variables such as the
outputText
string to set the prompt
Press run
The output will appear in the console window
Example Input
One day an alien came down from Mars. It saw a chicken
Example Output
One day an alien came down from Mars. It saw a chicken and said, "Hello, little chicken. What are you doing here?"
The chicken replied, "I'm looking for a place to stay. I'm very tired."
The alien said, "You can stay here. I have a nice place for you. It's very comfortable."
The chicken was so happy. She thanked the alien and said, "Thank you. I'm very comfortable here."
The alien smiled and said, "You're welcome
Unity Sentis
Unity Sentis is the inference engine which runs on Unity 2023. More can be found about it
here
Disclaimer
The model was trained on children's stories so very unlikely to produce undesirable text. As an extra precaution, we removed a few tokens from vocab.json that might not be suitable for younger audiences. The original json can be found on the Tiny Stories original page.
Runs of unity sentis-tiny-stories on huggingface.co
36
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About sentis-tiny-stories huggingface.co Model
sentis-tiny-stories huggingface.co is an AI model on huggingface.co that provides sentis-tiny-stories's model effect (), which can be used instantly with this unity sentis-tiny-stories model. huggingface.co supports a free trial of the sentis-tiny-stories model, and also provides paid use of the sentis-tiny-stories. Support call sentis-tiny-stories model through api, including Node.js, Python, http.
sentis-tiny-stories huggingface.co is an online trial and call api platform, which integrates sentis-tiny-stories's modeling effects, including api services, and provides a free online trial of sentis-tiny-stories, you can try sentis-tiny-stories online for free by clicking the link below.
unity sentis-tiny-stories online free url in huggingface.co:
sentis-tiny-stories is an open source model from GitHub that offers a free installation service, and any user can find sentis-tiny-stories on GitHub to install. At the same time, huggingface.co provides the effect of sentis-tiny-stories install, users can directly use sentis-tiny-stories installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
sentis-tiny-stories install url in huggingface.co: