Run this model with HF Jobs
Run unity/inference-engine-phi-1_5 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/unity/inference-engine-phi-1_5. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/unity/inference-engine-phi-1_5 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/unity/inference-engine-phi-1_5. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/unity/inference-engine-phi-1_5. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
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 files3 unmodified lines456789106 unmodified lines171819202122232425262728293031323334353637383940413 unmodified linespipeline_tag: text-generation---# Tiny Stories Model in Unity Sentis FormatThis is the [Microsoft Phi 1.5](https://huggingface.co/microsoft/phi-1_5) checked to run on Unity 2023. Phi 1.5 is a Large Language Model that was trained on synthesized data.6 unmodified lines* 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 SentisUnity Sentis is the inference engine which runs on Unity 2023. More can be found about it [here](https://unity.com/products/sentis)## DisclaimerThe 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.3 unmodified lines456789106 unmodified lines171819202122232425262728293031323334353637383940414243443 unmodified linespipeline_tag: text-generation---# Phi 1.5 Model in Unity Sentis FormatThis is the [Microsoft Phi 1.5](https://huggingface.co/microsoft/phi-1_5) checked to run on Unity 2023. Phi 1.5 is a Large Language Model that was trained on synthesized data.6 unmodified lines* Press run* The output will appear in the console window## InformationThis is the float32 version so it requires a lot of RAM (16GB) and VRAM (8GB). With less RAM it may take a long time to load. In the future we may add the float16 or uint8 quantized versions.## Example Input```Once upon a time, there were three```## Example Output```Once upon a time, there were three friends named Alice, Bob, and Carol. They were all passionate about mathematics and loved solving complex problems together. One day, they came across a challenging problem that required them to find the area of a triangle using the Pythagorean theorem.Alice, being the most experienced in geometry, took the lead and explained the steps to her friends. "To find the area of a triangle, we need to multiply the base by the height and divide the result by 2," she said confidently.Bob, who was always curious, asked, "But why do we divide the result by 2? Can't we just multiply the base and height?"Alice smiled and replied, "That's a great question, Bob. We divide by 2 because the area of a triangle is half of the product of its base and height. It's a fundamental concept in geometry."Carol, who had been listening intently, added, "So, if we have a triangle with...```## Unity SentisUnity Sentis is the inference engine which runs on Unity 2023. More can be found about it [here](https://unity.com/products/sentis)## DisclaimerLike any LLM, this model has the possibility to generate undesirable or untruthful text. Use at your discretion.
README.md+11-8