Update README.md
Browse files
README.md
CHANGED
@@ -36,6 +36,7 @@ This is the model card of a 🤗 transformers model that has been pushed on the
|
|
36 |
|
37 |
### Direct Use
|
38 |
|
|
|
39 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
40 |
|
41 |
tokenizer = "meta-llama/Llama-2-7b-chat-hf"
|
@@ -48,7 +49,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
48 |
torch_dtype="auto"
|
49 |
)
|
50 |
|
51 |
-
|
52 |
|
53 |
#### Testing Data
|
54 |
|
|
|
36 |
|
37 |
### Direct Use
|
38 |
|
39 |
+
```python
|
40 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
41 |
|
42 |
tokenizer = "meta-llama/Llama-2-7b-chat-hf"
|
|
|
49 |
torch_dtype="auto"
|
50 |
)
|
51 |
|
52 |
+
```
|
53 |
|
54 |
#### Testing Data
|
55 |
|