kalle07 commited on
Commit
d1761d2
·
verified ·
1 Parent(s): 9648b1b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -16
README.md CHANGED
@@ -24,26 +24,26 @@ architecture:
24
  ---
25
 
26
  # All models tested with ALLM(AnythingLLM) with LM as server
27
- they work more or less (sometimes the results are more truthful if the “chat with document only” option is used)
28
 
29
- my short impression:
30
  - nomic-embed-text
31
  - mxbai-embed-large
32
  - mug-b-1.6
33
  - Ger-RAG-BGE-M3 (german)
34
 
35
- working well, all other its up to you!
36
 
37
 
38
- short hints for using:
39
- set your (Max Tokens)context-lenght 16000t main-model, set your embedder-model (Max Embedding Chunk Length) 1024t,set (Max Context Snippets) usual 14,
40
  but in ALLM its cutting all in 1024 character parts, so aprox two times or bit more ~30!
41
 
42
- -> ok what that mean!
43
 
44
- you can receive 14-snippets a 1024t (14336t) from your document ~10000words and 1600t left for the answer ~1000words (2 pages)
45
 
46
- you can play and set for your needs, eg 8-snippets a 2048t, or 28-snippets a 512t ...
47
 
48
  8000t ~0.8GB VRAM usage /
49
  16000t ~1.5GB VRAM usage /
@@ -52,22 +52,22 @@ you can play and set for your needs, eg 8-snippets a 2048t, or 28-snippets a 512
52
 
53
  ...
54
 
55
- how embedding and search works for now
56
 
57
- you have a txt/pdf file maybe 90000words(~300pages). you ask the model lets say "what is described in chapter called XYZ in relation to person ZYX".
58
- 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” ,
59
  now a piece of text 1024token around this word “XYZ/ZYX” is cut out at this point.
60
- 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 to 32 snippet are used)
61
 
62
- 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.
63
 
64
- if the documents small like 10-20 Pages, its better you copy the whole text inside the prompt.
65
 
66
  ...
67
 
68
- my impression is that at the moment only the first results of the embedder is used (dont ask what happend if you use more than one document at once) so it should be some kind of ranking.
69
 
70
- so if found 100 snippets only the the 5 or 10 with highest rank send to model... but seems thats not happend
71
 
72
 
73
  ...
 
24
  ---
25
 
26
  # All models tested with ALLM(AnythingLLM) with LM as server
27
+ They work more or less (sometimes the results are more truthful if the “chat with document only” option is used)
28
 
29
+ My short impression:
30
  - nomic-embed-text
31
  - mxbai-embed-large
32
  - mug-b-1.6
33
  - Ger-RAG-BGE-M3 (german)
34
 
35
+ Working well, all other its up to you!
36
 
37
 
38
+ Short hints for using:
39
+ Set your (Max Tokens)context-lenght 16000t main-model, set your embedder-model (Max Embedding Chunk Length) 1024t,set (Max Context Snippets) usual 14,
40
  but in ALLM its cutting all in 1024 character parts, so aprox two times or bit more ~30!
41
 
42
+ -> Ok what that mean!
43
 
44
+ You can receive 14-snippets a 1024t (14336t) from your document ~10000words and 1600t left for the answer ~1000words (2 pages)
45
 
46
+ You can play and set for your needs, eg 8-snippets a 2048t, or 28-snippets a 512t ...
47
 
48
  8000t ~0.8GB VRAM usage /
49
  16000t ~1.5GB VRAM usage /
 
52
 
53
  ...
54
 
55
+ How embedding and search works for now
56
 
57
+ You have a txt/pdf file maybe 90000words(~300pages). You ask the model lets say "what is described in chapter called XYZ in relation to person ZYX".
58
+ 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” ,
59
  now a piece of text 1024token around this word “XYZ/ZYX” is cut out at this point.
60
+ 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 to 32 snippet are used)
61
 
62
+ 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.
63
 
64
+ If the documents small like 10-20 Pages, its better you copy the whole text inside the prompt.
65
 
66
  ...
67
 
68
+ My impression is that at the moment only the first results of the embedder is used (dont ask what happend if you use more than one document at once) so it should be some kind of ranking.
69
 
70
+ If the embedder has found 100 snippets, only the snippets with the highest rank should be sent to the model.... but seems thats not happend
71
 
72
 
73
  ...