Shitao commited on
Commit
85020e8
1 Parent(s): 91644c6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +279 -7
README.md CHANGED
@@ -1,6 +1,7 @@
1
  ---
2
  tags:
3
  - mteb
 
4
  model-index:
5
  - name: bge-small-en
6
  results:
@@ -2189,7 +2190,7 @@ model-index:
2189
  - type: precision_at_3
2190
  value: 25.444
2191
  - type: precision_at_5
2192
- value: 17.0
2193
  - type: recall_at_1
2194
  value: 55.74400000000001
2195
  - type: recall_at_10
@@ -2197,7 +2198,7 @@ model-index:
2197
  - type: recall_at_100
2198
  value: 95.167
2199
  - type: recall_at_1000
2200
- value: 100.0
2201
  - type: recall_at_3
2202
  value: 70.14399999999999
2203
  - type: recall_at_5
@@ -2331,7 +2332,7 @@ model-index:
2331
  - type: map_at_5
2332
  value: 0.964
2333
  - type: mrr_at_1
2334
- value: 88.0
2335
  - type: mrr_at_10
2336
  value: 92.867
2337
  - type: mrr_at_100
@@ -2343,7 +2344,7 @@ model-index:
2343
  - type: mrr_at_5
2344
  value: 92.667
2345
  - type: ndcg_at_1
2346
- value: 82.0
2347
  - type: ndcg_at_10
2348
  value: 73.164
2349
  - type: ndcg_at_100
@@ -2355,7 +2356,7 @@ model-index:
2355
  - type: ndcg_at_5
2356
  value: 76.39
2357
  - type: precision_at_1
2358
- value: 88.0
2359
  - type: precision_at_10
2360
  value: 76.2
2361
  - type: precision_at_100
@@ -2365,7 +2366,7 @@ model-index:
2365
  - type: precision_at_3
2366
  value: 82.667
2367
  - type: precision_at_5
2368
- value: 80.0
2369
  - type: recall_at_1
2370
  value: 0.22599999999999998
2371
  - type: recall_at_10
@@ -2596,4 +2597,275 @@ model-index:
2596
  value: 83.83585648120315
2597
  - type: max_f1
2598
  value: 76.02582177042369
2599
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  tags:
3
  - mteb
4
+ - sentence transformers
5
  model-index:
6
  - name: bge-small-en
7
  results:
 
2190
  - type: precision_at_3
2191
  value: 25.444
2192
  - type: precision_at_5
2193
+ value: 17
2194
  - type: recall_at_1
2195
  value: 55.74400000000001
2196
  - type: recall_at_10
 
2198
  - type: recall_at_100
2199
  value: 95.167
2200
  - type: recall_at_1000
2201
+ value: 100
2202
  - type: recall_at_3
2203
  value: 70.14399999999999
2204
  - type: recall_at_5
 
2332
  - type: map_at_5
2333
  value: 0.964
2334
  - type: mrr_at_1
2335
+ value: 88
2336
  - type: mrr_at_10
2337
  value: 92.867
2338
  - type: mrr_at_100
 
2344
  - type: mrr_at_5
2345
  value: 92.667
2346
  - type: ndcg_at_1
2347
+ value: 82
2348
  - type: ndcg_at_10
2349
  value: 73.164
2350
  - type: ndcg_at_100
 
2356
  - type: ndcg_at_5
2357
  value: 76.39
2358
  - type: precision_at_1
2359
+ value: 88
2360
  - type: precision_at_10
2361
  value: 76.2
2362
  - type: precision_at_100
 
2366
  - type: precision_at_3
2367
  value: 82.667
2368
  - type: precision_at_5
2369
+ value: 80
2370
  - type: recall_at_1
2371
  value: 0.22599999999999998
2372
  - type: recall_at_10
 
2597
  value: 83.83585648120315
2598
  - type: max_f1
2599
  value: 76.02582177042369
2600
+ license: mit
2601
+ language:
2602
+ - en
2603
+ pipeline_tag: sentence-similarity
2604
+ ---
2605
+
2606
+
2607
+
2608
+ <h1 align="center">FlagEmbedding</h1>
2609
+ <p align="center">
2610
+ <a href="https://www.python.org/">
2611
+ <img alt="Build" src="https://img.shields.io/badge/Contribution-Welcome-blue">
2612
+ </a>
2613
+ <a href="https://github.com/FlagOpen/FlagEmbedding/blob/master/LICENSE">
2614
+ <img alt="License" src="https://img.shields.io/badge/LICENSE-MIT-green">
2615
+ </a>
2616
+ <a href="https://huggingface.co/C-MTEB">
2617
+ <img alt="Build" src="https://img.shields.io/badge/C_MTEB-🤗-yellow">
2618
+ </a>
2619
+ <a href="https://github.com/FlagOpen/FlagEmbedding/tree/master/flag_embedding">
2620
+ <img alt="Build" src="https://img.shields.io/badge/flag_embedding-1.0-red">
2621
+ </a>
2622
+ </p>
2623
+
2624
+ <h4 align="center">
2625
+ <p>
2626
+ <a href=#model-list>Model List</a> |
2627
+ <a href=#usage>Usage</a> |
2628
+ <a href="#evaluation">Evaluation</a> |
2629
+ <a href="#train">Train</a> |
2630
+ <a href="#contact">Contact</a> |
2631
+ <a href="#license">License</a>
2632
+ <p>
2633
+ </h4>
2634
+
2635
+
2636
+ [English](README.md) | [中文](README_zh.md)
2637
+
2638
+ FlagEmbedding can map any text to a low-dimensional dense vector which can be used for tasks like retrieval, classification, clustering, or semantic search.
2639
+ And it also can be used in vector database for LLMs.
2640
+
2641
+ ************* 🌟**Updates**🌟 *************
2642
+ - 08/05/2023: Release base-scale and small-scale models, **best performance among the models of the same size 🤗**
2643
+ - 08/02/2023: Release `bge-large-*`(short for BAAI General Embedding) Models, **rank 1st on MTEB and C-MTEB benchmark!** :tada: :tada:
2644
+ - 08/01/2023: We release the Chinese Massive Text Embedding Benchmark (**C-MTEB**), consisting of 31 test dataset.
2645
+
2646
+
2647
+ ## Model List
2648
+
2649
+ `bge` is short for `BAAI general embedding`.
2650
+
2651
+ | Model | Language | Description | query instruction for retrieval |
2652
+ |:-------------------------------|:--------:| :--------:| :--------:|
2653
+ | [BAAI/bge-large-en](https://huggingface.co/BAAI/bge-large-en) | English | :trophy: rank **1st** in [MTEB](https://huggingface.co/spaces/mteb/leaderboard) leaderboard | `Represent this sentence for searching relevant passages: ` |
2654
+ | [BAAI/bge-base-en](https://huggingface.co/BAAI/bge-base-en) | English | rank **2nd** in [MTEB](https://huggingface.co/spaces/mteb/leaderboard) leaderboard | `Represent this sentence for searching relevant passages: ` |
2655
+ | [BAAI/bge-small-en](https://huggingface.co/BAAI/bge-small-en) | English | a small-scale model but with competitive performance | `Represent this sentence for searching relevant passages: ` |
2656
+ | [BAAI/bge-large-zh](https://huggingface.co/BAAI/bge-large-zh) | Chinese | :trophy: rank **1st** in [C-MTEB](https://github.com/FlagOpen/FlagEmbedding/tree/master/benchmark) benchmark | `为这个句子生成表示以用于检索相关文章:` |
2657
+ | [BAAI/bge-large-zh-noinstruct](https://huggingface.co/BAAI/bge-large-zh-noinstruct) | Chinese | This model is trained without instruction, and rank **2nd** in [C-MTEB](https://github.com/FlagOpen/FlagEmbedding/tree/master/benchmark) benchmark | |
2658
+ | [BAAI/bge-base-zh](https://huggingface.co/BAAI/bge-base-zh) | Chinese | a base-scale model but with competitive performance | `为这个句子生成表示以用于检索相关文章:` |
2659
+ | [BAAI/bge-small-zh](https://huggingface.co/BAAI/bge-small-zh) | Chinese | a small-scale model but with competitive performance | `为这个句子生成表示���用于检索相关文章:` |
2660
+
2661
+
2662
+
2663
+ ## Usage
2664
+
2665
+ * **Using FlagEmbedding**
2666
+ ```
2667
+ pip install flag_embedding
2668
+ ```
2669
+ ```python
2670
+ from flag_embedding import FlagModel
2671
+ sentences = ["样例数据-1", "样例数据-2"]
2672
+ model = FlagModel('BAAI/bge-large-zh', query_instruction_for_retrieval="为这个句子生成表示以用于检索相关文章:")
2673
+ embeddings = model.encode(sentences)
2674
+ print(embeddings)
2675
+
2676
+ # for retrieval task, please use encode_queries() which will automatically add the instruction to each query
2677
+ # corpus in retrieval task can still use encode() or encode_corpus()
2678
+ queries = ['query_1', 'query_2']
2679
+ passages = ["样例段落-1", "样例段落-2"]
2680
+ q_embeddings = model.encode_queries(queries)
2681
+ p_embeddings = model.encode(passages)
2682
+ scores = q_embeddings @ p_embeddings.T
2683
+ ```
2684
+ The value of argument `query_instruction_for_retrieval` see [Model List](https://github.com/FlagOpen/FlagEmbedding/tree/master#model-list).
2685
+
2686
+ FlagModel will use all available GPUs when encoding, please set `os.environ["CUDA_VISIBLE_DEVICES"]` to choose GPU.
2687
+
2688
+
2689
+ * **Using Sentence-Transformers**
2690
+
2691
+ Using this model also is easy when you have [sentence-transformers](https://www.SBERT.net) installed:
2692
+
2693
+ ```
2694
+ pip install -U sentence-transformers
2695
+ ```
2696
+ ```python
2697
+ from sentence_transformers import SentenceTransformer
2698
+ sentences = ["样例数据-1", "样例数据-2"]
2699
+ model = SentenceTransformer('BAAI/bge-large-zh')
2700
+ embeddings = model.encode(sentences, normalize_embeddings=True)
2701
+ print(embeddings)
2702
+ ```
2703
+ For retrieval task,
2704
+ each query should start with a instruction (instructions see [Model List](https://github.com/FlagOpen/FlagEmbedding/tree/master#model-list)).
2705
+ ```python
2706
+ from sentence_transformers import SentenceTransformer
2707
+ queries = ["手机开不了机怎么办?"]
2708
+ passages = ["样例段落-1", "样例段落-2"]
2709
+ instruction = "为这个句子生成表示以用于检索相关文章:"
2710
+
2711
+ model = SentenceTransformer('BAAI/bge-large-zh')
2712
+ q_embeddings = model.encode([instruction+q for q in queries], normalize_embeddings=True)
2713
+ p_embeddings = model.encode(passages, normalize_embeddings=True)
2714
+ scores = q_embeddings @ p_embeddings.T
2715
+ ```
2716
+
2717
+ * **Using HuggingFace Transformers**
2718
+
2719
+ With transformers package, you can use the model like this: First, you pass your input through the transformer model, then you select the last hidden state of first token (i.e., [CLS]) as the sentence embedding.
2720
+
2721
+ ```python
2722
+ from transformers import AutoTokenizer, AutoModel
2723
+ import torch
2724
+ # Sentences we want sentence embeddings for
2725
+ sentences = ["样例数据-1", "样例数据-2"]
2726
+
2727
+ # Load model from HuggingFace Hub
2728
+ tokenizer = AutoTokenizer.from_pretrained('BAAI/bge-large-zh')
2729
+ model = AutoModel.from_pretrained('BAAI/bge-large-zh')
2730
+
2731
+ # Tokenize sentences
2732
+ encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
2733
+ # for retrieval task, add a instruction to query
2734
+ # encoded_input = tokenizer([instruction + q for q in queries], padding=True, truncation=True, return_tensors='pt')
2735
+
2736
+ # Compute token embeddings
2737
+ with torch.no_grad():
2738
+ model_output = model(**encoded_input)
2739
+ # Perform pooling. In this case, cls pooling.
2740
+ sentence_embeddings = model_output[0][:, 0]
2741
+ # normalize embeddings
2742
+ sentence_embeddings = torch.nn.functional.normalize(sentence_embeddings, p=2, dim=1)
2743
+ print("Sentence embeddings:", sentence_embeddings)
2744
+ ```
2745
+
2746
+
2747
+ ## Evaluation
2748
+ `baai-general-embedding` models achieve **state-of-the-art performance on both MTEB and C-MTEB leaderboard!**
2749
+ More details and evaluation scripts see [benchemark](benchmark/README.md).
2750
+
2751
+ - **MTEB**:
2752
+
2753
+ | Model Name | Dimension | Sequence Length | Average (56) | Retrieval (15) |Clustering (11) | Pair Classification (3) | Reranking (4) | STS (10) | Summarization (1) | Classification (12) |
2754
+ |:----:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
2755
+ | [**bge-large-en**](https://huggingface.co/BAAI/bge-large-en) | 1024 | 512 | **63.98** | **53.9** | **46.98** | 85.8 | **59.48** | 81.56 | 32.06 | **76.21** |
2756
+ | [**bge-base-en**](https://huggingface.co/BAAI/bge-base-en) | 768 | 512 | 63.36 | 53.0 | 46.32 | 85.86 | 58.7 | 81.84 | 29.27 | 75.27 |
2757
+ | [gte-large](https://huggingface.co/thenlper/gte-large) | 1024 | 512 | 63.13 | 52.22 | 46.84 | 85.00 | 59.13 | 83.35 | 31.66 | 73.33 |
2758
+ | [gte-base](https://huggingface.co/thenlper/gte-base) | 768 | 512 | 62.39 | 51.14 | 46.2 | 84.57 | 58.61 | 82.3 | 31.17 | 73.01 |
2759
+ | [e5-large-v2](https://huggingface.co/intfloat/e5-large-v2) | 1024| 512 | 62.25 | 50.56 | 44.49 | 86.03 | 56.61 | 82.05 | 30.19 | 75.24 |
2760
+ | [**bge-small-en**](https://huggingface.co/BAAI/bge-small-en) | 384 | 512 | 62.11 | 51.82 | 44.31 | 83.78 | 57.97 | 80.72 | 30.53 | 74.37 |
2761
+ | [instructor-xl](https://huggingface.co/hkunlp/instructor-xl) | 768 | 512 | 61.79 | 49.26 | 44.74 | 86.62 | 57.29 | 83.06 | 32.32 | 61.79 |
2762
+ | [e5-base-v2](https://huggingface.co/intfloat/e5-base-v2) | 768 | 512 | 61.5 | 50.29 | 43.80 | 85.73 | 55.91 | 81.05 | 30.28 | 73.84 |
2763
+ | [gte-small](https://huggingface.co/thenlper/gte-small) | 384 | 512 | 61.36 | 49.46 | 44.89 | 83.54 | 57.7 | 82.07 | 30.42 | 72.31 |
2764
+ | [text-embedding-ada-002](https://platform.openai.com/docs/guides/embeddings) | 1536 | 8192 | 60.99 | 49.25 | 45.9 | 84.89 | 56.32 | 80.97 | 30.8 | 70.93 |
2765
+ | [e5-small-v2](https://huggingface.co/intfloat/e5-base-v2) | 384 | 512 | 59.93 | 49.04 | 39.92 | 84.67 | 54.32 | 80.39 | 31.16 | 72.94 |
2766
+ | [sentence-t5-xxl](https://huggingface.co/sentence-transformers/sentence-t5-xxl) | 768 | 512 | 59.51 | 42.24 | 43.72 | 85.06 | 56.42 | 82.63 | 30.08 | 73.42 |
2767
+ | [all-mpnet-base-v2](https://huggingface.co/sentence-transformers/all-mpnet-base-v2) | 768 | 514 | 57.78 | 43.81 | 43.69 | 83.04 | 59.36 | 80.28 | 27.49 | 65.07 |
2768
+ | [sgpt-bloom-7b1-msmarco](https://huggingface.co/bigscience/sgpt-bloom-7b1-msmarco) | 4096 | 2048 | 57.59 | 48.22 | 38.93 | 81.9 | 55.65 | 77.74 | 33.6 | 66.19 |
2769
+ | [all-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2) | 384 | 512 | 56.53 | 42.69 | 41.81 | 82.41 | 58.44 | 79.8 | 27.9 | 63.21 |
2770
+ | [all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) | 384 | 512 | 56.26 | 41.95 | 42.35 | 82.37 | 58.04 | 78.9 | 30.81 | 63.05 |
2771
+ | [contriever-base-msmarco](https://huggingface.co/nthakur/contriever-base-msmarco) | 768 | 512 | 56.00 | 41.88 | 41.1 | 82.54 | 53.14 | 76.51 | 30.36 | 66.68 |
2772
+ | [sentence-t5-base](https://huggingface.co/sentence-transformers/sentence-t5-base) | 768 | 512 | 55.27 | 33.63 | 40.21 | 85.18 | 53.09 | 81.14 | 31.39 | 69.81 |
2773
+
2774
+
2775
+
2776
+ - **C-MTEB**:
2777
+ We create a benchmark C-MTEB for chinese text embedding which consists of 31 datasets from 6 tasks.
2778
+ Please refer to [benchemark](benchmark/README.md) for a detailed introduction.
2779
+
2780
+ | Model | Embedding dimension | Avg | Retrieval | STS | PairClassification | Classification | Reranking | Clustering |
2781
+ |:-------------------------------|:--------:|:--------:|:--------:|:--------:|:--------:|:--------:|:--------:|:--------:|
2782
+ | [**bge-large-zh**](https://huggingface.co/BAAI/bge-large-zh) | 1024 | **64.20** | **71.53** | **53.23** | **78.94** | 72.26 | **65.11** | 48.39 |
2783
+ | [**bge-large-zh-noinstruct**](https://huggingface.co/BAAI/bge-large-zh-noinstruct) | 1024 | 63.53 | 70.55 | 50.98 | 76.77 | **72.49** | 64.91 | **50.01** |
2784
+ | [**BAAI/bge-base-zh**](https://huggingface.co/BAAI/bge-base-zh) | 768 | 62.96 | 69.53 | 52.05 | 77.5 | 70.98 | 64.91 | 47.63 |
2785
+ | [**BAAI/bge-small-zh**](https://huggingface.co/BAAI/bge-small-zh) | 512 | 58.27 | 63.07 | 46.87 | 70.35 | 67.78 | 61.48 | 45.09 |
2786
+ | [m3e-base](https://huggingface.co/moka-ai/m3e-base) | 768 | 57.10 |56.91 | 48.15 | 63.99 | 70.28 | 59.34 | 47.68 |
2787
+ | [m3e-large](https://huggingface.co/moka-ai/m3e-large) | 1024 | 57.05 |54.75 | 48.64 | 64.3 | 71.22 | 59.66 | 48.88 |
2788
+ | [text-embedding-ada-002(OpenAI)](https://platform.openai.com/docs/guides/embeddings/what-are-embeddings) | 1536 | 53.02 | 52.0 | 40.61 | 69.56 | 67.38 | 54.28 | 45.68 |
2789
+ | [luotuo](https://huggingface.co/silk-road/luotuo-bert-medium) | 1024 | 49.37 | 44.4 | 39.41 | 66.62 | 65.29 | 49.25 | 44.39 |
2790
+ | [text2vec](https://huggingface.co/shibing624/text2vec-base-chinese) | 768 | 47.63 | 38.79 | 41.71 | 67.41 | 65.18 | 49.45 | 37.66 |
2791
+ | [text2vec-large](https://huggingface.co/GanymedeNil/text2vec-large-chinese) | 1024 | 47.36 | 41.94 | 41.98 | 70.86 | 63.42 | 49.16 | 30.02 |
2792
+
2793
+
2794
+
2795
+
2796
+ ## Train
2797
+ This section will introduce the way we used to train the general embedding.
2798
+ The training scripts are in [flag_embedding](./flag_embedding/baai_general_embedding/README.md),
2799
+ and we provide some examples to do [pre-train](examples/pretrain/README.md) and [fine-tune](examples/finetune/README.md).
2800
+
2801
+
2802
+ **1. RetroMAE Pre-train**
2803
+ We pre-train the model following the method [retromae](https://github.com/staoxiao/RetroMAE),
2804
+ which shows promising improvement in retrieval task ([paper](https://aclanthology.org/2022.emnlp-main.35.pdf)).
2805
+ The pre-training was conducted on 24 A100(40G) GPUs with a batch size of 720.
2806
+ In retromae, the mask ratio of encoder and decoder are 0.3, 0.5 respectively.
2807
+ We used the AdamW optimizer and the learning rate is 2e-5.
2808
+
2809
+ **Pre-training data**:
2810
+ - English:
2811
+ - [Pile](https://pile.eleuther.ai/)
2812
+ - [wikipedia](https://huggingface.co/datasets/wikipedia)
2813
+ - [msmarco](https://huggingface.co/datasets/Tevatron/msmarco-passage-corpus)
2814
+ - Chinese:
2815
+ - Subset of [wudao](https://github.com/BAAI-WuDao/Data)
2816
+ - [baidu-baike](https://baike.baidu.com/)
2817
+
2818
+
2819
+ **2. Finetune**
2820
+ We fine-tune the model using a contrastive objective.
2821
+ The format of input data is a triple`(query, positive, negative)`.
2822
+ Besides the negative in the triple, we also adopt in-batch negatives strategy.
2823
+ We employ the cross-device negatives sharing method to sharing negatives among different GPUs,
2824
+ which can dramatically **increase the number of negatives**.
2825
+
2826
+ We trained our model on 48 A100(40G) GPUs with a large batch size of 32,768 (so there are **65,535** negatives for each query in a batch).
2827
+ We used the AdamW optimizer and the learning rate is 1e-5.
2828
+ The temperature for contrastive loss is 0.01.
2829
+
2830
+ For the version with `*-instrcution`, we add instruction to the query for retrieval task in the training.
2831
+ For english, the instruction is `Represent this sentence for searching relevant passages: `;
2832
+ For chinese, the instruction is `为这个句子生成表示以用于检索相关文章:`.
2833
+ In the evaluation, the instruction should be added for sentence to passages retrieval task, not be added for other tasks.
2834
+
2835
+
2836
+ The finetune script is accessible in this repository: [flag_embedding](./flag_embedding/baai_general_embedding/README.md).
2837
+ You can easily finetune your model with it.
2838
+
2839
+ **Training data**:
2840
+
2841
+ - For English, we collect 230M text pairs from [wikipedia](https://huggingface.co/datasets/wikipedia), [cc-net](https://github.com/facebookresearch/cc_net), and so on.
2842
+
2843
+ - For chinese, we collect 120M text pairs from [wudao](https://github.com/BAAI-WuDao/Data), [simclue](https://github.com/CLUEbenchmark/SimCLUE) and so on.
2844
+
2845
+ **The data collection is to be released in the future.**
2846
+
2847
+ ## Schedule
2848
+ - [x] Chinese Massive Text Embedding Benchmark
2849
+ - [x] release baai-general-embedding models
2850
+ - [x] release codes for training
2851
+ - [ ] Training Datasets
2852
+ - [ ] Multilingual model
2853
+ - [ ] ...
2854
+
2855
+ We will continually update the embedding models and training codes,
2856
+ hoping to promote the development of the embedding model community.
2857
+
2858
+
2859
+ ## Contact
2860
+ If you have any question or suggestion related to this project, feel free to open a issue or pull a request.
2861
+ You also can email Shitao Xiao(stxiao@baai.ac.cn) and Zheng Liu(liuzheng@baai.ac.cn).
2862
+
2863
+
2864
+ ## License
2865
+ FlagEmbedding is licensed under [MIT License](LICENSE). The released models can be used for commercial purposes free of charge.
2866
+
2867
+
2868
+
2869
+
2870
+
2871
+