An open API service indexing awesome lists of open source software.

https://github.com/sirredbeard/gnomephichat

Simple .NET LLM chat application.
https://github.com/sirredbeard/gnomephichat

dotnet gtk gtksharp linux llm phi3 windows

Last synced: about 1 year ago
JSON representation

Simple .NET LLM chat application.

Awesome Lists containing this project

README

          

# GNOME Phi Chat

Simple GTK3 LLM chat application written using .NET powered by Phi-3-mini.

![image](https://github.com/user-attachments/assets/e75189ba-cbb7-4e18-b58a-1a99703d48cb)

Uses:
* .NET 9
* GTK# for Linux and Windows (bundles GTK# Runtime for Windows)
* [ONNX Runtime GenAI](https://github.com/microsoft/onnxruntime-genai)

Supports:
* Windows and Linux on x64
* Windows on Arm only functions via emulation due to a limitation in GTK#
* Linux on Arm requires building QNNX dependencies from source

## Download model and data:

```
huggingface-cli download microsoft/Phi-3-mini-4k-instruct-onnx --include cpu_and_mobile/cpu-int4-rtn-block-32-acc-level-4/* --local-dir Phi-3-mini-4k-instruct-onnx

```

## Build

```
dotnet restore
dotnet build
dotnet run
```