--- base_model: sentence-transformers/all-mpnet-base-v2 library_name: setfit metrics: - accuracy pipeline_tag: text-classification tags: - setfit - sentence-transformers - text-classification - generated_from_setfit_trainer widget: - text: 'I have alcoholism, drug abouse and suicide all over my family as far back as three generations. After seeing several friend in college (class of ''76, U of Arkansas, Go Hogs!) get blind drunk and raped at frat parties, I decided I could live without it. And I have -- even through five years active duty in the army. I cook with wine and my husband likes a daily beer in the summer. I haven''t missed a thing, I''m height-weight proportionate and probably a few pesos richer for not having squandered money on booze. I live outside the US and I''ve seen dozens of women battered beyond recognition by drunk husbands, children neglected by their parents almost to a point of starvation, and families ruptured and ruined by alcohol. It ain''t worth it. ' - text: 'The War Between the Catholic Cardinals Two essays make plain the different views often obscured by careful political maneuvering within the church. The death of the pope emeritus, Benedict XVI, was succeeded by a small literary outpouring, a rush of publications that were interpreted as salvos in the Catholic Church’s civil war. The list includes a memoir by Benedict’s longtime secretary that mentioned the former pontiff’s disappointment at his successor’s restriction of the Latin Mass, a posthumous essay collection by Benedict himself that’s being mined for controversial quotes, and an Associated Press interview with Pope Francis that made news for its call to decriminalize homosexuality around the world. Two essays make plain the different views often obscured by careful political maneuvering within the church. ' - text: '"As one of the 100,000 or so Catholics in this country who attend the old Mass each week, I will always be grateful to him for allowing for its widespread celebration despite the promulgation of a new, vernacular liturgy."This really says it all. "Soren Kierkegaard?"? Really? Mr. Walther may be the editor of "The Lamp," but his lamp sheds no light on Ratzinger or the fundamental evils of the continuous and painfully slow downward spiral that has been the trajectory of the papacy and the Roman Catholic Church for a very long time.Vatican II opened up a great hope. Ratzinger and his followers saw in it only a threat to the cult of secrecy, both of the sacraments, and the sins. They have done much to unravel the all of the inherent good of Vatican II -- which actually made Catholicism interesting and meaningful to youths at a time of great cynicism in the world. Walther and his 100,000 should form their own 4th century Catholic schism, "despite the promulgation of a new, vernacular liturgy," and leave what''s left of the Catholic church alone to re-build. ' - text: 'Benedict, the reluctant popeThe former Cardinal Ratzinger had never wanted to be pope, planning at age 78 to spend his final years writing in the “peace and quiet” of his native Bavaria.Instead, he was forced to follow the footsteps of the beloved St. John Paul II and run the church through the fallout of the clerical sex abuse scandal Being elected pope, he once said, felt like a “guillotine” had come down on him. Nevertheless, he set about the job with a single-minded vision to rekindle the faith in a world that, he frequently lamented, seemed to think it could do without God.“In vast areas of the world today, there is a strange forgetfulness of God,” he told one million young people gathered on a vast field for his first foreign trip as pope, to World Youth Day in Cologne, Germany, in 2005. “It seems as if everything would be just the same even without him.”With some decisive, .. he tried to remind Europe of its Christian heritage. And he set the Catholic Church on a conservative, tradition-minded path that often alienated progressives. He relaxed the restrictions on celebrating the old Latin Mass. It was a path that in many ways was reversed by his successor, Francis, whose mercy-over-morals priorities alienated the traditionalists Benedict’s style couldn’t have been more different from that of Francis. No globe-trotting media darling or populist, Benedict was a teacher, theologian and academic to the core: quiet and pensive with a fierce mind. El Pais Dec ' - text: 'Willy Stone Wouldn''t it be a pity if all ancient art could only be seen in the location where it was made? ' inference: true model-index: - name: SetFit with sentence-transformers/all-mpnet-base-v2 results: - task: type: text-classification name: Text Classification dataset: name: Unknown type: unknown split: test metrics: - type: accuracy value: 1.0 name: Accuracy --- # SetFit with sentence-transformers/all-mpnet-base-v2 This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) as the Sentence Transformer embedding model. A [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance is used for classification. The model has been trained using an efficient few-shot learning technique that involves: 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning. 2. Training a classification head with features from the fine-tuned Sentence Transformer. ## Model Details ### Model Description - **Model Type:** SetFit - **Sentence Transformer body:** [sentence-transformers/all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance - **Maximum Sequence Length:** 384 tokens - **Number of Classes:** 2 classes ### Model Sources - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit) - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055) - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit) ### Model Labels | Label | Examples | |:------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | yes |