Update README.md
Browse files
README.md
CHANGED
@@ -67,7 +67,9 @@ def generate_sentence_embedding(sentence, language):
|
|
67 |
|
68 |
return embedding
|
69 |
|
70 |
-
|
|
|
|
|
71 |
print(sentence_embedding)
|
72 |
```
|
73 |
Output:
|
|
|
67 |
|
68 |
return embedding
|
69 |
|
70 |
+
# Try it out
|
71 |
+
sentence_0 = "Wir feiern am 1. August den Schweizer Nationalfeiertag."
|
72 |
+
sentence_0_embedding = generate_sentence_embedding(sentence_0, language="de")
|
73 |
print(sentence_embedding)
|
74 |
```
|
75 |
Output:
|