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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Chandar
/
sv-subject-based-bert-base-uncased

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

Instructions to use Chandar/sv-subject-based-bert-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Chandar/sv-subject-based-bert-base-uncased with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Chandar/sv-subject-based-bert-base-uncased")
    
    sentences = [
        "mason-wasp\tis\tsolitary.\nThus\tthe\tprocess\tof\torganic\tevolution\tis\tfar\tfrom\tbeing\tfully\tunderstood.\tWe\tcan\nonly\tsuppose\tthat\tas\tthere\tare\tdevised\tby\thuman\tbeings\tmany\tpuzzles\tapparently\nunanswerable\ttill\tthe\tanswer\tis\tgiven,\tand\tmany\tnecromantic\ttricks\twhich\tseem\nimpossible\ttill\tthe\tmode\tof\tperformance\tis\tshown;\tso\tthere\tare\tapparently\nincomprehensible\tresults\twhich\tare\treally\tachieved\tby\tnatural\tprocesses.\tOr,\notherwise,\twe\tmust\tconclude\tthat\tsince\tLife\titself\tproves\tto\tbe\tin\tits\tultimate\nnature\tinconceivable,\tthere\tis\tprobably\tan\tinconceivable\telement\tin\tits\tultimate\nworkings.\nEND\tOF\tVOL.\tI.",
        "988 CHAPTER 34 | ANIMAL NUTRITION AND THE DIGESTIVE SYSTEM\nThis content is available for free at http://cnx.org/content/col11448/1.9",
        "Cellular Communication in Yeasts\nThe first life on our planet consisted of single-celled prokaryotic organisms that\nhad limited interaction with each other. While some external signaling occurs between\ndifferent species of single-celled organisms, the majority of signaling within bacteria and\nyeasts concerns only other members of the same species. The evolution of cellular\ncommunication is an absolute necessity for the development of multicellular organisms,\nand this innovation is thought to have required approximately 2.5 billion years to appear in\nearly life forms.\nYeasts are single-celled eukaryotes, and therefore have a nucleus and organelles\ncharacteristic of more complex life forms. Comparisons of the genomes of yeasts,\nnematode worms, fruit flies, and humans illustrate the evolution of increasingly complex\nsignaling systems that allow for the efficient inner workings that keep humans and other\ncomplex life forms functioning correctly.\nKinases are a major component of cellular communication, and studies of these\nenzymes illustrate the evolutionary connectivity of different species. Yeasts have 130 types\nof kinases. More complex organisms such as nematode worms and fruit flies have 454\nand 239 kinases, respectively. Of the 130 kinase types in yeast, 97 belong to the 55\nsubfamilies of kinases that are found in other eukaryotic organisms. The only obvious\ndeficiency seen in yeasts is the complete absence of tyrosine kinases. It is hypothesized\nthat phosphorylation of tyrosine residues is needed to control the more sophisticated\nfunctions of development, differentiation, and cellular communication used in multicellular\norganisms.\nBecause yeasts contain many of the same classes of signaling proteins as humans,\nthese organisms are ideal for studying signaling cascades. Yeasts multiply quickly and\nare much simpler organisms than humans or other multicellular animals. Therefore, the\nsignaling cascades are also simpler and easier to study, although they contain similar\ncounterparts to human signaling.\n[2]\nWatch thiscollection (http://openstaxcollege.org/l/bacteria_biofilm) of interview clips with biofilm\nresearchers in “What Are Bacterial Biofilms?”\n2. G. Manning, G.D. Plowman, T. Hunter, S. Sudarsanam, “Evolution of Protein Kinase Signaling from Yeast to\nMan,” Trends in Biochemical Sciences 27, no. 10 (2002): 514–520.\n266 CHAPTER 9 | CELL COMMUNICATION\nThis content is available for free at http://cnx.org/content/col11448/1.9",
        "size,\tand\tcommonly\twith\torganizations\tmore\tor\tless\tadvanced;\tand\tthat\nthroughout\teach\torganic\tsub-kingdom,\tthere\tis\ta\tcertain\tgeneral,\tthough\nirregular,\trelation\tbetween\tthe\tinitial\tand\tthe\tfinal\tbulks.\tVegetals\texhibit\tthis\nrelation\tless\tmanifestly\tthan\tanimals.\tYet\tthough,\tamong\tthe\tplants\tthat\tbegin\nlife\tas\tminute\tspores,\tthere\tare\tsome\twhich,\tby\tthe\taid\tof\tan\tintermediate\tform,\ngrow\tto\tlarge\tsizes,\tthe\timmense\tmajority\tof\tthem\tremain\tsmall.\tWhile,\nconversely,\tthe\tgreat\tMonocotyledons\tand\tDicotyledons,\twhen\tthrown\toff\tfrom\ntheir\tparents,\thave\talready\tthe\tformed\torgans\tof\tyoung\tplants,\tto\twhich\tare\nattached\tstores\tof\thighly\tnutritive\tmatter.\tThat\tis\tto\tsay,\twhere\tthe\tyoung\tplant\nconsists\tmerely\tof\ta\tcentre\tof\tdevelopment,\tthe\tultimate\tgrowth\tis\tcommonly\ninsignificant;\tbut\twhere\tthe\tgrowth\tis\tto\tbecome\tgreat,\tthere\texists\tto\tstart\twith,\na\tdeveloped\tembryo\tand\ta\tstock\tof\tassimilable\tmatter.\tThroughout\tthe\tanimal\nkingdom\tthis\trelation\tis\ttolerably\tmanifest\tthough\tby\tno\tmeans\tuniform.\tSave\namong\tclasses\tthat\tescape\tthe\tordinary\trequirements\tof\tanimal\tlife,\tsmall\tgerms\nor\teggs\tdo\tnot\tin\tmost\tcases\tgive\trise\tto\tbulky\tcreatures.\tWhere\tgreat\tbulk\tis\tto\nbe\treached,\tthe\tyoung\tproceeds\tfrom\tan\tegg\tof\tconsiderable\tbulk,\tor\tis\tborn\tof\nconsiderable\tbulk\tready-organized\tand\tpartially\tactive.\tIn\tthe\tclass\tFishes,\tor\tin\nsuch\tof\tthem\tas\tare\tsubject\t\nto\tsimilar\tconditions\tof\tlife,\tsome\tproportion\tusually\nobtains\tbetween\tthe\tsizes\tof\tthe\tova\tand\tthe\tsizes\tof\tthe\tadult\tindividuals;\nthough\tin\tthe\tcases\tof\tthe\tsturgeon\tand\tthe\ttunny\tthere\tare\texceptions,\tprobably\ndetermined\tby\tthe\tcircumstances\tof\toviposition\tand\tthose\tof\tjuvenile\tlife.\nReptiles\thave\teggs\tthat\tare\tsmaller\tin\tnumber,\tand\trelatively\tgreater\tin\tmass,\nthan\tthose\tof\tfishes;\tand\tthroughout\tthis\tclass,\ttoo,\tthere\tis\ta\tgeneral\tcongruity\nbetween\tthe\tbulk\tof\tthe\tegg\tand\tthe\tbulk\tof\tthe\tadult\tcreature.\tAs\ta\tgroup,\tbirds\nshow\tus\tfurther\tlimitations\tin\tthe\tnumbers\tof\ttheir\teggs\tas\twell\tas\tfarther\nincrease\tin\ttheir\trelative\tsizes;\tand\tfrom\tthe\tminute\teggs\tof\tthe\thumming-bird\tup\nto\tthe\timmense\tones\tof\tthe\t\nEpiornis\n,\tholding\tseveral\tquarts,\twe\tsee\tthat,\nspeaking\tgenerally,\tthe\tgreater\tthe\teggs\tthe\tgreater\tthe\tbirds.,\tFinally,\tamong\nmammals\t (omitting\t the\t marsupials)\t the\t young\t are\t born,\t not\t only\t of\ncomparatively\tlarge\tsizes,\tbut\twith\tadvanced\torganizations;\tand\tthroughout\tthis\nsub-division\tof\tthe\t\nVertebrata\n,\tas\tthroughout\tthe\tothers,\tthere\tis\ta\tmanifest\nconnexion\tbetween\tthe\tsizes\tat\tbirth\tand\tthe\tsizes\tat\tmaturity.\tAs\thaving\ta\nkindred\tmeaning,\tthere\tmust\tfinally\tbe\tnoted\tthe\tfact\tthat\tthe\tyoung\tof\tthese\nhighest\tanimals,\tbesides\tstarting\tin\tlife\twith\tbodies\tof\tconsiderable\tsizes,\talmost\nfully\torganized,\tare,\tduring\tsubsequent\tperiods\tof\tgreater\tor\tless\tlength,\tsupplied\nwith\tnutriment—in\tbirds\tby\tfeeding\tand\tin\tmammals\tby\tsuckling\tand\tafterwards\nby\tfeeding.\tSo\tthat\tbeyond\tthe\tmass\tand\torganization\tdirectly\tbequeathed,\ta\tbird\nor\tmammal\tobtains\ta\tfurther\tlarge\tmass\tat\tbut\tlittle\tcost\tto\titself."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
sv-subject-based-bert-base-uncased
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Chandar's picture
Chandar
Add new SentenceTransformer model
efa28a6 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
    63.1 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
    199 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