Update README.md
Browse files
README.md
CHANGED
@@ -7,5 +7,11 @@ license: eupl-1.1
|
|
7 |
|
8 |
Based on the masked language model EUBERT this sentence transformer will allow to compute embeddings on various EU documents in 24 languages.
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
👷♂️ Work in progress
|
|
|
7 |
|
8 |
Based on the masked language model EUBERT this sentence transformer will allow to compute embeddings on various EU documents in 24 languages.
|
9 |
|
10 |
+
```python
|
11 |
+
embedder = SentenceTransformer("EuropeanParliament/eubert_embedding_v1")
|
12 |
+
embedder.encode("Your text")
|
13 |
+
|
14 |
+
```
|
15 |
+
|
16 |
|
17 |
👷♂️ Work in progress
|