--- base_model: - LiquidAI/LFM3-1.7B-GGUF tags: - llamafile - gguf - text-to-text - conversational - text-generation-inference notes: - llamafile-0.10 --- ## About * ***Note(1)*** `2026-11-06`: `*.llamafile` files are uploaded as `*.llamafile.exe`, to simplify running it on Windows. * NB: It is not unlikely (see note(2) below) that Windows will do everything in its power to prevent one from running its binary; while it was made in good faith, please make your own judgement, run antivirus scans, try it in a VM first, etc etc -- _the author ran the file on a few platforms before uploading,_ ***but takes no responsibility for any consequences of running this*** -- _if it kills all your kittens, it's on you and please don't come back complaining._ * ***Note(2)*** `2026-11-06`: apparently, VirusTotal does not like the llamafiles and marks them "suspicious". There's not much I can do there, I guess -- _by the looks of it, it also slaps the same stamp on [Mozilla AI' own llamafiles](https://huggingface.co/mozilla-ai/llamafile_0.10/tree/main)._ So let us wait untill the other scanners try it; until then -- feel free to e.g. ClamAV scan them after download, and/or also feel free to redo it yourself and observe the same reaction from the scanners. * Also, a prevous test have shown that only one of all those 75 engines (named "SecureAge") marks this binary as "malicious", and its comment says _"Acronis (Static ML)"_ -- whatever that means. Well, the binary _does_ have an embedded LLM (which is like the whole point here), so may be this is what causes this misunderstanding. ----- A [llamafile](https://github.com/mozilla-ai/llamafile/blob/main/docs/quickstart.md) is a universal ([APE](https://justine.lol/ape.html)) single-file executable, which is based on [llama.cpp](https://github.com/ggml-org/llama.cpp/releases)-built binaries. It contains an embedded LLM model and can provide a console and/or a web interface to chat with it. * "and/or" here has a literal meaning -- one can _either_ run a console chat (`--chat`), or a web server (`--server`), or -- by default -- both. * NB(1): by default the web server attempts to listen on _all_ available interfaces -- run it as `--host 127.0.0.1` to make it private to your system only! * _(this does not seem to be the case anymore)_ * NB(2): there's also a cli completion interface (`--cli`), if you wish -- [check the docs!](https://mozilla-ai.github.io/llamafile/) ## How to use: * https://github.com/mozilla-ai/llamafile/blob/main/docs/running_llamafile.md * https://github.com/mozilla-ai/llamafile/blob/main/docs/quickstart.md ## Building references: * https://github.com/mozilla-ai/llamafile/blob/main/docs/creating_llamafiles.md * https://huggingface.co/LiquidAI/LFM3-1.7B-GGUF ## Quirks: * https://github.com/mozilla-ai/llamafile/issues/373 * https://github.com/mozilla-ai/llamafile/tree/0.9.0?tab=readme-ov-file#gotchas-and-troubleshooting For some quirks and workarounds (like how to make this run on WSL), see the second link above; in particular, if you are seeing a message like this: ``` Cannot open assembly '...': File does not contain a valid CIL image. ``` The reason might be that you have wine installed and it tries to run the executable (and fails). There are workarounds available -- see above; one simple way to bypass this and make llamafiles work on a Unix system (e.g. Linux and/or MacOS X) is to run them as shell scripts [(yes, they _are_ shell scripts)](https://github.com/jart/cosmopolitan/blob/master/ape/specification.md#3-ape-debug-magic): ```sh sh /path/to/llamafile -h # and if you can now see the help output, then likely it just worked ) ```