Updated readme with code formatting
#1
by
Avelina
- opened
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'
|