davidmezzetti commited on
Commit
f36c4ac
1 Parent(s): 47a5108

Update README

Browse files
Files changed (1) hide show
  1. README.md +23 -2
README.md CHANGED
@@ -27,8 +27,29 @@ from txtai.embeddings import Embeddings
27
  embeddings = Embeddings()
28
  embeddings.load(provider="huggingface-hub", container="neuml/txtai-arxiv")
29
 
30
- # Run a search
31
- embeddings.search("txtai is an all-in-one embeddings database")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  ```
33
 
34
  ## Use Cases
 
27
  embeddings = Embeddings()
28
  embeddings.load(provider="huggingface-hub", container="neuml/txtai-arxiv")
29
 
30
+ # Search for papers matching a query
31
+ embeddings.search("Survey of vector databases")
32
+
33
+ # Search for papers matching an abstract
34
+ embeddings.search("""
35
+ Mixtral 8x7B, a Sparse Mixture of Experts (SMoE) language model. Mixtral has the
36
+ same architecture as Mistral 7B, with the difference that each layer is composed
37
+ of 8 feedforward blocks (i.e. experts). For every token, at each layer, a router
38
+ network selects two experts to process the current state and combine their outputs.
39
+ """)
40
+
41
+ embeddings.search("""
42
+ Humanity has wondered whether we are alone for millennia. The discovery of life
43
+ elsewhere in the Universe, particularly intelligent life, would have profound effects,
44
+ comparable to those of recognizing that the Earth is not the center of the Universe
45
+ and that humans evolved from previous species.
46
+ """)
47
+
48
+ embeddings.search("""
49
+ The main objective of this paper is to investigate the extent to which the margin of
50
+ victory can be predicted solely by the rankings of the opposing teams in NCAA
51
+ Division I men's basketball games.
52
+ """)
53
  ```
54
 
55
  ## Use Cases