llama.cpp/examples/llama.swiftui
Miwa / Ensan b220222a64
swift : fix token_to_piece implementation (#4278)
* Fix token_to_piece implementation in Swift

* Fix errors
2023-12-01 20:19:45 +02:00
..
llama.cpp.swift swift : fix token_to_piece implementation (#4278) 2023-12-01 20:19:45 +02:00
llama.swiftui examples : iOS example with swift ui (#4159) 2023-11-27 16:56:52 +02:00
llama.swiftui.xcodeproj examples : iOS example with swift ui (#4159) 2023-11-27 16:56:52 +02:00
.gitignore examples : iOS example with swift ui (#4159) 2023-11-27 16:56:52 +02:00
README.md examples : iOS example with swift ui (#4159) 2023-11-27 16:56:52 +02:00

llama.swiftui

Local inference of llama.cpp on an iPhone. So far I only tested with starcoder 1B model, but it can most likely handle 7B models as well.

https://github.com/bachittle/llama.cpp/assets/39804642/e290827a-4edb-4093-9642-2a5e399ec545