Update README.md
Browse files
README.md
CHANGED
|
@@ -11,20 +11,31 @@ even though it looked like it was producing working files at the time.
|
|
| 11 |
I'll be uploading the quantized .gguf sources I created as well if anyone wants them as a reference or for further work.
|
| 12 |
|
| 13 |
|
|
|
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
WSL note: If you get the error about APE, and the recommended command
|
| 18 |
|
| 19 |
`sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop'`
|
| 20 |
|
| 21 |
-
doesn't work, the file might be named something else
|
| 22 |
|
| 23 |
`sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop-late'`
|
| 24 |
|
| 25 |
If that fails too, just navigate to `/proc/sys/fs/binfmt_msc` and see what files look like `WSLInterop` and echo a -1 to whatever it's called by changing that part of the recommended command.
|
| 26 |
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
|
|
|
| 11 |
I'll be uploading the quantized .gguf sources I created as well if anyone wants them as a reference or for further work.
|
| 12 |
|
| 13 |
|
| 14 |
+
-= Llamafile =-
|
| 15 |
|
| 16 |
+
Llamafiles are a standalone executable that run an LLM server locally on a variety of operating systems including FreeBSD, Windows, Windows via WSL, Linux, and Mac.
|
| 17 |
+
The same file works everywhere, I've tested several of these on FreeBSD, Windows, Windows via WSL, and Linux.
|
| 18 |
+
You just download the .llamafile, (chmod +x or rename to .exe as needed), run it, open the chat interface in a browser, and interact.
|
| 19 |
+
Options can be passed in to expose the api etc. See their [docs](https://github.com/Mozilla-Ocho/llamafile) for details.
|
| 20 |
+
|
| 21 |
+
[Mozilla Blog Announcement for Llamafile](https://hacks.mozilla.org/2023/11/introducing-llamafile/)
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
Windows note:
|
| 25 |
+
|
| 26 |
+
If it's over 4gb and you want to use it on Windows, you'll have to run it from WSL.
|
| 27 |
|
| 28 |
WSL note: If you get the error about APE, and the recommended command
|
| 29 |
|
| 30 |
`sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop'`
|
| 31 |
|
| 32 |
+
doesn't work, the WSLInterop file might be named something else. I had success with
|
| 33 |
|
| 34 |
`sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop-late'`
|
| 35 |
|
| 36 |
If that fails too, just navigate to `/proc/sys/fs/binfmt_msc` and see what files look like `WSLInterop` and echo a -1 to whatever it's called by changing that part of the recommended command.
|
| 37 |
|
| 38 |
|
| 39 |
+
FreeBSD note:
|
| 40 |
+
|
| 41 |
+
Yes, it actually works on a fresh install of FreeBSD.
|