Dongfu Jiang
commited on
Commit
•
c20ea98
1
Parent(s):
02d2380
Update README.md
Browse files
README.md
CHANGED
@@ -60,8 +60,12 @@ which is trained on [mixinstruct](https://huggingface.co/datasets/llm-blender/mi
|
|
60 |
Since PairRanker contains some custom layers and tokens. We recommend use our pairranker with our llm-blender python repo.
|
61 |
Otherwise, loading it directly with hugging face `from_pretrained()` API will encounter errors.
|
62 |
|
63 |
-
First install `llm-blender`
|
64 |
-
|
|
|
|
|
|
|
|
|
65 |
```python
|
66 |
import llm_blender
|
67 |
# ranker config
|
|
|
60 |
Since PairRanker contains some custom layers and tokens. We recommend use our pairranker with our llm-blender python repo.
|
61 |
Otherwise, loading it directly with hugging face `from_pretrained()` API will encounter errors.
|
62 |
|
63 |
+
- First install `llm-blender`
|
64 |
+
```bash
|
65 |
+
pip install git+https://github.com/yuchenlin/LLM-Blender.git
|
66 |
+
```
|
67 |
+
|
68 |
+
- Then use pairranker with the following code:
|
69 |
```python
|
70 |
import llm_blender
|
71 |
# ranker config
|