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

InstalilyAI
/
synonym-transformer-LoRA

Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
semantic-search
automotive-parts
synonyms
Model card Files Files and versions
xet
Community

Instructions to use InstalilyAI/synonym-transformer-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use InstalilyAI/synonym-transformer-LoRA with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("InstalilyAI/synonym-transformer-LoRA")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
synonym-transformer-LoRA / peft
10.8 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Liam Wilbur
Add LoRA fine-tuned transformer with reduced degradation but more balanced synonym performance
6cd99c7 11 months ago
  • README.md
    5.2 kB
    Add LoRA fine-tuned transformer with reduced degradation but more balanced synonym performance 11 months ago
  • adapter_config.json
    910 Bytes
    Add LoRA fine-tuned transformer with reduced degradation but more balanced synonym performance 11 months ago
  • adapter_model.safetensors
    10.8 MB
    xet
    Add LoRA fine-tuned transformer with reduced degradation but more balanced synonym performance 11 months ago