Instructions to use litert-community/hs-embed-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/hs-embed-1 with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Add the LiteRT files and the model card
Browse files- .gitattributes +1 -0
- README.md +181 -0
- SHA256SUMS +9 -0
- hs_embed_1_L128_fp16.tflite +3 -0
- hs_embed_1_L128_fp16_int8emb.tflite +3 -0
- hs_embed_1_L256_fp16.tflite +3 -0
- hs_embed_1_L256_fp16_int8emb.tflite +3 -0
- hs_embed_1_L512_fp16.tflite +3 -0
- hs_embed_1_L512_fp16_int8emb.tflite +3 -0
- hs_embed_1_L64_fp16.tflite +3 -0
- hs_embed_1_L64_fp16_int8emb.tflite +3 -0
- tokenizer.json +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: hindsight-ai/hs-embed-1
|
| 4 |
+
base_model_relation: quantized
|
| 5 |
+
library_name: litert
|
| 6 |
+
pipeline_tag: sentence-similarity
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
- es
|
| 10 |
+
- fr
|
| 11 |
+
- de
|
| 12 |
+
- pt
|
| 13 |
+
- ja
|
| 14 |
+
- ko
|
| 15 |
+
- zh
|
| 16 |
+
tags:
|
| 17 |
+
- litert
|
| 18 |
+
- tflite
|
| 19 |
+
- android
|
| 20 |
+
- embeddings
|
| 21 |
+
- multilingual
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
# hs-embed-1 — LiteRT
|
| 25 |
+
|
| 26 |
+
These LiteRT files run [hindsight-ai/hs-embed-1](https://huggingface.co/hindsight-ai/hs-embed-1/tree/cfb6c7d6bfd0ed423be7ebde16d035084ff06fe7), a multilingual text embedder, on Android phones. On a Snapdragon Galaxy S26, one text of up to 64 tokens takes 2.2 ms on the NPU, 2.7 ms on the GPU at FP16 and 3.5 ms on the CPU — speed still being tuned (updates follow). On that phone and a Pixel 11 Pro, every backend we ran stayed within 0.002 of the publisher's float32 model on JSTS, STS17 and JSQuAD (the NPU on the subset given under Accuracy).
|
| 27 |
+
|
| 28 |
+
## Run it
|
| 29 |
+
|
| 30 |
+
Each file reads a fixed number of tokens, its window: L64 takes up to 64 tokens, counting the start and end tokens the tokenizer adds. Pick the smallest window that holds your text. Use the `_fp16_int8emb` files on the CPU or GPU and the `_fp16` files on the NPU.
|
| 31 |
+
|
| 32 |
+
To try it on a computer, put `hs_embed_1_L64_fp16_int8emb.tflite` and `tokenizer.json` from this repository in one folder, save the code below there as `usage.py`, and run:
|
| 33 |
+
|
| 34 |
+
```bash
|
| 35 |
+
pip install ai-edge-litert==2.3.0 tokenizers==0.23.3 numpy==2.5.4
|
| 36 |
+
python usage.py
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
```python
|
| 40 |
+
import numpy as np
|
| 41 |
+
from ai_edge_litert.compiled_model import CompiledModel, CpuOptions, HardwareAccelerator, Options
|
| 42 |
+
from tokenizers import Tokenizer
|
| 43 |
+
|
| 44 |
+
MODEL_FILE = "hs_embed_1_L64_fp16_int8emb.tflite"
|
| 45 |
+
TOKENIZER_FILE = "tokenizer.json"
|
| 46 |
+
SIGNATURE = "serving_default"
|
| 47 |
+
|
| 48 |
+
tokenizer = Tokenizer.from_file(TOKENIZER_FILE)
|
| 49 |
+
tokenizer.no_truncation()
|
| 50 |
+
options = Options(hardware_accelerators=HardwareAccelerator.CPU, cpu_options=CpuOptions(num_threads=4))
|
| 51 |
+
model = CompiledModel.from_file(MODEL_FILE, options=options)
|
| 52 |
+
window = int(model.get_input_tensor_details(SIGNATURE)["input_ids"]["shape"][1])
|
| 53 |
+
inputs = {name: model.create_input_buffer_by_name(SIGNATURE, name) for name in ("input_ids", "attention_mask")}
|
| 54 |
+
outputs = {"embedding": model.create_output_buffer_by_name(SIGNATURE, "embedding")}
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
def encode_inputs(text):
|
| 58 |
+
ids = tokenizer.encode(text, add_special_tokens=True).ids
|
| 59 |
+
if len(ids) > window:
|
| 60 |
+
advice = "Split the text into shorter inputs."
|
| 61 |
+
if window < 512:
|
| 62 |
+
next_file = MODEL_FILE.replace(f"_L{window}_", f"_L{2 * window}_")
|
| 63 |
+
advice = f"Use {next_file}."
|
| 64 |
+
raise ValueError(f"{len(ids)} tokens exceed the {window}-token window. {advice}")
|
| 65 |
+
tokens = np.zeros((1, window), dtype=np.int32)
|
| 66 |
+
mask = np.zeros((1, window), dtype=np.float32)
|
| 67 |
+
tokens[0, :len(ids)] = ids
|
| 68 |
+
mask[0, :len(ids)] = 1.0
|
| 69 |
+
return tokens, mask
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
def embed(text):
|
| 73 |
+
ids, mask = encode_inputs(text)
|
| 74 |
+
inputs["input_ids"].write(ids)
|
| 75 |
+
inputs["attention_mask"].write(mask)
|
| 76 |
+
model.run_by_name(SIGNATURE, inputs, outputs)
|
| 77 |
+
return outputs["embedding"].read(384, np.float32)
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
if __name__ == "__main__":
|
| 81 |
+
query = embed("Where did Maya move last spring?")
|
| 82 |
+
for label, text in (
|
| 83 |
+
("Lisbon", "Maya moved to Lisbon in April."),
|
| 84 |
+
("Porto", "Maya's brother lives in Porto."),
|
| 85 |
+
):
|
| 86 |
+
document = embed(text)
|
| 87 |
+
cosine = np.dot(query, document) / (np.linalg.norm(query) * np.linalg.norm(document))
|
| 88 |
+
print(f"{label}: {cosine:.6f}")
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
It prints:
|
| 92 |
+
|
| 93 |
+
```text
|
| 94 |
+
Lisbon: 0.680422
|
| 95 |
+
Porto: 0.478124
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
The example is the one on the publisher's card. The publisher's float32 model gives 0.680318 and 0.478295 for the same query and documents. With `MODEL_FILE = "hs_embed_1_L64_fp16.tflite"` the code prints 0.680330 and 0.478252. Tested with ai-edge-litert 2.3.0, tokenizers 0.23.3 and numpy 2.5.4 on Python 3.13, on an arm64 Mac.
|
| 99 |
+
|
| 100 |
+
## When it does not work
|
| 101 |
+
|
| 102 |
+
- A text longer than the window stops the code with a message. Below L512 it names the file with twice the window: `ValueError: 83 tokens exceed the 64-token window. Use hs_embed_1_L128_fp16_int8emb.tflite.` At L512 it says `Split the text into shorter inputs.`
|
| 103 |
+
- These files stop at 512 tokens, while the publisher's model reads up to 8,192. Split longer texts.
|
| 104 |
+
- The first load of a file on the NPU compiles the graph on the phone: 1.3–3.5 s per file in our runs, each started with an empty compile cache, not part of the times below. The Snapdragon Galaxy S26's NPU is the only NPU measured.
|
| 105 |
+
- Of the two phones, only the Snapdragon Galaxy S26 ran the `_fp16` files, on its NPU and CPU.
|
| 106 |
+
- On the Mac we tested, LiteRT wrote INFO and WARNING messages to stderr, such as `NPU accelerator could not be loaded`, and the code still ran on the CPU.
|
| 107 |
+
|
| 108 |
+
## Files
|
| 109 |
+
|
| 110 |
+
| file | window, tokens | for | size |
|
| 111 |
+
|---|---|---|---|
|
| 112 |
+
| `hs_embed_1_L64_fp16_int8emb.tflite` | 64 | CPU, GPU | 128.3 MB |
|
| 113 |
+
| `hs_embed_1_L128_fp16_int8emb.tflite` | 128 | CPU, GPU | 128.6 MB |
|
| 114 |
+
| `hs_embed_1_L256_fp16_int8emb.tflite` | 256 | CPU, GPU | 129.2 MB |
|
| 115 |
+
| `hs_embed_1_L512_fp16_int8emb.tflite` | 512 | CPU, GPU | 131.7 MB |
|
| 116 |
+
| `hs_embed_1_L64_fp16.tflite` | 64 | NPU | 223.6 MB |
|
| 117 |
+
| `hs_embed_1_L128_fp16.tflite` | 128 | NPU | 223.8 MB |
|
| 118 |
+
| `hs_embed_1_L256_fp16.tflite` | 256 | NPU | 224.4 MB |
|
| 119 |
+
| `hs_embed_1_L512_fp16.tflite` | 512 | NPU | 226.9 MB |
|
| 120 |
+
| `tokenizer.json` | — | all files | 34.4 MB |
|
| 121 |
+
|
| 122 |
+
`_fp16_int8emb` stores the fully connected weights in float16 and the token table in int8, with one scale per row. `_fp16` stores both in float16. `tokenizer.json` is the publisher's file, byte for byte, and `SHA256SUMS` lists the sha256 of the nine files above.
|
| 123 |
+
|
| 124 |
+
Each file takes `input_ids` as int32 [1, L] and `attention_mask` as float32 [1, L], with 1 for tokens and 0 for padding. It returns `embedding`, a float32 [1, 384] vector that is mean-pooled and L2-normalized inside the graph. For 256, 128 or 64 dimensions, keep that many first values and normalize them again, as the publisher's card says.
|
| 125 |
+
|
| 126 |
+
## Accuracy
|
| 127 |
+
|
| 128 |
+
The checks compare the phones' vectors with the publisher's float32 model, run with sentence-transformers 6.3.0 on a Mac CPU on the same tokens: the two STS17 texts longer than 512 tokens, both Korean, were cut to 512 for both. They use these sets:
|
| 129 |
+
|
| 130 |
+
- JSTS: 1,457 Japanese sentence pairs, Spearman correlation at 384, 256, 128 and 64 dimensions.
|
| 131 |
+
- STS17: 4,846 sentence pairs in 9 language pairs, Spearman correlation per language pair.
|
| 132 |
+
- JSQuAD search: 150 Japanese questions over 800 paragraphs, nDCG@10.
|
| 133 |
+
- The example on the publisher's card.
|
| 134 |
+
|
| 135 |
+
The limits were written down before any file was made and applied unchanged: JSTS within 0.005 at every size, each STS17 language pair within 0.01, JSQuAD nDCG@10 at most 0.01 lower, and Lisbon ranked first in the example. Every phone row below passes all four; the NPU row ran the subset given under the table. Each text ran in the smallest window that holds it.
|
| 136 |
+
|
| 137 |
+
| phone · backend | file | lowest cosine to the publisher's vector | JSTS, largest change | STS17, largest change | JSQuAD nDCG@10 |
|
| 138 |
+
|---|---|---|---|---|---|
|
| 139 |
+
| the publisher's float32 model | — | — | — | — | 0.9152 |
|
| 140 |
+
| Snapdragon Galaxy S26 · NPU | `_fp16` | 0.99999 | < 0.0001 | < 0.0001, en-ar only | 0.9152 |
|
| 141 |
+
| Snapdragon Galaxy S26 · CPU | `_fp16` | 0.999999 | < 0.0001 | 0.0002 | 0.9152 |
|
| 142 |
+
| Snapdragon Galaxy S26 · CPU | `_fp16_int8emb` | 0.99971 | 0.0002 | 0.0011 | 0.9152 |
|
| 143 |
+
| Snapdragon Galaxy S26 · GPU, FP32 | `_fp16_int8emb` | 0.99971 | 0.0002 | 0.0011 | 0.9152 |
|
| 144 |
+
| Snapdragon Galaxy S26 · GPU, FP16 with FP32 accumulation | `_fp16_int8emb` | 0.99968 | 0.0002 | 0.0010 | 0.9152 |
|
| 145 |
+
| Snapdragon Galaxy S26 · GPU, FP16 | `_fp16_int8emb` | 0.99930 | 0.0003 | 0.0017 | 0.9160 |
|
| 146 |
+
| Pixel 11 Pro · CPU | `_fp16_int8emb` | 0.99971 | 0.0002 | 0.0011 | 0.9152 |
|
| 147 |
+
| Pixel 11 Pro · GPU, FP32 | `_fp16_int8emb` | 0.99971 | 0.0002 | 0.0011 | 0.9152 |
|
| 148 |
+
| Pixel 11 Pro · GPU, FP16 with FP32 accumulation | `_fp16_int8emb` | 0.99975 | 0.0002 | 0.0007 | 0.9152 |
|
| 149 |
+
| Pixel 11 Pro · GPU, FP16 | `_fp16_int8emb` | 0.99968 | 0.0002 | 0.0013 | 0.9152 |
|
| 150 |
+
|
| 151 |
+
The NPU row ran 3,461 texts: every JSTS text, STS17 en-ar, the card example and the 150 JSQuAD questions, searched against paragraph vectors from the publisher's model. They all fit L64 and ran there in four runs of up to 1,000 texts.
|
| 152 |
+
|
| 153 |
+
## Speed on a Snapdragon Galaxy S26
|
| 154 |
+
|
| 155 |
+
| backend | file | L64 | L128 | L256 | L512 | peak memory |
|
| 156 |
+
|---|---|---|---|---|---|---|
|
| 157 |
+
| NPU | `_fp16` | 2.24 ms | 2.97 ms | 5.24 ms | 7.29 ms | 1,207 MiB |
|
| 158 |
+
| GPU, FP16 | `_fp16_int8emb` | 2.65 ms | 3.17 ms | 4.60 ms | 9.55 ms | 734 MiB |
|
| 159 |
+
| GPU, FP16 with FP32 accumulation | `_fp16_int8emb` | 2.75 ms | 3.81 ms | 6.23 ms | 12.57 ms | 734 MiB |
|
| 160 |
+
| GPU, FP32 | `_fp16_int8emb` | 3.73 ms | 4.74 ms | 8.11 ms | 19.04 ms | 732 MiB |
|
| 161 |
+
| CPU, 4 threads | `_fp16_int8emb` | 3.49 ms | 6.13 ms | 11.59 ms | 27.76 ms | 355 MiB |
|
| 162 |
+
| CPU, 4 threads | `_fp16` | 3.44 ms | 6.16 ms | 11.74 ms | 27.72 ms | 1,008 MiB |
|
| 163 |
+
|
| 164 |
+
The phone is a Galaxy S26 (Snapdragon, SM8850) on Android API level 36. A time is one call: write the inputs, run, and read the output. Each time is the median of 20 calls after 5 warm-up calls, and each series started on a rested phone: thermal status 0, no cap on the CPU clocks and no thermal limit on the GPU clock. The CPU and GPU calls used an input that fills the window, and the NPU calls used one fixed test input.
|
| 165 |
+
|
| 166 |
+
A file computes its whole window, so a short text costs about as much as a full one. With `_fp16_int8emb` on the CPU at L512, a 32-token text took 26.0 ms and a 512-token text 27.8 ms. On the GPU the median run call alone took 0.07–0.50 ms, so time GPU calls with the output read included.
|
| 167 |
+
|
| 168 |
+
Peak memory is the highest resident memory, VmHWM, of the process that ran the accuracy checks, over the four windows. It was read every 2 s, and the NPU runs lasted 3–5 s, so the NPU figure may be below the real peak.
|
| 169 |
+
|
| 170 |
+
The phone results in Accuracy and Speed come from LiteRT 2.2.0. The CPU and GPU ran in `CompiledModel` in an Android app; on the Galaxy S26 the GPU ran through OpenCL with every node of the graph on the GPU. The GPU's FP32, FP16 with FP32 accumulation and FP16 are its `CompiledModel.GpuOptions.Precision` values `FP32`, `FP16_WITH_FP32_ACCUM` and `FP16`. The NPU ran through LiteRT's C API with the Qualcomm compiler plugin, which put every op of the graph on the NPU; its timings used `htp_performance_mode = 2`. The Pixel 11 Pro, on Android API level 37 with a PowerVR C-Series GPU, was checked for accuracy only.
|
| 171 |
+
|
| 172 |
+
## How the files were made
|
| 173 |
+
|
| 174 |
+
- The source is [hindsight-ai/hs-embed-1 at its `fp32` revision](https://huggingface.co/hindsight-ai/hs-embed-1/tree/cfb6c7d6bfd0ed423be7ebde16d035084ff06fe7), stored in float32. Cast to float16, its 44 tensors equal the FP16 weights on the publisher's [`main` branch at 241c31f](https://huggingface.co/hindsight-ai/hs-embed-1/tree/241c31fa81801ed1fedc5370a008b89d8ccba025).
|
| 175 |
+
- The model is a 7-layer ModernBERT encoder of width 384 with a 256,000-token vocabulary. Its vector is the mean of the token outputs.
|
| 176 |
+
- litert-torch 0.10.0 exported the graphs from PyTorch 2.14.1 and Transformers 5.22.1, with the pooling and the normalization inside the graph. Each window's two files differ in how the token table is stored. AI Edge Quantizer 0.10.1 converted the weights to float16 and int8.
|
| 177 |
+
- Two LayerNorms, the last layer's MLP norm and the final norm, run on their input scaled down by a power of two, chosen from the largest values over the texts of these checks, to keep float16 arithmetic in range. In the float32 PyTorch graph this changes no output: the largest difference over those texts is 0.0.
|
| 178 |
+
|
| 179 |
+
## License
|
| 180 |
+
|
| 181 |
+
MIT, the license of [the publisher's model](https://huggingface.co/hindsight-ai/hs-embed-1/tree/cfb6c7d6bfd0ed423be7ebde16d035084ff06fe7).
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
ce2cd4bd33d6587ebbfdb6f3cfd164f354268ed24cc9a78988d02c1a4b015088 hs_embed_1_L64_fp16_int8emb.tflite
|
| 2 |
+
4f9118d8fe9305f886dc446ef95a3bdfc8df3af3d9a942951d916c4fef3be0ff hs_embed_1_L128_fp16_int8emb.tflite
|
| 3 |
+
6495f218829e9370b8df745cab101b53eeba3217cbae027682ae62608a670b1c hs_embed_1_L256_fp16_int8emb.tflite
|
| 4 |
+
260d04c64ecb5880ca4ffd30ec739f124f1ce258101054fc5e23bc8d8f7069aa hs_embed_1_L512_fp16_int8emb.tflite
|
| 5 |
+
9b91d61188c5e783ef313a5d1e19c4ffb578619ff9b7afb85cc0339d3ef0f158 hs_embed_1_L64_fp16.tflite
|
| 6 |
+
b694d67e845c8a6762bb2f528588ac8d87c3ec33bc8bd67a580f61425c056af7 hs_embed_1_L128_fp16.tflite
|
| 7 |
+
5175237db383ebea75fcd38c86aad9c53b2bdee4d629cb69eeea9fadc4ec2c1f hs_embed_1_L256_fp16.tflite
|
| 8 |
+
724f810c095d7639561f31460b17c0242f18e3980518dd1644b694584ccdd196 hs_embed_1_L512_fp16.tflite
|
| 9 |
+
f34b44a6dc8a0eef651bfa10e8325057530152606a69d9c3b6ae02efb1558f0a tokenizer.json
|
hs_embed_1_L128_fp16.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b694d67e845c8a6762bb2f528588ac8d87c3ec33bc8bd67a580f61425c056af7
|
| 3 |
+
size 223786576
|
hs_embed_1_L128_fp16_int8emb.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f9118d8fe9305f886dc446ef95a3bdfc8df3af3d9a942951d916c4fef3be0ff
|
| 3 |
+
size 128554512
|
hs_embed_1_L256_fp16.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5175237db383ebea75fcd38c86aad9c53b2bdee4d629cb69eeea9fadc4ec2c1f
|
| 3 |
+
size 224441936
|
hs_embed_1_L256_fp16_int8emb.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6495f218829e9370b8df745cab101b53eeba3217cbae027682ae62608a670b1c
|
| 3 |
+
size 129209872
|
hs_embed_1_L512_fp16.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:724f810c095d7639561f31460b17c0242f18e3980518dd1644b694584ccdd196
|
| 3 |
+
size 226932304
|
hs_embed_1_L512_fp16_int8emb.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:260d04c64ecb5880ca4ffd30ec739f124f1ce258101054fc5e23bc8d8f7069aa
|
| 3 |
+
size 131700240
|
hs_embed_1_L64_fp16.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b91d61188c5e783ef313a5d1e19c4ffb578619ff9b7afb85cc0339d3ef0f158
|
| 3 |
+
size 223572944
|
hs_embed_1_L64_fp16_int8emb.tflite
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce2cd4bd33d6587ebbfdb6f3cfd164f354268ed24cc9a78988d02c1a4b015088
|
| 3 |
+
size 128340864
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f34b44a6dc8a0eef651bfa10e8325057530152606a69d9c3b6ae02efb1558f0a
|
| 3 |
+
size 34363286
|