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

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 SparseEncoder
    
    model = SparseEncoder("Y-Research-Group/CSR-NV_Embed_v2-Classification-MTOPIntent", trust_remote_code=True)
    
    queries = ["Which planet is known as the Red Planet?"]
    documents = [
    	"Venus is often called Earth's twin because of its similar size and proximity.",
    	"Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    	"Jupiter, the largest planet in our solar system, has a prominent red spot.",
    ]
    
    query_embeddings = model.encode_query(queries)
    document_embeddings = model.encode_document(documents)
    
    similarities = model.similarity(query_embeddings, document_embeddings)
    print(similarities)
  • 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)
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Y-Research-Group/CSR-NV_Embed_v2-Classification-MTOPIntent", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
CSR-NV_Embed_v2-Classification-MTOPIntent / 3_SparseAutoEncoder
269 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 1 commit
Veritas2025's picture
Veritas2025
Sparse Encoder Update
4579def over 1 year ago
  • config.json
    131 Bytes
    Sparse Encoder Update over 1 year ago
  • model.safetensors
    269 MB
    xet
    Sparse Encoder Update over 1 year ago