Explorar el Código

L3p/readme prompt updates (#440)

Hamid Shojanazeri hace 7 meses
padre
commit
d0d36d21be
Se han modificado 3 ficheros con 32 adiciones y 5 borrados
  1. 22 0
      README.md
  2. 5 5
      recipes/responsible_ai/README.md
  3. 5 0
      scripts/spellcheck_conf/wordlist.txt

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 22 - 0
README.md


+ 5 - 5
recipes/responsible_ai/README.md

@@ -1,11 +1,11 @@
-# Llama Guard
+# Meta Llama Guard
 
-Llama Guard is a new experimental model that provides input and output guardrails for LLM deployments. For more details, please visit the main [repository](https://github.com/facebookresearch/PurpleLlama/tree/main/Llama-Guard).
+Meta Llama Guard and Meta Llama Guard 2 are new models that provide input and output guardrails for LLM inference. For more details, please visit the main [repository](https://github.com/facebookresearch/PurpleLlama/tree/main/Llama-Guard2).
 
-**Note** Please find the right model on HF side [here](https://huggingface.co/meta-llama/LlamaGuard-7b). 
+**Note** Please find the right model on HF side [here](https://huggingface.co/meta-llama/Meta-Llama-Guard-2-8B). 
 
 ### Running locally
-The [llama_guard](llama_guard) folder contains the inference script to run Llama Guard locally. Add test prompts directly to the [inference script](llama_guard/inference.py) before running it.
+The [llama_guard](llama_guard) folder contains the inference script to run Meta Llama Guard locally. Add test prompts directly to the [inference script](llama_guard/inference.py) before running it.
 
 ### Running on the cloud
-The notebooks [Purple_Llama_Anyscale](Purple_Llama_Anyscale.ipynb) & [Purple_Llama_OctoAI](Purple_Llama_OctoAI.ipynb) contain examples for running Llama Guard on cloud hosted endpoints.
+The notebooks [Purple_Llama_Anyscale](Purple_Llama_Anyscale.ipynb) & [Purple_Llama_OctoAI](Purple_Llama_OctoAI.ipynb) contain examples for running Meta Llama Guard on cloud hosted endpoints.

+ 5 - 0
scripts/spellcheck_conf/wordlist.txt

@@ -1289,3 +1289,8 @@ tokenize
 tokenizer's
 tokenizers
 warmup
+BOS
+EOS
+eot
+multiturn
+tiktoken