Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Lihuchen
/
pearl_base

Feature Extraction
sentence-transformers
PyTorch
Safetensors
Transformers
English
bert
Phrase Representation
String Matching
Fuzzy Join
Entity Retrieval
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use Lihuchen/pearl_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Lihuchen/pearl_base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Lihuchen/pearl_base")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Transformers

    How to use Lihuchen/pearl_base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="Lihuchen/pearl_base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("Lihuchen/pearl_base")
    model = AutoModel.from_pretrained("Lihuchen/pearl_base")
  • Notebooks
  • Google Colab
  • Kaggle
pearl_base
877 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 19 commits
Lihuchen's picture
Lihuchen
Update README.md
1a45eba verified about 2 years ago
  • 1_Pooling
    Integrate with Sentence Transformers (#1) about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    5.07 kB
    Update README.md about 2 years ago
  • config.json
    665 Bytes
    Update config.json about 2 years ago
  • config_sentence_transformers.json
    123 Bytes
    Integrate with Sentence Transformers (#1) about 2 years ago
  • model.safetensors
    438 MB
    xet
    initial about 2 years ago
  • modules.json
    349 Bytes
    Integrate with Sentence Transformers (#1) about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    438 MB
    xet
    add model.bin about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Integrate with Sentence Transformers (#1) about 2 years ago
  • special_tokens_map.json
    125 Bytes
    initial about 2 years ago
  • tokenizer.json
    711 kB
    initial about 2 years ago
  • tokenizer_config.json
    314 Bytes
    initial about 2 years ago
  • vocab.txt
    232 kB
    initial about 2 years ago