Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,36 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
|
5 |
+
This is a llamafile for [WizardLM-2-7B](https://huggingface.co/microsoft/WizardLM-2-7B).
|
6 |
+
|
7 |
+
Converted and tested on 4/15/2024.
|
8 |
+
|
9 |
+
The q3-k-l sized quant is under 4gb if you want something to share with your windows-only users.
|
10 |
+
|
11 |
+
|
12 |
+
-= Llamafile =-
|
13 |
+
|
14 |
+
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.
|
15 |
+
The same file works everywhere, I've tested several of these on FreeBSD, Windows, Windows via WSL, and Linux.
|
16 |
+
You just download the .llamafile, (chmod +x or rename to .exe as needed), run it, open the chat interface in a browser, and interact.
|
17 |
+
Options can be passed in to expose the api etc. See their [docs](https://github.com/Mozilla-Ocho/llamafile) for details.
|
18 |
+
|
19 |
+
[Mozilla Blog Announcement for Llamafile](https://hacks.mozilla.org/2023/11/introducing-llamafile/)
|
20 |
+
|
21 |
+
|
22 |
+
- Windows note: If it's over 4gb and you want to use it on Windows, you'll have to run it from WSL.
|
23 |
+
|
24 |
+
- WSL note: If you get the error about APE, and the recommended command
|
25 |
+
|
26 |
+
`sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop'`
|
27 |
+
|
28 |
+
doesn't work, the WSLInterop file might be named something else. I had success with
|
29 |
+
|
30 |
+
`sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/WSLInterop-late'`
|
31 |
+
|
32 |
+
If that fails too, just navigate to `/proc/sys/fs/binfmt_msc` and see what files look like `WSLInterop`
|
33 |
+
and echo a -1 to whatever they're called by changing that part of the recommended command.
|
34 |
+
|
35 |
+
|
36 |
+
- FreeBSD note: Yes, it actually works on a fresh install of FreeBSD.
|