From 9f8bbd3feee603f9ada479fa9c39c03acf2cc6e1 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 12 Nov 2023 17:47:37 +0200 Subject: [PATCH] readme : update comment about source code --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e4f9007d..e2c247c4 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,8 @@ Supported platforms: - [x] Windows ([MSVC](https://github.com/ggerganov/whisper.cpp/blob/master/.github/workflows/build.yml#L117-L144) and [MinGW](https://github.com/ggerganov/whisper.cpp/issues/168)] - [x] [Raspberry Pi](https://github.com/ggerganov/whisper.cpp/discussions/166) -The entire implementation of the model is contained in 2 source files: - -- Tensor operations: [ggml.h](ggml.h) / [ggml.c](ggml.c) -- Transformer inference: [whisper.h](whisper.h) / [whisper.cpp](whisper.cpp) +The entire high-level implementation of the model is contained in [whisper.h](whisper.h) and [whisper.cpp](whisper.cpp). +The rest of the code is part of the [ggml](https://github.com/ggerganov/ggml) machine learning library. Having such a lightweight implementation of the model allows to easily integrate it in different platforms and applications. As an example, here is a video of running the model on an iPhone 13 device - fully offline, on-device: [whisper.objc](examples/whisper.objc)