From 9c7aa9ce01478cd4056835e819a74b0d99f9555a Mon Sep 17 00:00:00 2001 From: Fuli Luo Date: Mon, 6 May 2024 22:12:47 +0800 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4025032..163be4a 100644 --- a/README.md +++ b/README.md @@ -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) 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: ```bash <|begin▁of▁sentence|>User: {user_message_1}