Update README.md
Browse files
README.md
CHANGED
@@ -51,15 +51,6 @@ When using the model, make sure your prompt is formated correctly!
|
|
51 |
|
52 |
Also, we recommend using VLLM rather than Hugging Face.
|
53 |
|
54 |
-
## Prompt Format:
|
55 |
-
|
56 |
-
```python
|
57 |
-
chat_template = "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}"
|
58 |
-
with_system_prompt = "<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n<|im_start|>user\nTranslate: Hello, world! into Portuguese.<|im_end|>\n"
|
59 |
-
# System prompts are optional.
|
60 |
-
without_system_prompt = "<|im_start|>user\nTranslate: Hello, world! into Portuguese.<|im_end|>\n"
|
61 |
-
```
|
62 |
-
|
63 |
### Using on VLLM:
|
64 |
|
65 |
```python
|
|
|
51 |
|
52 |
Also, we recommend using VLLM rather than Hugging Face.
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
### Using on VLLM:
|
55 |
|
56 |
```python
|