prithivida
commited on
Commit
·
e20f3e3
1
Parent(s):
5c48480
Update README.md
Browse files
README.md
CHANGED
@@ -22,7 +22,7 @@ metrics:
|
|
22 |
# Motivation
|
23 |
|
24 |
|
25 |
-
This model is based on anferico/bert-for-patents and it is based on BERT<sub>LARGE</sub> (See details below). By default, the pre-trained model's output embeddings with size 768 (base-models) or with size 1024 (large-models). However, when you store Millions of embeddings, this can require quite a lot of memory/storage. So have reduced the embedding dimension to 64 i.e 1/16th of 1024 using Principle Component Analysis (PCA) and it still gives a comparable performance. Note: This process neither improves the runtime, nor the memory requirement for running the model. It only reduces the needed space to store embeddings, for example, for semantic search using vector databases.
|
26 |
|
27 |
|
28 |
|
|
|
22 |
# Motivation
|
23 |
|
24 |
|
25 |
+
This model is based on anferico/bert-for-patents and it is based on BERT<sub>LARGE</sub> (See details below). By default, the pre-trained model's output embeddings with size 768 (base-models) or with size 1024 (large-models). However, when you store Millions of embeddings, this can require quite a lot of memory/storage. So have reduced the embedding dimension to 64 i.e 1/16th of 1024 using Principle Component Analysis (PCA) and it still gives a comparable performance. Yes! PCA gives better performance than NMF. Note: This process neither improves the runtime, nor the memory requirement for running the model. It only reduces the needed space to store embeddings, for example, for semantic search using vector databases.
|
26 |
|
27 |
|
28 |
|