Updated readme with code formatting (#1)
Browse files- Updated readme with code formatting (24f161ee1bb16af0956da82e157538d09543def9)
Co-authored-by: Avelina Hadji-Kyriacou <Avelina@users.noreply.huggingface.co>
README.md
CHANGED
@@ -38,7 +38,7 @@ Further, the model is trained to generate questions involving complex scenarios
|
|
38 |
An example notebook is provided [here](https://huggingface.co/NousResearch/Genstruct-7B/blob/main/notebook.ipynb), which details how to load and sample from the model.
|
39 |
|
40 |
Alternatively, here's a minimal example:
|
41 |
-
```
|
42 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
43 |
|
44 |
MODEL_NAME = 'NousResearch/Genstruct-7B'
|
|
|
38 |
An example notebook is provided [here](https://huggingface.co/NousResearch/Genstruct-7B/blob/main/notebook.ipynb), which details how to load and sample from the model.
|
39 |
|
40 |
Alternatively, here's a minimal example:
|
41 |
+
```py
|
42 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
43 |
|
44 |
MODEL_NAME = 'NousResearch/Genstruct-7B'
|