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

anatel
/
bert-augmented-pt-anatel

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

Instructions to use anatel/bert-augmented-pt-anatel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use anatel/bert-augmented-pt-anatel with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("anatel/bert-augmented-pt-anatel")
    
    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 anatel/bert-augmented-pt-anatel with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("anatel/bert-augmented-pt-anatel")
    model = AutoModel.from_pretrained("anatel/bert-augmented-pt-anatel")
  • Notebooks
  • Google Colab
  • Kaggle
bert-augmented-pt-anatel / training_assets
12.3 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ennioferreirab's picture
ennioferreirab
add model
172a9d5 over 3 years ago
  • Readme.md
    2.03 kB
    add model over 3 years ago
  • gold_sample_index.txt
    6.6 kB
    add model almost 4 years ago
  • request_solr.py
    2.19 kB
    add model almost 4 years ago
  • silver_database.py
    1.52 kB
    add model over 3 years ago