瀏覽代碼

Update recipes/responsible_ai/llama_guard/llama_guard_text_and_vision_inference.ipynb

Co-authored-by: Thomas Robinson <tryrobbo@users.noreply.github.com>
albertodepaola 6 月之前
父節點
當前提交
19aa525615
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      recipes/responsible_ai/llama_guard/llama_guard_text_and_vision_inference.ipynb

+ 1 - 1
recipes/responsible_ai/llama_guard/llama_guard_text_and_vision_inference.ipynb

@@ -71,7 +71,7 @@
     "## Inference functions\n",
     "\n",
     "This function uses the `apply_chat_template` helper function to tokenize and run inference on the provided inputs. The new templates support setting an arbitrary dictionary of categories or excluding the predefined categories by passing a list of the preexisting keys. Examples of this are shown below.\n",
-    "In this example, we use the `skip_special_tokens=False` parameter in the decode function to show the `<|eot_id|>` token being generated. For eaiser parsing in production, this can be set to `True`, to facilitate parsing the result."
+    "In this example, we use the `skip_special_tokens=False` parameter in the decode function to show the `<|eot_id|>` token being generated. For easier parsing in production, this parameter can be set to `True`."
    ]
   },
   {