How to use Jrinky/jina3 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Jrinky/jina3", trust_remote_code=True) sentences = [ "What were the criticisms made by Joe Joseph and Thomas Sutcliffe about the film", "Heirloom quality! Shop Now For Chanukah!", "Charlie Rymer (born December 18, 1967) is an American professional golfer who played on the PGA Tour and the Nike Tour. He is currently an analyst for the Golf Channel. Amateur career\nRymer was born in Cleveland, Tennessee and grew up in Fort Mill, South Carolina. Rymer played college golf at Georgia Tech, where he was a third-team All-American in 1988 and an honorable mention All-American in 1989. He won five tournaments during his time at Georgia Tech.", "Joe Joseph of The Times agreed that the film was insubstantial, calling it a \"speedy, cost-efficient way to interleave stock library footage with quotes from DJs and showbiz journalists in order to fill gaps in the late summer schedules.\" The Independents Thomas Sutcliffe felt the airing of the film on the same week as the first anniversary of the September 11 attacks was ill-timed, and described the film as \"a scrappy collage of warmed-over gossip and underpowered revelation.\"" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4]
The community tab is the place to discuss and collaborate with the HF community!