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

  • Log In
  • Sign Up

khulnasoft
/
NeoAI-Embed

Sentence Similarity
sentence-transformers
Safetensors
Transformers
qwen2
feature-extraction
Qwen2
custom_code
Model card Files Files and versions
xet
Community

Instructions to use khulnasoft/NeoAI-Embed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use khulnasoft/NeoAI-Embed with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("khulnasoft/NeoAI-Embed", trust_remote_code=True)
    
    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]
  • Transformers

    How to use khulnasoft/NeoAI-Embed with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("khulnasoft/NeoAI-Embed", trust_remote_code=True)
    model = AutoModel.from_pretrained("khulnasoft/NeoAI-Embed", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
NeoAI-Embed
2.88 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
khulnasoft's picture
khulnasoft
Create README.md
6c400a4 verified 8 months ago
  • 1_Pooling
    Create 1_Pooling/config.json 8 months ago
  • .gitattributes
    1.57 kB
    Update .gitattributes 8 months ago
  • README.md
    4.82 kB
    Create README.md 8 months ago
  • added_tokens.json
    79 Bytes
    Create added_tokens.json 8 months ago
  • config.json
    890 Bytes
    Create config.json 8 months ago
  • config_sentence_transformers.json
    220 Bytes
    Create config_sentence_transformers.json 8 months ago
  • model.safetensors.index.json
    25.7 kB
    Create model.safetensors.index.json 8 months ago
  • modeling_qwen.py
    65.4 kB
    Create modeling_qwen.py 8 months ago
  • modules.json
    229 Bytes
    Create modules.json 8 months ago
  • sentence_bert_config.json
    55 Bytes
    Create sentence_bert_config.json 8 months ago
  • special_tokens_map.json
    370 Bytes
    Create special_tokens_map.json 8 months ago
  • tokenizer_config.json
    1.36 kB
    Create tokenizer_config.json 8 months ago
  • vocab.json
    2.78 MB
    Create vocab.json 8 months ago