-
Notifications
You must be signed in to change notification settings - Fork 27.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create README.md * Update model_cards/kiri-ai/distiluse-base-multilingual-cased-et/README.md Co-authored-by: Julien Chaumond <chaumond@gmail.com>
- Loading branch information
1 parent
c615df7
commit 5527f78
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
model_cards/kiri-ai/distiluse-base-multilingual-cased-et/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
language: et | ||
--- | ||
## Model Description | ||
|
||
This model is based off **Sentence-Transformer's** `distiluse-base-multilingual-cased` multilingual model that has been extended to understand sentence embeddings in Estonian. | ||
|
||
## Sentence-Transformers | ||
|
||
This model can be imported directly via the SentenceTransformers package as shown below: | ||
|
||
```python | ||
from sentence_transformers import SentenceTransformer | ||
model = SentenceTransformer('kiri-ai/distiluse-base-multilingual-cased-et') | ||
sentences = ['Here is a sample sentence','Another sample sentence'] | ||
embeddings = model.encode(sentences) | ||
|
||
print("Sentence embeddings:") | ||
print(embeddings) | ||
``` | ||
|
||
## Fine-tuning | ||
|
||
The fine-tuning and training processes were inspired by [sbert's](https://www.sbert.net/) multilingual training techniques which are available [here](https://www.sbert.net/examples/training/multilingual/README.html). The documentation shows and explains the step-by-step process of using parallel sentences to train models in a different language. | ||
|
||
### Resources | ||
|
||
The model was fine-tuned on English-Estonian parallel sentences taken from [OPUS](http://opus.nlpl.eu/) and [ParaCrawl](https://paracrawl.eu/). |