embedder_collection / README.md
kalle07's picture
Update README.md
292bdf5 verified
|
raw
history blame
1.91 kB
metadata
library_name: sentence-transformers
pipeline_tag: sentence-similarity
tags:
  - sentence-transformers
  - sentence-similarity
  - feature-extraction
  - embedder
  - embedding
  - moedels
  - GGUF
  - Bert
  - Nomic
  - Gist
  - text-embeddings-inference
misc:
  - text-embeddings-inference
language:
  - en
  - de
architecture:
  - GIST

All models tested with ALLM(AnythingLLM) with LM as server

they work more or less (all BGE types iv tested dont work)

my short impression:

  • nomic-embed-text
  • mxbai-embed-large
  • mug-b-1.6
  • Ger-RAG-BGE-M3 (german)

working well, all other its up to you!

short hints for using: set your (Max Tokens)context-lenght 16000t main-model, set your embedder-model (Max Embedding Chunk Length) 1024t,set (Max Context Snippets) 14

-> ok what that mean!

you can receive 14-snippets a 1024t (14336t) from your document ~10000words and 1600t left for the answer ~1000words

you can play and set for your needs, eg 8-snippets a 2048t, or 28-snippets a 512t ...

16000t ~1GB VRAM usage

...

how embedding and search works for now

you have a txt/pdf file maybe 90000words(~300pages). you ask the model lets say "what is described in chapter XYZ in relation to ZYX". now it searches for keywords or similar semantic terms in the document. if it has found them, lets say word and meaning around “XYZ and ZYX” , now a piece of text 1024token around this word “XYZ/ZYX” is cut out at this point. this text snippet is then used for your answer. if, for example, the word “XYZ” occurs 100 times in one file, not all 100 are found (usually only 4,8, or 16 snippet)

so , a question for "summary of the document" is most time not useful, if the document has an introduction or summaries its searching there if you have luck.

if the documents small like 10-20 Pages, its better you copy the whole text inside the prompt.

...

...

(ALL Licenses and terms of use go to original author)