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

  • Log In
  • Sign Up

aminhaeri
/
risk-embed

Sentence Similarity
sentence-transformers
Safetensors
bert
finance
risk-management
risk
embedding
rag
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use aminhaeri/risk-embed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use aminhaeri/risk-embed with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("aminhaeri/risk-embed")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
risk-embed
437 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
aminhaeri's picture
aminhaeri
Update README.md
8bab60e verified about 1 year ago
  • 1_Pooling
    Upload 11 files about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    5.36 kB
    Update README.md about 1 year ago
  • config.json
    701 Bytes
    Upload 11 files about 1 year ago
  • config_sentence_transformers.json
    262 Bytes
    Upload 11 files about 1 year ago
  • model.safetensors
    436 MB
    xet
    Upload 11 files about 1 year ago
  • modules.json
    368 Bytes
    Upload 11 files about 1 year ago
  • sentence_bert_config.json
    56 Bytes
    Upload 11 files about 1 year ago
  • special_tokens_map.json
    732 Bytes
    Upload 11 files about 1 year ago
  • tokenizer.json
    712 kB
    Upload 11 files about 1 year ago
  • tokenizer_config.json
    1.44 kB
    Upload 11 files about 1 year ago
  • vocab.txt
    232 kB
    Upload 11 files about 1 year ago