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

barealek
/
peftech-v1-plus

Sentence Similarity
sentence-transformers
Safetensors
gemma3_text
feature-extraction
dense
Generated from Trainer
dataset_size:23522
loss:SplitHeadContrastiveDistillationLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use barealek/peftech-v1-plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use barealek/peftech-v1-plus with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("barealek/peftech-v1-plus")
    
    sentences = [
        "Instruct: Retrieve text with a similar pragmatic profile, including safety, emotion, sentiment, language, and identity-target signals\nQuery: \"Since women say men only think with their dicks do you think she would get offended if I asked her to blow my mind.\" 😭 I hate the people I work with fucking clowns",
        "Instruct: Retrieve text with a similar pragmatic profile, including safety, emotion, sentiment, language, and identity-target signals\nQuery: /r/ENLIGHTENEDCENTRISM  Because someone who wants equality and a nazi are equally as bad, and homophobes have absolutely *no track record* of not letting gays keep practicing their ~~comedy~~ life. As opposed to SJWs who have gone into history responsible for villifying, suppressing and outright killing sexual minorities. But yeah no, middle ground all the way babyyy. You're the smartest guy on Reddit!",
        "Instruct: Retrieve text with a similar pragmatic profile, including safety, emotion, sentiment, language, and identity-target signals\nQuery: they do not care about me or you, they care about what they can take from you and what they can make you do for them.",
        "Instruct: Retrieve text with a similar pragmatic profile, including safety, emotion, sentiment, language, and identity-target signals\nQuery: @smkndofpnutdssr @ACLU 70 years ago everyone was brainwashed into being christian and also had coathanger abortions because it was the Great Depression and then thousands on women died because they had unsafe abortions 😍"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
peftech-v1-plus / 2_Dense
1.15 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
barealek's picture
barealek
Upload folder using huggingface_hub
3e15e57 verified 2 months ago
  • config.json
    138 Bytes
    Upload folder using huggingface_hub 2 months ago
  • model.safetensors
    1.15 MB
    xet
    Upload folder using huggingface_hub 2 months ago