This is a
sentence-transformers
model: It maps sentences & paragraphs to a 768 dimensional dense vector space. The model was specifically trained for the task of sematic search.
This model was converted from the Tensorflow model
gtr-xl-1
to PyTorch. When using this model, have a look at the publication:
Large Dual Encoders Are Generalizable Retrievers
. The tfhub model and this PyTorch model can produce slightly different embeddings, however, when run on the same benchmarks, they produce identical results.
The model uses only the encoder from a T5-3B model. The weights are stored in FP16.
from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]
model = SentenceTransformer('sentence-transformers/gtr-t5-xl')
embeddings = model.encode(sentences)
print(embeddings)
The model requires sentence-transformers version 2.2.0 or newer.
Evaluation Results
For an automated evaluation of this model, see the
Sentence Embeddings Benchmark
:
https://seb.sbert.net
gtr-t5-xl huggingface.co is an AI model on huggingface.co that provides gtr-t5-xl's model effect (), which can be used instantly with this sentence-transformers gtr-t5-xl model. huggingface.co supports a free trial of the gtr-t5-xl model, and also provides paid use of the gtr-t5-xl. Support call gtr-t5-xl model through api, including Node.js, Python, http.
gtr-t5-xl huggingface.co is an online trial and call api platform, which integrates gtr-t5-xl's modeling effects, including api services, and provides a free online trial of gtr-t5-xl, you can try gtr-t5-xl online for free by clicking the link below.
sentence-transformers gtr-t5-xl online free url in huggingface.co:
gtr-t5-xl is an open source model from GitHub that offers a free installation service, and any user can find gtr-t5-xl on GitHub to install. At the same time, huggingface.co provides the effect of gtr-t5-xl install, users can directly use gtr-t5-xl installed effect in huggingface.co for debugging and trial. It also supports api for free installation.