Instructions to use NetherlandsForensicInstitute/robbert-2022-dutch-sentence-transformers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use NetherlandsForensicInstitute/robbert-2022-dutch-sentence-transformers with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("NetherlandsForensicInstitute/robbert-2022-dutch-sentence-transformers") sentences = [ "Deze week ga ik naar de kapper", "Ik ga binnenkort mijn haren laten knippen", "Morgen wil ik uitslapen", "Gisteren ging ik naar de bioscoop" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use NetherlandsForensicInstitute/robbert-2022-dutch-sentence-transformers with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("NetherlandsForensicInstitute/robbert-2022-dutch-sentence-transformers") model = AutoModel.from_pretrained("NetherlandsForensicInstitute/robbert-2022-dutch-sentence-transformers") - Inference
- Notebooks
- Google Colab
- Kaggle
Citation
Hi, I am using the model on my work and I would like to cite it. Is there a citation available, as far as I looked I could not find anything.
Thanks in advance!
Hi! Good to hear you are using our model!
To be honest, we hadn't given it any thought yet. Here are two citation ways we just came up with:
- Using a "misc" citation, similar to https://github.com/Rijgersberg/GEITje?tab=readme-ov-file#-referentie
- Us getting a DOI for this model so you can cite that.
What would be your preferred way? Or do you have another suggestion?
Both ways would work fine for me!
Added a DOI through the Hugging Face interface.
You can now cite the model by choosing the three dots in the top right of the page and choosing "Cite this model". π