-
- Downloads
Merge branch 'main' into purple_llama
Showing
- README.md 3 additions, 3 deletionsREADME.md
- demo_apps/README.md 8 additions, 8 deletionsdemo_apps/README.md
- examples/inference.py 12 additions, 2 deletionsexamples/inference.py
- examples/llama_guard/README.md 19 additions, 0 deletionsexamples/llama_guard/README.md
- examples/llama_guard/__init__.py 6 additions, 0 deletionsexamples/llama_guard/__init__.py
- examples/llama_guard/generation.py 458 additions, 0 deletionsexamples/llama_guard/generation.py
- examples/llama_guard/model.py 495 additions, 0 deletionsexamples/llama_guard/model.py
- examples/llama_guard/prompt_format.py 146 additions, 0 deletionsexamples/llama_guard/prompt_format.py
- examples/llama_guard/tokenizer.py 68 additions, 0 deletionsexamples/llama_guard/tokenizer.py
- pyproject.toml 6 additions, 1 deletionpyproject.toml
- scripts/spellcheck_conf/wordlist.txt 4 additions, 8 deletionsscripts/spellcheck_conf/wordlist.txt
- src/llama_recipes/inference/safety_utils.py 152 additions, 14 deletionssrc/llama_recipes/inference/safety_utils.py
- tests/conftest.py 38 additions, 6 deletionstests/conftest.py
- tests/datasets/test_custom_dataset.py 2 additions, 1 deletiontests/datasets/test_custom_dataset.py
- tests/datasets/test_grammar_datasets.py 5 additions, 3 deletionstests/datasets/test_grammar_datasets.py
- tests/datasets/test_samsum_datasets.py 4 additions, 2 deletionstests/datasets/test_samsum_datasets.py
- tests/test_batching.py 4 additions, 2 deletionstests/test_batching.py
- tests/test_train_utils.py 8 additions, 7 deletionstests/test_train_utils.py
Loading
Please register or sign in to comment