Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:105064
loss:CachedGISTEmbedLoss
text-embeddings-inference
Instructions to use seongil-dn/further_trainset_large_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use seongil-dn/further_trainset_large_v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("seongil-dn/further_trainset_large_v2") sentences = [ "When was Jacques-Louis David born?", "Jacques-Louis David was born into a prosperous French family in Paris on 30 August 1748. When he was about nine his father was killed in a duel and his mother left him with his well-off architect uncles. They saw to it that he received an excellent education at the Collège des Quatre-Nations, University of Paris, but he was never a good student-- he had a facial tumor that impeded his speech, and he was always preoccupied with drawing. He covered his notebooks with drawings, and he once said, \"I was always hiding behind the instructor's chair, drawing for the duration of the class\". Soon, he desired to be a painter, but his uncles and mother wanted him to be an architect. He overcame the opposition, and went to learn from François Boucher (1703–1770), the leading painter of the time, who was also a distant relative. Boucher was a Rococo painter, but tastes were changing, and the fashion for Rococo was giving way to a more classical style. Boucher decided that instead of taking over David's tutelage, he would send David to his friend, Joseph-Marie Vien (1716–1809), a painter who embraced the classical reaction to Rococo. There, David attended the Royal Academy, based in what is now the Louvre.", "Jacques Louis Antoine Marie David (22 December 1930 – 19 December 2018) was a French Roman Catholic bishop.\nDavid was born in France and was ordained to the priesthood in 1956. He served as titular bishop of \"Girba\" and as auxiliary bishop of the Roman Catholic Archdiocese of Bordeaux, France, from 1981 to 1986. He served as bishop of the Roman Catholic Diocese of La Rochelle and Saintes, France, from 1986 to 1996. David served as bishop of the Roman Catholic Diocese of Évreux, France, from 1996 to 2006.", "Jérôme David was born in Rome, Italy on 30 June 1823, nominal grandson of the painter Jacques-Louis David, and godson of Jérôme Bonaparte, King of Westphalia and Catharina of Württemberg, his wife.\nHe was the natural son of King Jérôme.\nHis family destined him for the navy, where he served from 1835 to 1837, but he took a dislike to this service and chose to join the army instead.\nHe graduated from the École de Saint-Cyr on 1 October 1844 as second lieutenant of the Zouaves.", "Garneray was born in Paris (on Rue Saint-Andre-des-arts, in the Latin Quarter) on 19 February 1783. He was the elder son of Jean-François Garneray (1755–1837), painter of the king, who was pupil of Jacques-Louis David. At thirteen, he joined the Navy as a seaman, encouraged by his cousin, Beaulieu-Leloup, commander of the frigate \"Forte\" (\"the Stout one\"). Garneray sailed from Rochefort to the Indian Ocean with the frigate division under Sercey, to which the \"Forte\" belonged.", "It was moved there from its original location after the artist's death on 25 December 1825 where his body had been resting in the old churchyard of the St. Michael and St. Gudula collegiate church of the Leopold Quarter of Brussels while waiting for posthumous repatriation to France. However, as a notable participant of the Reign of Terror, his body was not accepted for repatriation, and the lead-lined oak casket was left where it was. Thanks to an initiative by Jobard, a monument was erected with the text \"À Jacques-Louis David restaurateur de l'école moderne de peinture de France ici dessous\" (\"To Jacques-Louis David, restorer of the school of modern art of France, buried here\"). In 1882 a grandson requested that the monument be moved to a more prominent location and the body was re-buried at the Mayor's circle in the city cemetery of Evere." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [6, 6] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!