Edit model card

Basque Semantic Textual Similarity Model

import transformers

if __name__ == '__main__':
    model = 'eu-sts'
    tokenizer = transformers.AutoTokenizer.from_pretrained(model)
    model = transformers.BertForSequenceClassification.from_pretrained(model)

    sentence_pairs = [("Nire ama etxera etorri da.", "Ama visitan etorri da etxera")]
    for sp in sentence_pairs:
        result = model(**tokenizer(*sp, return_tensors='pt'))
        print(sp, result.logits)
Downloads last month
2
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.