Correct typo in week4/day4.ipynb

Change function from stream_code_quen to stream_code_qwen
This commit is contained in:
Cloud LLama
2024-12-18 06:42:11 -05:00
committed by GitHub
parent 8a0dc7f89c
commit 9179ced9b1

View File

@@ -609,7 +609,7 @@
"metadata": {},
"outputs": [],
"source": [
"def stream_code_quen(python):\n",
"def stream_code_qwen(python):\n",
" tokenizer = AutoTokenizer.from_pretrained(code_qwen)\n",
" messages = messages_for(python)\n",
" text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)\n",