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

  • Log In
  • Sign Up

Y-Research-Group
/
CSR-NV_Embed_v2-Classification-MTOPIntent

Text Classification
sentence-transformers
Safetensors
Transformers
English
nvembed
feature-extraction
mteb
text
text-embeddings-inference
sparse-encoder
sparse
csr
custom_code
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Y-Research-Group/CSR-NV_Embed_v2-Classification-MTOPIntent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Y-Research-Group/CSR-NV_Embed_v2-Classification-MTOPIntent with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Y-Research-Group/CSR-NV_Embed_v2-Classification-MTOPIntent", trust_remote_code=True)
    
    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]
  • Transformers

    How to use Y-Research-Group/CSR-NV_Embed_v2-Classification-MTOPIntent with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="Y-Research-Group/CSR-NV_Embed_v2-Classification-MTOPIntent", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Y-Research-Group/CSR-NV_Embed_v2-Classification-MTOPIntent", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
CSR-NV_Embed_v2-Classification-MTOPIntent
16 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 5 commits
W1nd-navigator's picture
W1nd-navigator
Update README.md
a757ebb verified 10 months ago
  • 1_Pooling
    First commit 10 months ago
  • 3_SparseAutoEncoder
    Sparse Encoder Update 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    4.9 kB
    Update README.md 10 months ago
  • config.json
    2.66 kB
    First commit 10 months ago
  • config_sentence_transformers.json
    361 Bytes
    Sparse Encoder Update 10 months ago
  • configuration_nvembed.py
    3.2 kB
    First commit 10 months ago
  • instructions.json
    3.38 kB
    First commit 10 months ago
  • model-00001-of-00004.safetensors
    5 GB
    xet
    First commit 10 months ago
  • model-00002-of-00004.safetensors
    4.92 GB
    xet
    First commit 10 months ago
  • model-00003-of-00004.safetensors
    5 GB
    xet
    First commit 10 months ago
  • model-00004-of-00004.safetensors
    789 MB
    xet
    First commit 10 months ago
  • model.safetensors.index.json
    28.2 kB
    First commit 10 months ago
  • modeling_nvembed.py
    18.8 kB
    First commit 10 months ago
  • modules.json
    500 Bytes
    Sparse Encoder Update 10 months ago
  • sentence_bert_config.json
    55 Bytes
    First commit 10 months ago
  • special_tokens_map.json
    551 Bytes
    First commit 10 months ago
  • tokenizer.json
    1.8 MB
    First commit 10 months ago
  • tokenizer.model
    493 kB
    xet
    First commit 10 months ago
  • tokenizer_config.json
    997 Bytes
    First commit 10 months ago