Update README.md
Browse files
README.md
CHANGED
@@ -43,4 +43,17 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
43 |
torch_dtype=torch.float16,
|
44 |
device_map='auto'
|
45 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
```
|
|
|
43 |
torch_dtype=torch.float16,
|
44 |
device_map='auto'
|
45 |
)
|
46 |
+
```
|
47 |
+
|
48 |
+
## Chat Template
|
49 |
+
|
50 |
+
```Python
|
51 |
+
template = """### System:
|
52 |
+
{{system_content}}
|
53 |
+
|
54 |
+
### User:
|
55 |
+
{{question}}
|
56 |
+
|
57 |
+
### Assistant:
|
58 |
+
"""
|
59 |
```
|