Viona commited on
Commit
e1729cc
1 Parent(s): b86c1e5

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -0
README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pipeline_tag: sentence-similarity
3
+ language: english
4
+ tags:
5
+ - sentence-transformers
6
+ - sentence-similarity
7
+ - transformers
8
+ ---
9
+ # sentence-transformers/distiluse-base-multilingual-cased
10
+ This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 512 dimensional dense vector space and can be used for tasks like clustering or semantic search.
11
+ ## Usage (Sentence-Transformers)
12
+ Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
13
+ ```
14
+ pip install -U sentence-transformers
15
+ ```
16
+ Then you can use the model like this:
17
+ ```python
18
+ from sentence_transformers import SentenceTransformer
19
+ sentences = ["A man is eating food.", "A man is eating a piece of bread"]
20
+
21
+ model = SentenceTransformer('recobo/agri-sentence-transformer')
22
+ embeddings = model.encode(sentences)
23
+ print(embeddings)