Upload 2 files
Browse filesadd model card and update to llamafile 0.8.4
- README.md +58 -3
- mxbai-embed-large-v1-f16.llamafile +2 -2
README.md
CHANGED
|
@@ -1,3 +1,58 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
library_name: llamafile
|
| 6 |
+
tags:
|
| 7 |
+
- mteb
|
| 8 |
+
- transformers.js
|
| 9 |
+
- transformers
|
| 10 |
+
- llamafile
|
| 11 |
+
pipeline_tag: feature-extraction
|
| 12 |
+
model_creator: mixedbread-ai
|
| 13 |
+
model_name: mxbai-embed-large-v1
|
| 14 |
+
base_model: mixedbread-ai/mxbai-embed-large-v1
|
| 15 |
+
---
|
| 16 |
+
# mxbai-embed-large-v1 - llamafile
|
| 17 |
+
|
| 18 |
+
This repository contains executable weights (which we call [llamafiles](https://github.com/Mozilla-Ocho/llamafile)) that run on Linux, MacOS, Windows, FreeBSD, OpenBSD, and NetBSD for AMD64 and ARM64.
|
| 19 |
+
|
| 20 |
+
- Model creator: [mixedbread-ai](https://www.mixedbread.ai/)
|
| 21 |
+
- Original model: [mixedbread-ai/mxbai-embed-large-v1](https://huggingface.co/mixedbread-ai/mxbai-embed-large-v1)
|
| 22 |
+
- Built with [llamafile 0.8.4](https://github.com/Mozilla-Ocho/llamafile/releases/tag/0.8.4)
|
| 23 |
+
|
| 24 |
+
## Quickstart
|
| 25 |
+
|
| 26 |
+
Running the following on a desktop OS will launch a server on `http://localhost:8080` to which you can send HTTP requests to in order to get embeddings:
|
| 27 |
+
|
| 28 |
+
```
|
| 29 |
+
chmod +x mxbai-embed-large-v1-f16.llamafile
|
| 30 |
+
./mxbai-embed-large-v1-f16.llamafile --server --nobrowser --embedding
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
Then, you can use your favorite HTTP client to call the server's `/embedding` endpoint:
|
| 34 |
+
|
| 35 |
+
```
|
| 36 |
+
curl \
|
| 37 |
+
-X POST \
|
| 38 |
+
-H "Content-Type: application/json" \
|
| 39 |
+
-d '{"text": "Hello, world!"}' \
|
| 40 |
+
http://localhost:8080/embedding
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
For further information, please see the [llamafile README](https://github.com/mozilla-ocho/llamafile/) and the [llamafile server docs](https://github.com/Mozilla-Ocho/llamafile/blob/main/llama.cpp/server/README.md).
|
| 44 |
+
|
| 45 |
+
Having **trouble?** See the ["Gotchas" section](https://github.com/mozilla-ocho/llamafile/?tab=readme-ov-file#gotchas) of the README or contact us on [Discord](https://discord.com/channels/1089876418936180786/1182689832057716778).
|
| 46 |
+
|
| 47 |
+
## About llamafile
|
| 48 |
+
|
| 49 |
+
llamafile is a new format introduced by Mozilla Ocho on Nov 20th 2023.
|
| 50 |
+
It uses Cosmopolitan Libc to turn LLM weights into runnable llama.cpp
|
| 51 |
+
binaries that run on the stock installs of six OSes for both ARM64 and
|
| 52 |
+
AMD64.
|
| 53 |
+
|
| 54 |
+
---
|
| 55 |
+
|
| 56 |
+
# Model Card
|
| 57 |
+
|
| 58 |
+
See [mixedbread-ai/mxbai-embed-large-v1](https://huggingface.co/mixedbread-ai/mxbai-embed-large-v1)
|
mxbai-embed-large-v1-f16.llamafile
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3f4dfa4a8744e348242fad486a6c5bb2ed448914a4dbd521825a5b9faca9d12
|
| 3 |
+
size 698955952
|