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

lucian-li
/
my_new_model

Sentence Similarity
sentence-transformers
Safetensors
new
feature-extraction
Generated from Trainer
dataset_size:583058
loss:MultipleNegativesRankingLoss
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use lucian-li/my_new_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use lucian-li/my_new_model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("lucian-li/my_new_model", trust_remote_code=True)
    
    sentences = [
        "Pre-Emphasis (PE)\nA pre-emphasis filter is applied to the framed offset-free input signal:\n\n)1\n(",
        "Windowing (W)\nA Hamming window of length N is applied to the output of the pre-emphasis block:\n\n(\n)\nN\nn\nn\ns\nN\nn\nn\ns\npe\nw\n≤\n≤\n×\n\n\n\n\n\n\n\n\n\n\n\n\n−\n−\n×\n−\n=",
        "Group or broadcast call, called mobile stations (GSM only)\nWithin each set of voice group call or voice broadcast call attributes stored in the GCR as defined in 3GPP TS 43.068\nand 3GPP TS 43.069, respectively, a priority level is included if eMLPP is applied. The priority level will be provided\nby the GCR to the MSC together with the call attributes.\nThe priority level shall be indicated together with the related notification messages and treated in the mobile station as\ndefined in 3GPP TS 43.0",
        "Description of the access technology indicator mechanism\nThis clause describes the mechanisms that can be employed to indicate access technology specific dependencies in a\nmulti-access technology environment.\nThere are cases where toolkit applications need to know which access technology the terminal is currently in so that it\ncan issue access technology dependent commands as well as determine that the response to a particular command is\ntechnology dependent. Setting up the event, ACCESS TECHNOL"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
my_new_model
1.24 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
lucian-li's picture
lucian-li
Add new SentenceTransformer model
feae91a verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model about 1 year ago
  • README.md
    38.5 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    1.5 kB
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model about 1 year ago
  • configuration.py
    7.13 kB
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    1.22 GB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    1.37 kB
    Add new SentenceTransformer model about 1 year ago