besaleli commited on
Commit
80cd7cd
·
verified ·
1 Parent(s): c319738

Upload folder using huggingface_hub

Browse files
sentence-transformers/all-MiniLM-L6-v2/README.md CHANGED
@@ -1,21 +1,41 @@
1
- # Encoderfile: `sentence-transformers/all-MiniLM-L6-v2`
2
 
3
- **These encoderfiles were generated using Encoderfile 0.5.1**
4
 
5
- This repository contains the encoderfiles for the model `sentence-transformers/all-MiniLM-L6-v2`.
6
 
7
- Usage:
 
 
 
 
 
 
 
 
 
 
 
8
 
9
  ```bash
10
- # download encoderfile
11
  wget https://huggingface.co/mozilla-ai/encoderfile/blob/main/sentence-transformers/all-MiniLM-L6-v2/all-MiniLM-L6-v2.aarch64-apple-darwin.encoderfile
12
-
13
- # set as executable
14
  chmod +x ./all-MiniLM-L6-v2.aarch64-apple-darwin.encoderfile
 
 
 
15
 
16
- # spin up encoderfile as a server
 
17
  ./all-MiniLM-L6-v2.aarch64-apple-darwin.encoderfile serve
 
18
 
19
- # or, inference directly using cli
 
20
  ./all-MiniLM-L6-v2.aarch64-apple-darwin.encoderfile infer "this is a test"
21
- ```
 
 
 
 
 
 
 
1
+ # `sentence-transformers/all-MiniLM-L6-v2` Encoderfiles
2
 
3
+ > **Generated with [Encoderfile](https://github.com/mozilla-ai/encoderfile) Encoderfile 0.5.1**
4
 
5
+ Pre-built encoderfiles for [`sentence-transformers/all-MiniLM-L6-v2`](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) — self-contained, executable embedding servers you can run without any Python or ML dependencies.
6
 
7
+ ## Download
8
+
9
+ Pick the binary for your platform:
10
+
11
+ | Platform | File |
12
+ |---|---|
13
+ | macOS (Apple Silicon) | `all-MiniLM-L6-v2.aarch64-apple-darwin.encoderfile` |
14
+ | macOS (Intel) | `all-MiniLM-L6-v2.x86_64-apple-darwin.encoderfile` |
15
+ | Linux (x86_64) | `all-MiniLM-L6-v2.x86_64-linux-gnu.encoderfile` |
16
+ | Linux (ARM64) | `all-MiniLM-L6-v2.aarch64-linux-gnu.encoderfile` |
17
+
18
+ Or download directly (example for macOS Apple Silicon):
19
 
20
  ```bash
 
21
  wget https://huggingface.co/mozilla-ai/encoderfile/blob/main/sentence-transformers/all-MiniLM-L6-v2/all-MiniLM-L6-v2.aarch64-apple-darwin.encoderfile
 
 
22
  chmod +x ./all-MiniLM-L6-v2.aarch64-apple-darwin.encoderfile
23
+ ```
24
+
25
+ ## Usage
26
 
27
+ **Run as an embedding server:**
28
+ ```bash
29
  ./all-MiniLM-L6-v2.aarch64-apple-darwin.encoderfile serve
30
+ ```
31
 
32
+ **Infer directly from the CLI:**
33
+ ```bash
34
  ./all-MiniLM-L6-v2.aarch64-apple-darwin.encoderfile infer "this is a test"
35
+ ```
36
+
37
+ ## About Encoderfile
38
+
39
+ Encoderfiles are self-contained executables that bundle a model and its runtime into a single binary. No Python, no dependencies — just download and run.
40
+
41
+ Learn more at [mozilla-ai/encoderfile](https://github.com/mozilla-ai/encoderfile).