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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Craig
/
mGqFiPhu

Feature Extraction
sentence-transformers
Transformers
sentence-similarity
Model card Files Files and versions
xet
Community

Instructions to use Craig/mGqFiPhu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Craig/mGqFiPhu with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Craig/mGqFiPhu")
    
    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 Craig/mGqFiPhu with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="Craig/mGqFiPhu")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Craig/mGqFiPhu", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mGqFiPhu
1.03 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
Craig's picture
Craig
Update README.md
8685bf5 over 4 years ago
  • 0_WordEmbeddings
    first checkin over 4 years ago
  • 1_Pooling
    first checkin over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    162 Bytes
    Update README.md over 4 years ago
  • config_sentence_transformers.json
    122 Bytes
    first checkin over 4 years ago
  • modules.json
    248 Bytes
    first checkin over 4 years ago