{"id":38212546,"url":"https://github.com/tsjdev-apps/phi-3-mini-onnx-console","last_synced_at":"2026-01-17T00:44:33.346Z","repository":{"id":245731118,"uuid":"819058387","full_name":"tsjdev-apps/phi-3-mini-onnx-console","owner":"tsjdev-apps","description":"Simple .NET console application to run the ONNX version of Phi-3.","archived":false,"fork":false,"pushed_at":"2024-06-29T17:27:08.000Z","size":806,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-29T18:37:01.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsjdev-apps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"tsjdev-apps"}},"created_at":"2024-06-23T16:53:48.000Z","updated_at":"2024-06-29T17:27:07.000Z","dependencies_parsed_at":"2024-06-23T19:21:34.889Z","dependency_job_id":"027fc802-0f3f-4ac8-8487-4e0d273ed69f","html_url":"https://github.com/tsjdev-apps/phi-3-mini-onnx-console","commit_stats":null,"previous_names":["tsjdev-apps/phi-3-mini-onnx-console"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsjdev-apps/phi-3-mini-onnx-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fphi-3-mini-onnx-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fphi-3-mini-onnx-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fphi-3-mini-onnx-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fphi-3-mini-onnx-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsjdev-apps","download_url":"https://codeload.github.com/tsjdev-apps/phi-3-mini-onnx-console/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsjdev-apps%2Fphi-3-mini-onnx-console/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28490523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T23:55:29.509Z","status":"ssl_error","status_checked_at":"2026-01-16T23:55:29.108Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T00:44:33.208Z","updated_at":"2026-01-17T00:44:33.330Z","avatar_url":"https://github.com/tsjdev-apps.png","language":"C#","funding_links":["https://github.com/sponsors/tsjdev-apps"],"categories":[],"sub_categories":[],"readme":"# Using Phi-3 Mini with ONNX as local Small Language Model\n\n![Header](./docs/header.png)\n\nThis repository demonstrates how to seamlessly integrate the Phi-3 Mini Model using ONNX in a .NET Console application. By following this guide, you will learn how to set up and use a local Small Language Model to simulate chat interactions.\n\n## Getting Started\n\nMake sure that Git LFS (Large File Storage) is installed by running the following command:\n\n```bash\ngit lfs install\n```\n\nNow, we can clone the model from [Hugging Face](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct).\n\n```bash\ngit clone https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-onnx\n```\n\nIn the downloaded folder, you will find a directory named `cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4`. This directory contains all the necessary files. Be sure to note the path to this folder.\n\nNow, let's run the application.\n\n## Screenshots\n\nFirst, you need to specify the path to the model folder.\n\n![Console](./docs/console-01.png)\n\nNow, you can start chatting with your local Small Language Model.\n\n![Console](./docs/console-02.png)\n\n## Blog Post\n\nIf you are more interested into details, please see the following post on [medium.com](https://www.medium.com):\n\n- [Using Phi-3 Mini with ONNX as local Small Language Model](https://medium.com/medialesson/using-phi-3-mini-with-onnx-as-local-small-language-model-2466f559af73)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsjdev-apps%2Fphi-3-mini-onnx-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsjdev-apps%2Fphi-3-mini-onnx-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsjdev-apps%2Fphi-3-mini-onnx-console/lists"}