Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Basar2004
/
turkish-sentence-encoder

Sentence Similarity
sentence-transformers
PyTorch
Turkish
turkish-sentence-encoder
sentence-embeddings
feature-extraction
turkish
contrastive-learning
mteb
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Basar2004/turkish-sentence-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Basar2004/turkish-sentence-encoder with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Basar2004/turkish-sentence-encoder")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
turkish-sentence-encoder
219 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
Basar2004's picture
Basar2004
Upload folder using huggingface_hub
e64628a verified 4 months ago
  • mteb_results
    Upload folder using huggingface_hub 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    3.14 kB
    Upload folder using huggingface_hub 4 months ago
  • config.json
    248 Bytes
    Upload folder using huggingface_hub 4 months ago
  • modeling_turkish_encoder.py
    5.27 kB
    Upload folder using huggingface_hub 4 months ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    217 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • special_tokens_map.json
    124 Bytes
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    2.03 MB
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    255 Bytes
    Upload folder using huggingface_hub 4 months ago