SentenceTransformer based on sentence-transformers/all-mpnet-base-v2

This is a sentence-transformers model finetuned from sentence-transformers/all-mpnet-base-v2. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Model Details

Model Description

  • Model Type: Sentence Transformer
  • Base model: sentence-transformers/all-mpnet-base-v2
  • Maximum Sequence Length: 384 tokens
  • Output Dimensionality: 768 dimensions
  • Similarity Function: Cosine Similarity

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 384, 'do_lower_case': False}) with Transformer model: MPNetModel 
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
  (2): Normalize()
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("ashwinpatti/all-mpnet-base-v2_political_view_ft-legal-ft-v0")
# Run inference
sentences = [
    "Alabama governor signs into law two bills limiting transgender youth protections | CNN CNN values your feedback 1. How relevant is this ad to you? 2. Did you encounter any technical issues? Video player was slow to load content Video content never loaded Ad froze or did not finish loading Video content did not start after ad Audio on ad was too loud Other issues Ad never loaded Ad prevented/slowed the page from loading Content moved around while ad loaded Ad was repetitive to ads I've seen previously Other issues Cancel Submit Thank You! Your effort and contribution in providing this feedback is much appreciated. Close Ad Feedback Close icon US Crime + Justice More Crime + Justice Watch Listen Live TV Subscribe Sign in My Account Settings Newsletters Topics You Follow Sign Out Your CNN account Sign in to your CNN account Sign in My Account Settings Newsletters Topics You Follow Sign Out Your CNN account Sign in to your CNN account Live TV Listen Watch Edition US International Arabic Espa√±ol Edition US International Arabic Espa√±ol Crime + Justice Follow CNN US Crime + Justice World Africa Americas Asia Australia China Europe India Middle East United Kingdom Politics SCOTUS Congress Facts First 2024 Elections Business Tech Media Calculators Videos Markets Pre-markets After-Hours Fear & Greed Investing Markets Now Nightcap Health Life, But Better Fitness Food Sleep Mindfulness Relationships Entertainment Movies Television Celebrity Tech Innovate Foreseeable Future Mission: Ahead Work Transformed Innovative Cities Style Arts Design Fashion Architecture Luxury Beauty Video Travel Destinations Food & Drink Stay Videos Sports Pro Football College Football Basketball Baseball Soccer Olympics Hockey Science Space Life Unearthed Climate Solutions Weather Weather Video Climate Ukraine-Russia War Israel-Hamas War Watch Live TV CNN Headlines CNN Shorts Shows A-Z CNN10 CNN Max CNN TV Schedules FlashDocs Listen CNN 5 Things Chasing Life with Dr. Sanjay Gupta The Assignment with Audie Cornish One Thing Tug of War CNN Political Briefing The Axe Files All There Is with Anderson Cooper All CNN Audio podcasts CNN Underscored Electronics Fashion Beauty Health & Fitness Home Reviews Deals Gifts Travel Outdoors Pets Games CNN Crossword Jumble Crossword Photo Shuffle Sudoblock Sudoku 5 Things Quiz About CNN Subscribe Photos Investigations CNN Profiles CNN Leadership CNN Newsletters Work for CNN Ad Feedback Alabama governor signs into law two bills limiting transgender youth protections By Steve Almasy and Amanda Musa , CNN 5 minute read Updated 4:50 PM EDT, Fri April 8, 2022 Link Copied! Sen. Shay Shelnutt, seated at center, listening to debate on transgender bills in the senate chamber at the Alabama Statehouse in Montgomery, Alabama, on Thursday April 7, 2022. Mickey Welsh/USA TODAY NETWORK/Reuters CNN — Alabama‚Äôs Republican-controlled legislature passed two bills on the last day of the session targeting transgender children, including one which makes it a felony for a doctor to administer gender-affirming health care to minors. Another bill, which requires K-12 students to use bathrooms designated for their biological sex, included a last-hour amendment Thursday critics have compared to similar legislation in Florida dubbed the ‚ÄúDon‚Äôt Say Gay‚Äù law. It would ban classroom discussions about sexual orientation and gender identity in elementary schools. The state‚Äôs House of Representatives also approved SB 184, which would make it a class C felony for medical professionals to provide gender-affirming care ‚Äì such as hormone therapy, puberty blockers and gender-reassignment surgery ‚Äì to people 18 and younger. Republican Gov. Kay Ivey signed the bills into law Friday. ‚ÄúThere are very real challenges facing our young people, especially with today‚Äôs societal pressures and modern culture. I believe very strongly that if the Good Lord made you a boy, you are a boy, and if he made you a girl, you are a girl. We should especially protect our children from these radical, life-altering drugs and surgeries when they are at such a vulnerable stage in life. Instead, let us all focus on helping them to properly develop into the adults God intended them to be,‚Äù she said, according to a statement from her press office. Senate Bill 184 states medical professionals who provide gender-affirming care could face up to 10 years in prison. ‚ÄúThe decision to pursue a course of hormonal and surgical interventions to address a discordance between the individual‚Äôs sex and sense of identity should not be presented to or determined for minors who are incapable of comprehending the negative implications and life-course difficulties attending to these interventions,‚Äù the bill reads. from Gov. Ron DeSantis/Twitter Related article Book bans move to center stage in the red-state education wars The legislation would also make it a violation for public or private school officials, such as teachers, principals, nurses and counselors to encourage a minor to withhold from their parent or guardian ‚Äúthe fact that the minor‚Äôs perception of his or her gender or sex is inconsistent with the minor‚Äôs sex.‚Äù The bill, dubbed the Alabama Vulnerable Child Compassion and Protection Act, passed the Republican-controlled House following a 66-28 vote, according to the state legislature‚Äôs website. The GOP-led Senate passed the bill 24-6 in February, and it will become law 30 days after the governor‚Äôs signature. Alabama would be the latest state to enact such a measure. Last year, Republican lawmakers in Arkansas overrode a veto from their governor to put their own health care ban on the books, and Tennessee and Arizona have passed similar bans . The American Civil Liberties Union (ACLU) sued Arkansas over its ban last year, and in July, a federal judge temporarily blocked the state from enforcing the law. The ACLU, the ACLU of Alabama and other legal advocacy groups announced plans to file a legal challenge to the bill. ‚ÄúOur representatives have been hearing from medical experts, parents, transgender youth, and other advocates for the past three years in an attempt to stop this harmful bill from passing. But despite this strong opposition, the Legislature seems determined to move ahead with this shameful effort to prevent parents and kids from deciding the best course of treatment for themselves,‚Äù said Kaitlin Welborn, staff attorney for the ACLU of Alabama. ‚ÄúIf the state moves forward in passing this unconstitutional bill, we‚Äôll see them in court.‚Äù Transgender students bathroom bill passed Later, the legislature passed a bill requiring K-12 students to use bathrooms designated for their biological sex. House Bill 322 also includes a late amendment banning classroom discussions or instruction about sexual orientation and gender identity in elementary schools. LOUISVILLE, KY - APRIL 09: Kentucky Gov. Andy Beshear speaks at the Center for African American Heritage during a bill signing event on April 9, 2021 in Louisville, Kentucky. One of the bills signed into effect was SB4, which places more restrictions on no-knock raids and limits police departments power to use them. This bill comes as a response to the killing of Breonna Taylor during the execution of a no-knock warrant on March 13, 2020. (Photo by Jon Cherry/Getty Images) Jon Cherry/Getty Images Related article Kentucky's Democratic governor vetoes anti-trans sports ban An original version of the bill sought ‚Äúto require public K-12 schools to designate the use of rooms where students may be in various stages of undress upon the basis of biological sex.‚Äù Just before the final vote Thursday afternoon, Republican state Sen. Shay Shelnutt introduced an amendment to ‚Äúprohibit classroom instruction or discussion on sexual orientation or gender identity for students in kindergarten through the fifth grade.‚Äù Shelnutt‚Äôs amendment also declares schools should not ‚Äúengage in classroom discussion or provide classroom instruction regarding sexual orientation or gender identity in a manner that is not age-appropriate or developmentally appropriate for students in accordance with state standards.‚Äù The bill, including Shelnutt‚Äôs amendment, passed the state Senate in a 26-5 vote. After the bill was sent back to the House for a concurrence vote, the amendment was adopted Thursday night following a 70-26 vote. The bill now heads to Ivey for final approval, according to Julie Saint, supervisor for enrolling and engrossing for the Alabama House of Representatives. Opponents of the measure condemned its passage, with the ACLU of Alabama saying, ‚ÄúIt also invokes legislation similar to Florida‚Äôs controversial ‚ÄòDon‚Äôt Say Gay‚Äô bill by banning classroom instruction or discussion of gender identity in public elementary schools.‚Äù The legislation violates the US Constitution and Title IX of the Civil Rights Act, the ACLU said. The Human Rights Campaign issued a statement Thursday night, ‚Äútransgender students will bear the cost of the discrimination ‚Äì discrimination which already causes transgender youth to feel unsafe in school, suffer academically, and have a higher likelihood of dropping out of school.‚Äù The governor said signing the bill was a ‚Äúno-brainer.‚Äù ‚ÄúLet me be clear to the media and opponents who like to incorrectly dub this the ‚ÄúDon‚Äôt Say Gay‚Äù amendment: That is misleading, false and just plain wrong,‚Äù Ivery said. ‚ÄúWe don‚Äôt need to be teaching young children about sex. We are talking about five-year-olds for crying out loud. We need to focus on what matters: core instruction like reading and math.‚Äù Ad Feedback Ad Feedback Ad Feedback Ad Feedback Ad Feedback Subscribe Sign in My Account Settings Newsletters Topics You Follow Sign Out Your CNN account Sign in to your CNN account Live TV Listen Watch US Crime + Justice World Africa Americas Asia Australia China Europe India Middle East United Kingdom Politics SCOTUS Congress Facts First 2024 Elections Business Tech Media Calculators Videos Markets Pre-markets After-Hours Fear & Greed Investing Markets Now Nightcap Health Life, But Better Fitness Food Sleep Mindfulness Relationships Entertainment Movies Television Celebrity Tech Innovate Foreseeable Future Mission: Ahead Work Transformed Innovative Cities Style Arts Design Fashion Architecture Luxury Beauty Video Travel Destinations Food & Drink Stay News Videos Sports Pro Football College Football Basketball Baseball Soccer Olympics Hockey Science Space Life Unearthed Climate Solutions Weather Weather Video Climate Ukraine-Russia War Israel-Hamas War Watch Live TV CNN Headlines CNN Shorts Shows A-Z CNN10 CNN Max CNN TV Schedules FlashDocs Listen CNN 5 Things Chasing Life with Dr. Sanjay Gupta The Assignment with Audie Cornish One Thing Tug of War CNN Political Briefing The Axe Files All There Is with Anderson Cooper All CNN Audio podcasts CNN Underscored Electronics Fashion Beauty Health & Fitness Home Reviews Deals Gifts Travel Outdoors Pets Games CNN Crossword Jumble Crossword Photo Shuffle Sudoblock Sudoku 5 Things Quiz About CNN Subscribe Photos Investigations CNN Profiles CNN Leadership CNN Newsletters Work for CNN US Watch Listen Live TV Follow CNN Subscribe Sign in My Account Settings Newsletters Topics You Follow Sign Out Your CNN account Sign in to your CNN account Terms of Use Privacy Policy Ad Choices Accessibility & CC About Subscribe Newsletters Transcripts Help Center © 2025 Cable News Network. A Warner Bros. Discovery Company. All Rights Reserved. CNN Sans ‚Ñ¢ & ¬© 2016 Cable News Network.",
    'With Twitter Deal Clock Ticking, Elon Musk\'s Outreach To Kanye West After Anti-Semitic Tweets Offers New Sign Of Social Media Climate Change Live × Close Player Skip to main content Open Mega Menu Got A Tip? deadline-logo-svg Deadline Follow Us: site categories TV Film Awards Awards Hub Digital Issues Box Office Biz International Politics Theater Reviews Obits Video Events Contenders Film: Nominees Film: Documentary Film: International Film: Los Angeles Film: London Television: The Nominees Television: Doc + Unscripted Television Sound & Screen Film Television Other For The Love Of Docs Visual Effects + Screen Festivals North America Sundance Toronto Telluride SXSW Tribeca Europe Cannes Zurich Venice Berlin/EFM Middle East Red Sea Asia Tokyo Insider News Alerts Menu deadline-logo-svg Deadline Read Next: Longtime Washington Post Columnist Ruth Marcus Resigns, Says CEO Killed Her Piece Critical Of Owner Jeff Bezos Got A Tip? Tip Us Home Business Acquisitions With Twitter Deal Clock Ticking, Elon Musk’s Outreach To Kanye West After Antisemitic Tweets Offers New Sign Of Social Media Climate Change By Dade Hayes , Jill Goldsmith October 11, 2022 10:08am 12 Comments Services to share this page. Share on Facebook Post Share to Flipboard Email Show more sharing options Share on LinkedIn Pin it Submit to Reddit Post to Tumblr Share on WhatsApp Print This Page Getty Elon Musk , who is poised to take control of Twitter , has raised a new round of questions about how the climate of social media could change with his revelation that he reached out to Kanye West after the rapper’s anti-Semitic tweets. “Talked to ye today & expressed my concerns about his recent tweet, which I think he took to heart,” Musk wrote in a tweet Monday night. The Tesla founder, who is negotiating final details of his $44 billion purchase of Twitter, has already sent loud signals about his concerns about how speech is controlled on the platform. It is widely expected that former President Donald Trump and others who have been banned by the social media platform will be welcomed back. The West affair takes Musk’s position to a different level, given the backlash against West in recent days. Related Stories News Elon Musk Says X Is Under "Massive" Cyberattack As Platform Suffers Multiple Outages News Korea\'s Barunson E&A Partners With Indonesia\'s Miles Films On \'What\'s With Love\' Reboot \'Rangga & Cinta\' Potential changes in Twitter’s moderation policies were front and center after Musk clinched a deal to buy the platform in April. But he walked away in July, Twitter sued and attention was then riveted by the legal drama, including a whistleblower, as the two sides sparred over texts, Slack messages and general discovery. Musk, who was staring down a deposition and possibly facing tough odds in a trial set for Oct. 17, renewed his $44 billion offer last week pending financing. A Delaware Chancery Court Judge stayed the trial and gave him until Oct. 28 to close the deal, refocusing attention on the real life impact of a Musk-owned Twitter just as the West controversy emerged. Twitter locked the rapper’s account for a violation of the social media platform’s policies after he tweeted Saturday that he was going “death con 3 on JEWISH PEOPLE.” “I’m a bit sleepy tonight but when I wake up I’m going death con 3 On JEWISH PEOPLE,” said West, also known as Ye. “The funny thing is I actually can’t be Anti Semitic because black people are actually Jew also You guys have toyed with me and tried to black ball anyone whoever opposes your agenda.” The Twitter ban followed restrictions on West’s Instagram account by Mark Zuckerberg owned-Meta after West shared a screenshot of a text exchange with Sean “Diddy” Combs. He accused Combs of being controlled by Jewish people, saying he would use Combs as an “example to show the Jewish people that told you to call me that no one can threaten or influence me.” West, who hadn’t used Twitter for years, turned to the platform to complain. Musk responded, tweeting, “Welcome back to Twitter, my friend!” Yesterday, he followed up with the tweet saying that he’d expressed concerns to West. Talked to ye today & expressed my concerns about his recent tweet, which I think he took to heart — Elon Musk (@elonmusk) October 11, 2022 In a statement last week as the Musk-Twitter merger came back into focus, women’s group UltraViolet warned: “Get ready. Elon Musk is about to rip open Pandora’s box and flood the internet once again with hate, misogyny, racism and conspiracy theories.” “If this deal goes through, Twitter will become an even more dangerous place for women, threats of violence online against Black women and women of color will skyrocket, and anti-trans content will take hold of user feeds. Donald Trump will be replatformed and he will use his account to spread conspiracy theories and promote political violence,” it said. Nonprofit Media Matters called Twitter’s sale to Musk “the end of the company as we know it, and the beginning of a more toxic platform with incredible potential for real-world harm.” The debate over speech on social media has been raging for years with tech company heads called to Capitol Hill numerous times for a grilling. Federal law, specifically Section 230 of the Communications Decency Act, protects platforms from legal liability for much of what appears on their sites, and gives them wide leeway in policing the content. Both sides of the aisle have called for reform of Section 230, often (but not always) for different reasons, with the right decrying censorship and the left looking for tighter controls on content. Must Read Stories Hide Articles Disney Wins ‘Moana’ Copyright Trial, But $10B Sequel Suit Still Alive Woody Harrelson & Kerry Condon Lead ‘Corazón de León’ Reimagining ‘Giant’ Margot Robbie & Colin Farrell’s ‘Big Bold Beautiful Journey’ Date Pushed Paul Feig; Michelle Obama Podcast; Photos, Reviews, News & Studio Read More About: Breaking News Controversial Digital Elon Musk Kanye West social media Twitter 12 Comments Subscribe to Deadline Get our Breaking News Alerts and Keep your inbox happy. Sign Up 12 Comments JavaScript is required to load the comments. Loading comments... Sidebar Trending on Deadline 1 Watch As Tornado Hits Florida TV Station & Meteorologist Covers It Live On Air 2 Skydance Cites "Overwhelming Evidence" Of Fraud By Late-Arriving Paramount Bidder, Accuses It Of "Hijacking" Merger Review Process 3 Disney Wins \'Moana\' Copyright Trial, But $10B Sequel Suit Still Riding The Legal Waves, For Now 4 John Mulaney Reveals First Guests For Netflix’s ‘Everybody’s Live’ Talk Show 5 \'The Righteous Gemstones\': How Bradley Cooper Got To Star In Season 4 Premiere, Where Was The Cast & When Will They Return 6 Margot Robbie & Colin Farrell Romance Drama \'A Big Bold Beautiful Journey\' Travels To Fall 7 Kennedy Center Confirms More Than 20 Show Cancellations Or Postponements Since Donald Trump\'s Takeover 8 Bill Maher Says \'Anora\' Won Over \'Emilia Pérez\' At The Oscars Because "Cancel Culture Is Still With Us" 9 \'The Traitors\' Winner Gabby Windey Signs With UTA 10 \'Harry Potter\': Janet McTeer In Negotiations To Play McGonagall; Paapa Essiedu Near Deal To Play Snape In HBO Series deadline-logo-svg Deadline Signup for Breaking News Alerts & Newsletters Your Email Sign Up By providing your information, you agree to our Terms of Use and our Privacy Policy . We use vendors that may also process your information to help provide our services. This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply. Latest Business News Disney Wins \'Moana\' Copyright Trial, But $10B Sequel Suit Still Riding The Legal Waves, For Now Bungled Attempt To Make Backyard S\'mores Likely Caused Wildfires On Long Island, NY Officials Say; Blazes Near The Hamptons Fully Contained Skydance Cites "Overwhelming Evidence" Of Fraud By Late-Arriving Paramount Bidder, Accuses It Of "Hijacking" Merger Review Process Anne Rice Estate & Dinner Partners Sign With InkWell Management & Literate Marketplace Newswire Deadline About Us Advertise Legal Terms of Use Privacy Policy Accessibility AdChoices California Privacy Rights Your Privacy Choices EU Privacy Preferences Sitemap TV Film Awards Box Office Business International Connect with Us Get our latest storiesin the feed of your favorite networks Have a Tip? We want to hear from you! Send us a tip using our annonymous form. Send Us a Tip Stay in the Know Sign up for our breaking news alerts Your Email Sign Up By providing your information, you agree to our Terms of Use and our Privacy Policy . We use vendors that may also process your information to help provide our services. This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply. PMC Deadline is a part of Penske Media Corporation. © 2025 Deadline Hollywood, LLC. All Rights Reserved. Powered by WordPress.com VIP Our Sites Art in America Artforum Artnews ATX TV ATX TV Festival BGR Billboard BlogHer Deadline Flow Space Footwear News Gold Derby IndieWire LA3C Life is Beautiful Robb Report Rolling Stone SheKnows Soaps Sourcing Journal Sportico Spy StyleCaster The Hollywood Reporter TVLine Variety Vibe WWD Our Sites Art in America Artforum Artnews ATX TV ATX TV Festival BGR Billboard BlogHer Deadline Flow Space Footwear News Gold Derby IndieWire LA3C Life is Beautiful Robb Report Rolling Stone SheKnows Soaps Sourcing Journal Sportico Spy StyleCaster The Hollywood Reporter TVLine Variety Vibe WWD Site Close the menu deadline-logo-svg TV Expand the sub-menu Castings Ratings Primetime Pilot Panic Late-Night Film Expand the sub-menu Festivals Reviews Castings Acquisitions Documentary Executives Awards Expand the sub-menu Emmys Oscars Tonys Box Office Expand the sub-menu International B.O. Specialty B.O. Broadway B.O. Business Expand the sub-menu ElectionLine Legal Agencies Executives International Expand the sub-menu Festivals Film TV International Insider Video Expand the sub-menu The Film That Lit My Fuse Trailers The Actor\'s Side Behind The Lens Production Value More Expand the sub-menu Obituaries Podcasts Insider Books Sports Commentary Follow Us Alerts & Newsletters Sign Up By providing your information, you agree to our Terms of Use and our Privacy Policy . We use vendors that may also process your information to help provide our services. This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply. Advertise About Us Give us feedback Leave us a tip Deadline is a part of Penske Media Corporation. © 2025 Deadline Hollywood, LLC. All Rights Reserved. ad',
    'Major Mainstream Outlet Abruptly Quits \'Toxic\' X/Twitter Home Politics Entertainment Download Our News App Shop Here Connect with us Trending Politics Conservative Breaking News and Commentary Major Mainstream Outlet Abruptly Quits ‘Toxic’ X/Twitter Home Politics Entertainment Download Our News App Shop Here Politics Major Mainstream Outlet Abruptly Quits \'Toxic\' X/Twitter Politics Royal Prince Passes Away At Just 22 Politics NEW: Pope Francis Gets Encouraging Medical Update Politics LeBron James Gets In Reporter\'s Face In Heated Blow-Up Politics JUST IN: Zelenskyy Folds, Apologizes To Trump For Oval Office Incident Politics Former Iraqi Refugee Pleads Guilty To Providing Material Support For ISIS Politics JUST IN: JFK\'s Chilling Memo To CIA Days Before His Death Is Revealed, Raises Questions Politics NEW: DOGE Announces Its Next Target Politics WATCH: DC\'s \'Black Lives Matter Plaza\' Is Dismantled Politics JUST IN: Watchdog Claims Biden Team Used \'Autopen\' To Sign Executive Orders Politics Major Mainstream Outlet Abruptly Quits ‘Toxic’ X/Twitter Published 4 months ago on November 13, 2024 By Mark Steffen It’s not only angry liberals who are rage-quitting X following President-elect Donald Trump’s dominant victory. On Wednesday one of the largest outlets in the world abruptly stopped posting, writing that the “toxic” platform necessitated its exit. The BBC reported that the Guardian, the U.K. paper of record, announced it would no longer participate in a “toxic media platform” owned by Elon Musk, a Trump supporter who on Tuesday was tapped to co-lead a new U.S. Department of Government Efficiency. In a statement, the mainstream news outlet said Trump’s win “underlined” its concern that Musk unfairly used X to “shape political discourse.” (VOTE: Should ’60 Minutes’ Be Investigated For Deceptively Editing Kamala Interview?) “We think that the benefits of being on X are now outweighed by the negatives and that resources could be better used promoting our journalism elsewhere,” the paper wrote in a message to readers on Wednesday. “This is something we have been considering for a while given the often disturbing content promoted or found on the platform, including far-right conspiracy theories and racism. The US presidential election campaign served only to underline what we have considered for a long time: that X is a toxic media platform and that its owner, Elon Musk, has been able to use its influence to shape political discourse.” The navel-gazing editorial team took a final shot at Musk and the prominent social media platform before making a plea for donations. “Social media can be an important tool for news organisations and help us to reach new audiences but, at this point, X now plays a diminished role in promoting our work. Our journalism is available and open to all on our website and we would prefer people to come to theguardian.com and support our work there.” “Thankfully, we can do this because our business model does not rely on viral content tailored to the whims of the social media giants’ algorithms – instead we’re funded directly by our readers. You can support the Guardian today from just £1/$1.” News of the Guardian’s exit should come as no surprise given the animosity between Musk and mainstream media outlets in recent years. In 2023 he slapped NPR and the BBC with “state-sponsored media” disclaimers typically reserved for outlets controlled by authoritarian regimes in places like Russia or North Korea. In response, NPR rage-quit X. Allegations of conservative biases on X come after conservatives have long complained of liberal coverage by outlets like NPR. During the onset of Covid-19 in April 2020, NPR ran back-to-back pieces dismissing the theory that the virus escaped a Wuhan epidemiology lab as being on “thin ice” with “virtually no chance” such a scenario could occur. No correction was attached to either story since earlier this year when U.S. officials designated a lab leak as the most likely culprit. “Seems accurate,” Musk wrote at the time and included a definition of state-sponsored media which he said applies to NPR. This time around, he may be too busy to clap back at the Guardian; his heavy investment in President-elect Trump paid off, and Musk will be at the forefront of the administration’s effort to fundamentally scale back the size of the federal government. (FREE REPORT: Take Advantage Of Trump’s New “IRS Loophole” ASAP) Related Topics: Elon Musk featured the guardian Twitter X "Download our shopping app and use promo code ILMF for 40% off your first purchase" (mobile users only) About Advertise Sitemap Affiliate Disclosure Partners Terms of Service Privacy Policy Copyright © 2024 Trending Politics',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]

Evaluation

Metrics

Semantic Similarity

Metric Value
pearson_cosine 0.98
spearman_cosine 0.8249

Training Details

Training Dataset

Unnamed Dataset

  • Size: 4,278 training samples
  • Columns: sentence_0, sentence_1, and label
  • Approximate statistics based on the first 1000 samples:
    sentence_0 sentence_1 label
    type string string float
    details
    • min: 64 tokens
    • mean: 383.36 tokens
    • max: 384 tokens
    • min: 64 tokens
    • mean: 378.24 tokens
    • max: 384 tokens
    • min: 0.0
    • mean: 0.36
    • max: 1.0
  • Samples:
    sentence_0 sentence_1 label
    Which states could have abortion on the ballot in 2024? Open in Our App Get the best experience and stay connected to your community with our Spectrum News app. Learn More Open in Spectrum News App Continue in Browser Toggle navigation All Boroughs EDIT Watch Live Recent Activity Log Out Recent Activity Log In Latest News Headlines Congestion Pricing Public Safety Education Health In The Papers Mornings On 1 News All Day The Rush Hour NY1 Live at Ten Weekends On NY1 In Focus with Cheryl Wills Exploring Your Health Your Mental Health Extra Shot Pursuit Unlimited In The Dark: New York's Child Welfare Deaths Weather NYC Weather 7 Day Forecast Interactive Radar Watches and Warnings Weather Blog Transit Transit News Interactive Traffic Map Politics New York Politics The Big Deal with Errol Louis Inside City Hall NY1 Political Buzz Washington DC Bureau NY State of Politics Blog New York State Government Crisis and Accomplishment: The Rise and Fall of John Lindsay Arts+Culture Arts Style On... Democrats bet on abortion rights to fire up voters Accessibility help Skip to navigation Skip to content Skip to footer Sign In Subscribe Open side navigation menu Open search bar Financial Times Subscribe Sign In Search the FT Search Close search bar Close Home World Sections World Home Middle East war Global Economy UK US China Africa Asia Pacific Emerging Markets Europe War in Ukraine Americas Middle East & North Africa Most Read Wall Street stocks tumble as investors fret over US economic slowdown Trump is making Europe great again Tanker carrying jet fuel for US Navy struck by container ship in North Sea Mark Carney to replace Trudeau as Canada’s prime minister Ontario hits power exports to US with 25% surcharge as trade war escalates US Sections US Home US Economy Investing in America US Companies US Politics & Policy US Presidential Election 2024 Most Read Wall Street stocks tumble as investors fret over US economic slowdown Trump is making Europe great again Ontario hits power ...
    More than 200 medical professionals from nearly every Southern state express strong opposition to bills trying to restrict transgender kids from getting gender reassignment treatments CNN CNN values your feedback 1. How relevant is this ad to you? 2. Did you encounter any technical issues? Video player was slow to load content Video content never loaded Ad froze or did not finish loading Video content did not start after ad Audio on ad was too loud Other issues Ad never loaded Ad prevented/slowed the page from loading Content moved around while ad loaded Ad was repetitive to ads I've seen previously Other issues Cancel Submit Thank You! Your effort and contribution in providing this feedback is much appreciated. Close Ad Feedback Close icon Health Life, But Better Fitness Food Sleep Mindfulness Relationships More Life, But Better Fitness Food Sleep Mindfulness Relationships Watch Listen Live TV Subscribe Sign in My Account Settings Newsletters Topics You Follow Sign Out Your CNN acco... Abortion clinics are overrun with out-of-state patients Click here for important updates to our privacy policy. Watch Party Newsletter Avoid inflammation 🥣 Is Pilates for you? 'Ambient gaslighting' U.S. Politics Sports Entertainment Life Money Travel Opinion Crossword ONLY AT USA TODAY: Newsletters For Subscribers From the Archives Crossword eNewspaper Magazines Investigations Podcasts Video Humankind Just Curious Best-selling Booklist Legals OUR PORTFOLIO: 10Best USAT Wine Club Shopping Blueprint Southern Kitchen Home Internet HEALTH AND WELLNESS Abortion Add Topic People are flocking out-of-state for abortion care. Clinics are fighting to keep up. Alyssa Goldberg USA TODAY Hear this story On an early morning Zoom call, Michele Landeau is working from her home in St. Louis, Missouri. But most mornings, she drives across the state border to Granite City, Illinois. Landeau is the Chief Operating Officer at Hope Clinic , an abortion clinic that has tripled their intake of out-of-state pa...
    A congressional bill failed due to Musk’s misinformation Open in Our App Get the best experience and stay connected to your community with our Spectrum News app. Learn More Open in Spectrum News App Continue in Browser Toggle navigation The Bronx EDIT Watch Live Log Out Log In Latest News Headlines Congestion Pricing Public Safety Education Health In The Papers Mornings On 1 News All Day The Rush Hour NY1 Live at Ten Weekends On NY1 In Focus with Cheryl Wills Exploring Your Health Your Mental Health Extra Shot Pursuit Unlimited In The Dark: New York's Child Welfare Deaths Weather NYC Weather 7 Day Forecast Interactive Radar Watches and Warnings Weather Blog Transit Transit News Interactive Traffic Map Politics New York Politics The Big Deal with Errol Louis Inside City Hall NY1 Political Buzz Washington DC Bureau NY State of Politics Blog New York State Government Crisis and Accomplishment: The Rise and Fall of John Lindsay Arts+Culture Arts Style On Stage Mornings On 1 Authors Week ... Biden Backs Changing Filibuster To Codify Abortion Rights Live × Close Player Skip to main content Open Mega Menu Got A Tip? deadline-logo-svg Deadline Follow Us: site categories TV Film Awards Awards Hub Digital Issues Box Office Biz International Politics Theater Reviews Obits Video Events Contenders Film: Nominees Film: Documentary Film: International Film: Los Angeles Film: London Television: The Nominees Television: Doc + Unscripted Television Sound & Screen Film Television Other For The Love Of Docs Visual Effects + Screen Festivals North America Sundance Toronto Telluride SXSW Tribeca Europe Cannes Zurich Venice Berlin/EFM Middle East Red Sea Asia Tokyo Insider News Alerts Menu deadline-logo-svg Deadline Read Next: L.A. District Attorney Asks Court To Withdraw Motion To Resentence Menendez Brothers Got A Tip? Tip Us Home Business News Joe Biden Says He Would Support Changing Filibuster Rules To Codify Abortion Rights By Ted Johnson Ted Johnson Political Editor @tedstew More Stor...
  • Loss: ContrastiveLoss with these parameters:
    {
        "distance_metric": "SiameseDistanceMetric.COSINE_DISTANCE",
        "margin": 0.5,
        "size_average": true
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • eval_strategy: steps
  • per_device_train_batch_size: 16
  • per_device_eval_batch_size: 16
  • num_train_epochs: 5
  • multi_dataset_batch_sampler: round_robin

All Hyperparameters

Click to expand
  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: steps
  • prediction_loss_only: True
  • per_device_train_batch_size: 16
  • per_device_eval_batch_size: 16
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 1
  • eval_accumulation_steps: None
  • torch_empty_cache_steps: None
  • learning_rate: 5e-05
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1
  • num_train_epochs: 5
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.0
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • save_safetensors: True
  • save_on_each_node: False
  • save_only_model: False
  • restore_callback_states_from_checkpoint: False
  • no_cuda: False
  • use_cpu: False
  • use_mps_device: False
  • seed: 42
  • data_seed: None
  • jit_mode_eval: False
  • use_ipex: False
  • bf16: False
  • fp16: False
  • fp16_opt_level: O1
  • half_precision_backend: auto
  • bf16_full_eval: False
  • fp16_full_eval: False
  • tf32: None
  • local_rank: 0
  • ddp_backend: None
  • tpu_num_cores: None
  • tpu_metrics_debug: False
  • debug: []
  • dataloader_drop_last: False
  • dataloader_num_workers: 0
  • dataloader_prefetch_factor: None
  • past_index: -1
  • disable_tqdm: False
  • remove_unused_columns: True
  • label_names: None
  • load_best_model_at_end: False
  • ignore_data_skip: False
  • fsdp: []
  • fsdp_min_num_params: 0
  • fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • fsdp_transformer_layer_cls_to_wrap: None
  • accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
  • deepspeed: None
  • label_smoothing_factor: 0.0
  • optim: adamw_torch
  • optim_args: None
  • adafactor: False
  • group_by_length: False
  • length_column_name: length
  • ddp_find_unused_parameters: None
  • ddp_bucket_cap_mb: None
  • ddp_broadcast_buffers: False
  • dataloader_pin_memory: True
  • dataloader_persistent_workers: False
  • skip_memory_metrics: True
  • use_legacy_prediction_loop: False
  • push_to_hub: False
  • resume_from_checkpoint: None
  • hub_model_id: None
  • hub_strategy: every_save
  • hub_private_repo: None
  • hub_always_push: False
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_inputs_for_metrics: False
  • include_for_metrics: []
  • eval_do_concat_batches: True
  • fp16_backend: auto
  • push_to_hub_model_id: None
  • push_to_hub_organization: None
  • mp_parameters:
  • auto_find_batch_size: False
  • full_determinism: False
  • torchdynamo: None
  • ray_scope: last
  • ddp_timeout: 1800
  • torch_compile: False
  • torch_compile_backend: None
  • torch_compile_mode: None
  • dispatch_batches: None
  • split_batches: None
  • include_tokens_per_second: False
  • include_num_input_tokens_seen: False
  • neftune_noise_alpha: None
  • optim_target_modules: None
  • batch_eval_metrics: False
  • eval_on_start: False
  • use_liger_kernel: False
  • eval_use_gather_object: False
  • average_tokens_across_devices: False
  • prompts: None
  • batch_sampler: batch_sampler
  • multi_dataset_batch_sampler: round_robin

Training Logs

Epoch Step Training Loss spearman_cosine
0.1866 50 - 0.2289
0.3731 100 - 0.6570
0.5597 150 - 0.8249
0.7463 200 - 0.8249
0.9328 250 - 0.8249
1.0 268 - 0.8249
1.1194 300 - 0.8249
1.3060 350 - 0.8249
1.4925 400 - 0.8249
1.6791 450 - 0.8249
1.8657 500 0.0056 0.8249
2.0 536 - 0.8249
2.0522 550 - 0.8246
2.2388 600 - 0.8249
2.4254 650 - 0.8249
2.6119 700 - 0.8249
2.7985 750 - 0.8249
2.9851 800 - 0.8249
3.0 804 - 0.8249
3.1716 850 - 0.8249
3.3582 900 - 0.8249
3.5448 950 - 0.8249
3.7313 1000 0.0 0.8249
3.9179 1050 - 0.8249
4.0 1072 - 0.8249
4.1045 1100 - 0.8249
4.2910 1150 - 0.8249
4.4776 1200 - 0.8249
4.6642 1250 - 0.8249
4.8507 1300 - 0.8249
5.0 1340 - 0.8249

Framework Versions

  • Python: 3.11.11
  • Sentence Transformers: 3.4.1
  • Transformers: 4.48.3
  • PyTorch: 2.5.1+cu124
  • Accelerate: 1.3.0
  • Datasets: 2.14.5
  • Tokenizers: 0.21.0

Citation

BibTeX

Sentence Transformers

@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}

ContrastiveLoss

@inproceedings{hadsell2006dimensionality,
    author={Hadsell, R. and Chopra, S. and LeCun, Y.},
    booktitle={2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'06)},
    title={Dimensionality Reduction by Learning an Invariant Mapping},
    year={2006},
    volume={2},
    number={},
    pages={1735-1742},
    doi={10.1109/CVPR.2006.100}
}
Downloads last month
6
Safetensors
Model size
109M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ashwinpatti/all-mpnet-base-v2_political_view_ft-legal-ft-v0

Finetuned
(278)
this model

Evaluation results