You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[MNISTTrainer](https://github.com/ml-explore/mlx-swift-examples/blob/main/Applications/MNISTTrainer/README.md): An example that runs on
18
+
both iOS and macOS that downloads MNIST training data and trains a
19
+
[LeNet](https://en.wikipedia.org/wiki/LeNet).
20
+
21
+
-[MLXChatExample](https://github.com/ml-explore/mlx-swift-examples/blob/main/Applications/MLXChatExample/README.md): An example chat app that runs on both iOS and macOS that supports LLMs and VLMs.
22
+
23
+
-[LLMEval](https://github.com/ml-explore/mlx-swift-examples/blob/main/Applications/LLMEval/README.md): A simple example that runs on both iOS
24
+
and macOS that downloads an LLM and tokenizer from Hugging Face and
25
+
generates text from a given prompt.
26
+
27
+
-[StableDiffusionExample](https://github.com/ml-explore/mlx-swift-examples/blob/main/Applications/StableDiffusionExample/README.md): An
28
+
example that runs on both iOS and macOS that downloads a stable diffusion model
29
+
from Hugging Face and generates an image from a given prompt.
30
+
31
+
-[llm-tool](https://github.com/ml-explore/mlx-swift-examples/blob/main/Tools/llm-tool/README.md): A command line tool for generating text
32
+
using a variety of LLMs available on the Hugging Face hub.
20
33
21
34
The [MLX Swift Examples repo](https://github.com/ml-explore/mlx-swift-examples)
22
-
contains the complete code and documentation for these examples.
35
+
contains the complete code and documentation for these examples, including
36
+
[guidelines on porting models](https://swiftpackageindex.com/ml-explore/mlx-swift-examples/main/documentation/mlxlmcommon/porting)
37
+
from MLX Python.
23
38
24
39
## Installation
25
40
@@ -46,10 +61,8 @@ and add the libraries as dependencies:
See [Releases](https://github.com/ml-explore/mlx-swift/releases). Generally the MLX Swift version number corresponds to the same version number in [MLX](https://github.com/ml-explore/mlx). Release notes indicate specifics.
126
+
127
+
All capabilities in MLX (Python) should be available in MLX Swift. If you encounter any that are missing please file an issue or feel free to submit a PR.
An example that runs on both iOS and macOS that downloads an LLM and
24
-
tokenizer from Hugging Face and and generates text from a given prompt.
22
+
-[MLXChatExample](https://github.com/ml-explore/mlx-swift-examples/blob/main/Applications/MLXChatExample/README.md): An example chat app that runs on both iOS and macOS that supports LLMs and VLMs.
0 commit comments