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

  • Log In
  • Sign Up

sdadas
/
stella-pl

Sentence Similarity
sentence-transformers
Safetensors
Transformers
Polish
qwen2
text-generation
feature-extraction
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use sdadas/stella-pl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use sdadas/stella-pl with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sdadas/stella-pl", trust_remote_code=True)
    
    sentences = [
        "zapytanie: Jak dożyć 100 lat?",
        "Trzeba zdrowo się odżywiać i uprawiać sport.",
        "Trzeba pić alkohol, imprezować i jeździć szybkimi autami.",
        "Gdy trwała kampania politycy zapewniali, że rozprawią się z zakazem niedzielnego handlu."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

    How to use sdadas/stella-pl with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("sdadas/stella-pl", trust_remote_code=True)
    model = AutoModelForCausalLM.from_pretrained("sdadas/stella-pl", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
stella-pl
6.19 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
sdadas's picture
sdadas
Update README.md
e35def4 verified 3 months ago
  • 1_Pooling
    Upload 18 files over 1 year ago
  • 2_Dense
    Upload 18 files over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    4.05 kB
    Update README.md 3 months ago
  • added_tokens.json
    85 Bytes
    Upload 18 files over 1 year ago
  • config.json
    926 Bytes
    Transformers v5 compatibility fixes 3 months ago
  • config_sentence_transformers.json
    409 Bytes
    Upload 18 files over 1 year ago
  • configuration_qwen.py
    4.08 kB
    Transformers v5 compatibility fixes 3 months ago
  • merges.txt
    1.82 MB
    Upload 18 files over 1 year ago
  • model-00001-of-00002.safetensors
    4.99 GB
    xet
    Upload 18 files over 1 year ago
  • model-00002-of-00002.safetensors
    1.18 GB
    xet
    Upload 18 files over 1 year ago
  • model.safetensors.index.json
    25.7 kB
    Upload 18 files over 1 year ago
  • modeling_qwen.py
    69.8 kB
    Transformers v5 compatibility fixes 3 months ago
  • modules.json
    341 Bytes
    Upload 18 files over 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Upload 18 files over 1 year ago
  • special_tokens_map.json
    390 Bytes
    Upload 18 files over 1 year ago
  • tokenization_qwen.py
    12.3 kB
    Transformers v5 compatibility fixes 3 months ago
  • tokenizer.json
    7.33 MB
    Upload 18 files over 1 year ago
  • tokenizer_config.json
    1.38 kB
    Transformers v5 compatibility fixes 3 months ago
  • vocab.json
    2.78 MB
    Upload 18 files over 1 year ago