Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Kaylebor
/
pf2e-codex-embed-xs

Sentence Similarity
sentence-transformers
Safetensors
Transformers.js
bert
feature-extraction
mteb
arctic
snowflake-arctic-embed
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Kaylebor/pf2e-codex-embed-xs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Kaylebor/pf2e-codex-embed-xs with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Kaylebor/pf2e-codex-embed-xs")
    
    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.js

    How to use Kaylebor/pf2e-codex-embed-xs with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('sentence-similarity', 'Kaylebor/pf2e-codex-embed-xs');
  • Notebooks
  • Google Colab
  • Kaggle
pf2e-codex-embed-xs
91.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Kaylebor's picture
Kaylebor
Add new model.
e69807b verified about 2 months ago
  • 1_Pooling
    Add new model. about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    85.2 kB
    Add new model. about 2 months ago
  • config.json
    745 Bytes
    Add new model. about 2 months ago
  • config_sentence_transformers.json
    343 Bytes
    Add new model. about 2 months ago
  • model.safetensors
    90.3 MB
    xet
    Add new model. about 2 months ago
  • modules.json
    429 Bytes
    Add new model. about 2 months ago
  • sentence_bert_config.json
    241 Bytes
    Add new model. about 2 months ago
  • tokenizer.json
    712 kB
    Add new model. about 2 months ago
  • tokenizer_config.json
    634 Bytes
    Add new model. about 2 months ago