keras-io / bert-semantic-similarity

huggingface.co
Total runs: 7
24-hour runs: 0
7-day runs: 0
30-day runs: 3
Model's Last Updated: July 05 2024
sentence-similarity

Introduction of bert-semantic-similarity

Model Details of bert-semantic-similarity

Model description

This repo contains the model and the notebook for fine-tuning BERT model on SNLI Corpus for Semantic Similarity. Semantic Similarity with BERT .

Full credits go to Mohamad Merchant

Reproduced by Vu Minh Chien

Motivation: Semantic Similarity determines how similar two sentences are, in terms of their meaning. In this tutorial, we can fine-tune BERT model and use it to predict the similarity score for two sentences.

Training and evaluation data

This example demonstrates the use of the Stanford Natural Language Inference (SNLI) Corpus to predict semantic sentence similarity with Transformers.

  • Total train samples: 100000

  • Total validation samples: 10000

  • Total test samples: 10000

Here are the "similarity" label values in SNLI dataset:

  • Contradiction: The sentences share no similarity.

  • Entailment: The sentences have a similar meaning.

  • Neutral: The sentences are neutral.

Training procedure
Training hyperparameters

The following hyperparameters were used during training:

Hyperparameters Value
name Adam
learning_rate 9.999999747378752e-06
decay 0.0
beta_1 0.8999999761581421
beta_2 0.9990000128746033
epsilon 1e-07
amsgrad False
training_precision float32
Model Plot
View Model Plot

Model Image

Runs of keras-io bert-semantic-similarity on huggingface.co

7
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
3
30-day runs

More Information About bert-semantic-similarity huggingface.co Model

bert-semantic-similarity huggingface.co

bert-semantic-similarity huggingface.co is an AI model on huggingface.co that provides bert-semantic-similarity's model effect (), which can be used instantly with this keras-io bert-semantic-similarity model. huggingface.co supports a free trial of the bert-semantic-similarity model, and also provides paid use of the bert-semantic-similarity. Support call bert-semantic-similarity model through api, including Node.js, Python, http.

bert-semantic-similarity huggingface.co Url

https://huggingface.co/keras-io/bert-semantic-similarity

keras-io bert-semantic-similarity online free

bert-semantic-similarity huggingface.co is an online trial and call api platform, which integrates bert-semantic-similarity's modeling effects, including api services, and provides a free online trial of bert-semantic-similarity, you can try bert-semantic-similarity online for free by clicking the link below.

keras-io bert-semantic-similarity online free url in huggingface.co:

https://huggingface.co/keras-io/bert-semantic-similarity

bert-semantic-similarity install

bert-semantic-similarity is an open source model from GitHub that offers a free installation service, and any user can find bert-semantic-similarity on GitHub to install. At the same time, huggingface.co provides the effect of bert-semantic-similarity install, users can directly use bert-semantic-similarity installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bert-semantic-similarity install url in huggingface.co:

https://huggingface.co/keras-io/bert-semantic-similarity

Url of bert-semantic-similarity

bert-semantic-similarity huggingface.co Url

Provider of bert-semantic-similarity huggingface.co

keras-io
ORGANIZATIONS

Other API from keras-io

huggingface.co

Total runs: 32
Run Growth: 14
Growth Rate: 43.75%
Updated:February 18 2022
huggingface.co

Total runs: 32
Run Growth: 27
Growth Rate: 84.38%
Updated:August 15 2022
huggingface.co

Total runs: 18
Run Growth: 5
Growth Rate: 27.78%
Updated:January 13 2022
huggingface.co

Total runs: 16
Run Growth: -5
Growth Rate: -31.25%
Updated:May 23 2025
huggingface.co

Total runs: 15
Run Growth: 11
Growth Rate: 73.33%
Updated:February 23 2022
huggingface.co

Total runs: 14
Run Growth: 6
Growth Rate: 42.86%
Updated:July 05 2024
huggingface.co

Total runs: 14
Run Growth: 7
Growth Rate: 50.00%
Updated:February 06 2022
huggingface.co

Total runs: 12
Run Growth: -4
Growth Rate: -36.36%
Updated:February 04 2022
huggingface.co

Total runs: 10
Run Growth: -7
Growth Rate: -70.00%
Updated:July 05 2024
huggingface.co

Total runs: 10
Run Growth: -3
Growth Rate: -27.27%
Updated:July 05 2024
huggingface.co

Total runs: 10
Run Growth: 5
Growth Rate: 50.00%
Updated:July 05 2024
huggingface.co

Total runs: 9
Run Growth: 1
Growth Rate: 11.11%
Updated:July 05 2024
huggingface.co

Total runs: 8
Run Growth: -2
Growth Rate: -25.00%
Updated:July 05 2024
huggingface.co

Total runs: 7
Run Growth: 6
Growth Rate: 85.71%
Updated:March 01 2022
huggingface.co

Total runs: 7
Run Growth: -4
Growth Rate: -57.14%
Updated:July 05 2024
huggingface.co

Total runs: 6
Run Growth: -14
Growth Rate: -233.33%
Updated:July 05 2024
huggingface.co

Total runs: 4
Run Growth: -2
Growth Rate: -50.00%
Updated:July 05 2024
huggingface.co

Total runs: 3
Run Growth: -5
Growth Rate: -166.67%
Updated:July 05 2024
huggingface.co

Total runs: 2
Run Growth: -4
Growth Rate: -200.00%
Updated:July 05 2024
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:February 16 2022
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:July 05 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 12 2023