You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FlagEmbedding/llm_reranker/README.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -314,7 +314,8 @@ torchrun --nproc_per_node {number of gpus} \
314
314
--start_layer 8 \
315
315
--head_multi True \
316
316
--head_type simple \
317
-
--lora_extra_parameters linear_head
317
+
--lora_extra_parameters linear_head \
318
+
--finetune_type from_raw_model # should be one of ['from_raw_model', 'from_finetuned_model']
318
319
```
319
320
320
321
Our rerankers are initialized from [google/gemma-2b](https://huggingface.co/google/gemma-2b) (for llm-based reranker) and [openbmb/MiniCPM-2B-dpo-bf16](https://huggingface.co/openbmb/MiniCPM-2B-dpo-bf16) (for llm-based layerwise reranker), and we train it on a mixture of multilingual datasets:
@@ -323,6 +324,33 @@ Our rerankers are initialized from [google/gemma-2b](https://huggingface.co/goog
0 commit comments