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