mirror of
https://github.com/deepseek-ai/DeepSeek-V2.git
synced 2025-02-22 21:59:05 -05:00
Update README.md
This commit is contained in:
parent
d1e23a88cd
commit
9c7aa9ce01
@ -232,7 +232,8 @@ outputs = model.generate(input_tensor.to(model.device), max_new_tokens=100)
|
|||||||
result = tokenizer.decode(outputs[0][input_tensor.shape[1]:], skip_special_tokens=True)
|
result = tokenizer.decode(outputs[0][input_tensor.shape[1]:], skip_special_tokens=True)
|
||||||
print(result)
|
print(result)
|
||||||
```
|
```
|
||||||
The complete chat template can be founded within `tokenizer_config.json` located in the huggingface model repository/
|
The complete chat template can be found within `tokenizer_config.json` located in the huggingface model repository.
|
||||||
|
|
||||||
An example of chat template is as belows:
|
An example of chat template is as belows:
|
||||||
```bash
|
```bash
|
||||||
<|begin▁of▁sentence|>User: {user_message_1}
|
<|begin▁of▁sentence|>User: {user_message_1}
|
||||||
|
Loading…
Reference in New Issue
Block a user