Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

zhou209
/
bge-ft

Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use zhou209/bge-ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use zhou209/bge-ft with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("zhou209/bge-ft")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
bge-ft
2.29 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
zhou209's picture
zhou209
Upload config.json
531a423 verified about 2 years ago
  • 1_Pooling
    Upload config.json about 2 years ago
  • .gitattributes
    1.57 kB
    Upload 11 files about 2 years ago
  • README.md
    3.77 kB
    Upload 11 files about 2 years ago
  • config.json
    704 Bytes
    Upload 11 files about 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Upload 11 files about 2 years ago
  • model.safetensors
    2.27 GB
    xet
    Upload 11 files about 2 years ago
  • modules.json
    349 Bytes
    Upload 11 files about 2 years ago
  • sentence_bert_config.json
    54 Bytes
    Upload 11 files about 2 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload 11 files about 2 years ago
  • special_tokens_map.json
    964 Bytes
    Upload 11 files about 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Upload 11 files about 2 years ago
  • tokenizer_config.json
    1.17 kB
    Upload 11 files about 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "torch.device",
    • "transformers.trainer_utils.SchedulerType",
    • "FlagEmbedding.baai_general_embedding.finetune.arguments.RetrieverTrainingArguments",
    • "transformers.trainer_utils.IntervalStrategy",
    • "accelerate.state.PartialState",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.HubStrategy"

    How to fix it?

    4.92 kB
    xet
    Upload 11 files about 2 years ago