davidmezzetti commited on
Commit
c339cff
·
1 Parent(s): fe3c155

Initial version

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. README.md +25 -0
  3. config.json +8 -0
  4. model.safetensors +3 -0
  5. vocab.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
+ vocab.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-similarity
4
+ inference: false
5
+ license: cc-by-sa-3.0
6
+ language: en
7
+ library_name: staticvectors
8
+ base_model:
9
+ - NeuML/fasttext
10
+ ---
11
+
12
+ # FastText StaticVectors model
13
+
14
+ This model is an export of these [FastText English Vectors](https://fasttext.cc/docs/en/english-vectors.html) (_wiki-news-300d-1M-subword.vec.zip_) for [`staticvectors`](https://github.com/neuml/staticvectors). `staticvectors` enables running inference Python with NumPy, helping 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/fasttext-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": "wiki-news-300d-1M-subword.vec",
6
+ "total": 999994,
7
+ "dim": 300
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dc98d0594c975d1cfe253acc0e4137a8a7353feb627c3d369559fa8225c5446
3
+ size 10307380
vocab.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f8a866704d9cda299126b2f802fb23063bd4a346224ccd8d8c2242e95aefd94
3
+ size 20123534