Update README.md (#1)
Browse files- Update README.md (fcd8ec4c2b699eadccc9f9e65bf9d74e21daf7d8)
Co-authored-by: Cihan Yalçın <Chan-Y@users.noreply.huggingface.co>
README.md
CHANGED
@@ -38,10 +38,12 @@ DCLM-Baseline-7B is a 7 billion parameter language model trained on the DCLM-Bas
|
|
38 |
|
39 |
First install open_lm
|
40 |
|
41 |
-
```
|
|
|
|
|
42 |
|
43 |
Then:
|
44 |
-
```
|
45 |
from open_lm.hf import *
|
46 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
47 |
tokenizer = AutoTokenizer.from_pretrained("apple/DCLM-Baseline-7B")
|
|
|
38 |
|
39 |
First install open_lm
|
40 |
|
41 |
+
```bash
|
42 |
+
pip install git+https://github.com/mlfoundations/open_lm.git
|
43 |
+
```
|
44 |
|
45 |
Then:
|
46 |
+
```python
|
47 |
from open_lm.hf import *
|
48 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
49 |
tokenizer = AutoTokenizer.from_pretrained("apple/DCLM-Baseline-7B")
|