Commit
·
b2be435
1
Parent(s):
7a06cf9
Initial version
Browse files- README.md +25 -0
- config.json +8 -0
- model.safetensors +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- sentence-similarity
|
4 |
+
inference: false
|
5 |
+
license: pddl
|
6 |
+
language: en
|
7 |
+
library_name: staticvectors
|
8 |
+
base_model:
|
9 |
+
- NeuML/glove-6B
|
10 |
+
---
|
11 |
+
|
12 |
+
# GloVe-6B StaticVectors model
|
13 |
+
|
14 |
+
This model is an export of these [GloVe-6B English Vectors](https://nlp.stanford.edu/projects/glove/) (_300d_) for [`staticvectors`](https://github.com/neuml/staticvectors). `staticvectors` enables running inference in Python with NumPy. This helps it maintain solid runtime performance.
|
15 |
+
|
16 |
+
_This model is a quantized version of the base model. It's using 10x256 Product Quantization._
|
17 |
+
|
18 |
+
## Usage with StaticVectors
|
19 |
+
|
20 |
+
```python
|
21 |
+
from staticvectors import StaticVectors
|
22 |
+
|
23 |
+
model = StaticVectors("neuml/glove-6B-quantized")
|
24 |
+
model.embeddings(["word"])
|
25 |
+
```
|
config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_type": "staticvectors",
|
3 |
+
"storage": "safetensors",
|
4 |
+
"format": "text",
|
5 |
+
"source": "glove.6B.300d.txt",
|
6 |
+
"total": 400000,
|
7 |
+
"dim": 300
|
8 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d1bcf4340b93620a4b52f6bb0019cc36c668a245e7e3357c12ccae46078809c
|
3 |
+
size 4307432
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|