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

  • Log In
  • Sign Up

AI-Growth-Lab
/
Pap2PatentSBERTa

Sentence Similarity
sentence-transformers
PyTorch
Transformers
mpnet
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use AI-Growth-Lab/Pap2PatentSBERTa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use AI-Growth-Lab/Pap2PatentSBERTa with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AI-Growth-Lab/Pap2PatentSBERTa")
    
    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 AI-Growth-Lab/Pap2PatentSBERTa with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("AI-Growth-Lab/Pap2PatentSBERTa")
    model = AutoModel.from_pretrained("AI-Growth-Lab/Pap2PatentSBERTa")
  • Notebooks
  • Google Colab
  • Kaggle
Pap2PatentSBERTa / eval
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
HamidBekam's picture
HamidBekam
firstversion
c55f255 over 3 years ago
  • mse_evaluation__results.csv
    139 Bytes
    firstversion over 3 years ago
  • translation_evaluation_results.csv
    119 Bytes
    firstversion over 3 years ago