Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

bwang0911
/
reasoning-bert-ccnews

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:44978
loss:ReasoningGuidedRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use bwang0911/reasoning-bert-ccnews with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use bwang0911/reasoning-bert-ccnews with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("bwang0911/reasoning-bert-ccnews")
    
    sentences = [
        "Severe weather rips through Alabama university, takes aim at Southeast",
        "The second text provides a detailed elaboration of the first text. It expands on the initial statement about severe weather in Alabama, providing specific details about the damage at Jacksonville State University, the impact on the surrounding areas, and the broader effects of the storm.",
        "The labor movement has been living in the shadow of a national assault on public-sector collective bargaining for a while now. We’ve talked a lot about Harris v. Quinn, how labor dodged a bullet with that case, and dodged another with the death of Scalia before the Friedrichs case could be decided. But Janus v. American Federation of State, County, and Municipal Employees, Council 31 is likely to be the case labor has been dreading, and we break it down for you today with Andy Stettner of the Century Foundation.\nWe also look at Uber’s failures in London and neoliberalism’s failures in France, a union drive at the Los Angeles Times and a labor solidarity mission to Puerto Rico post-hurricanes. For Argh, we consider forced labor “rehab” facilities, and how moving left is the solution to the rise of the populist right.\nIf you think our work is worth supporting as we soldier on through Trumplandia, please consider becoming a sustaining member of Belabored or donating or subscribing to Dissent. Help keep us going for the next 136 episodes!",
        "Severe weather that spawned at least one tornado slammed Alabama’s Jacksonville State University on Monday night and took aim at the rest of the southeast.\nAlabama state troopers said the damage in Jacksonville, Ala. left the city looking like a “war zone.” Strong winds downed trees and damaged buildings as the National Weather Service confirmed a “damaging and possibly large tornado near Jacksonville and Calhoun counties and was moving east.\nJacksonville State University Athletic Director Greg Seitz wrote in a tweet that there was significant damage to campus, including to the newly renovated Pete Mathews Coliseum.\n\"I can confirm we have major roof damage at Pete Mathews Coliseum, but The Pete is not completely destroyed,\" Seitz said in a tweet.\nTuscaloosa County Sheriff’s Office Lt. Andy Norris said in a tweet that troopers called Jacksonville a “war zone.” He said the arena’s roof “took major damage.”\nPhotos seen on social media showed the extent of the damage Jacksonville took.\nAlabama Gov. Kay Ivey confirmed in a statement late Monday there was “significant damage” throughout the state, according to WBRC-TV.\nCities in northern Alabama reported power outages and the NWS in Huntsville reported at least three tornadoes in the area.\nThe severe weather moved into Georgia late Monday night.\nFlights at Hartsfield Airport in Atlanta were not officially grounded as the damaging winds moved into the area. However, the airport warned on Twitter that delays were likely.\nMeanwhile, more than 150 people reportedly took cover into a historic cave in Cave Springs, Ga.\nThe storms knocked out power to at least 15,000 homes and businesses in Alabama. Georgia Power was rpeorting more than 26,000 of their customers were without power, according to Cobb County News.\nThe Associated Press contributed to this report."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
reasoning-bert-ccnews
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
bwang0911's picture
bwang0911
Add new SentenceTransformer model
390a981 verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    56.5 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    618 Bytes
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    210 Bytes
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    1.41 kB
    Add new SentenceTransformer model about 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model about 1 year ago