Update README.md
Browse files
README.md
CHANGED
|
@@ -73,6 +73,29 @@ This pipeline can be broken up into three key steps:
|
|
| 73 |
| Attention Dropout | 0.0 |
|
| 74 |
| Prescale gradients | False |
|
| 75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
|
| 78 |
## **Acknowledgements**
|
|
|
|
| 73 |
| Attention Dropout | 0.0 |
|
| 74 |
| Prescale gradients | False |
|
| 75 |
|
| 76 |
+
## Installation
|
| 77 |
+
|
| 78 |
+
If using through the HuggingFace transformers library:
|
| 79 |
+
|
| 80 |
+
``` python
|
| 81 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 82 |
+
|
| 83 |
+
tokenizer = AutoTokenizer.from_pretrained("AdamG012/chat-opt-1.3b-rlhf-critic-deepspeed")
|
| 84 |
+
|
| 85 |
+
model = AutoModelForCausalLM.from_pretrained("AdamG012/chat-opt-1.3b-rlhf-critic-deepspeed")
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
If you would like to clone from source:
|
| 90 |
+
```bash
|
| 91 |
+
# Make sure you have git-lfs installed (https://git-lfs.github.com)
|
| 92 |
+
git lfs install
|
| 93 |
+
git clone https://huggingface.co/AdamG012/chat-opt-1.3b-rlhf-critic-deepspeed
|
| 94 |
+
|
| 95 |
+
# if you want to clone without large files – just their pointers
|
| 96 |
+
# prepend your git clone with the following env var:
|
| 97 |
+
GIT_LFS_SKIP_SMUDGE=1
|
| 98 |
+
```
|
| 99 |
|
| 100 |
|
| 101 |
## **Acknowledgements**
|