diff --git a/docs/inference.md b/docs/inference.md index 475251aee3e773e7c25792df72bef11755c084fd..48a3c8eeedb086c6061bf5c719e9fcfa71a1e69f 100644 --- a/docs/inference.md +++ b/docs/inference.md @@ -31,7 +31,7 @@ inference/samsum_prompt.txt The inference folder also includes a chat completion example, that adds built-in safety features in fine-tuned models to the prompt tokens. To run the example: ```bash -python inference/chat_completion.py --model_name "PATH/TO/MODEL/7B/" --prompt_file chats.json --quantization --use_auditnlg +python inference/chat_completion.py --model_name "PATH/TO/MODEL/7B/" --prompt_file inference/chats.json --quantization --use_auditnlg ``` diff --git a/ts_scripts/markdown_link_check_config.json b/scripts/markdown_link_check_config.json similarity index 100% rename from ts_scripts/markdown_link_check_config.json rename to scripts/markdown_link_check_config.json diff --git a/ts_scripts/spellcheck.sh b/scripts/spellcheck.sh similarity index 80% rename from ts_scripts/spellcheck.sh rename to scripts/spellcheck.sh index 0f95f8c49b353a93ddf5a44a80a727164a365ed6..7f423d5037cafa310a2761e395dc0dba9d270214 100755 --- a/ts_scripts/spellcheck.sh +++ b/scripts/spellcheck.sh @@ -16,5 +16,5 @@ done if [ ! "$sources_arg" ]; then echo "No files to spellcheck" else - pyspelling -c ts_scripts/spellcheck_conf/spellcheck.yaml --name Markdown $sources_arg + pyspelling -c scripts/spellcheck_conf/spellcheck.yaml --name Markdown $sources_arg fi diff --git a/ts_scripts/spellcheck_conf/spellcheck.yaml b/scripts/spellcheck_conf/spellcheck.yaml similarity index 83% rename from ts_scripts/spellcheck_conf/spellcheck.yaml rename to scripts/spellcheck_conf/spellcheck.yaml index 03187482ce68be4dd12eaf793deefcf2ac3f089f..3a9a2df84e3d068badd43752c0fd74164c8150dc 100644 --- a/ts_scripts/spellcheck_conf/spellcheck.yaml +++ b/scripts/spellcheck_conf/spellcheck.yaml @@ -5,8 +5,8 @@ matrix: d: en_US dictionary: wordlists: - - ts_scripts/spellcheck_conf/wordlist.txt - output: ts_scripts/spellcheck_conf/wordlist.dic + - scripts/spellcheck_conf/wordlist.txt + output: scripts/spellcheck_conf/wordlist.dic encoding: utf-8 pipeline: - pyspelling.filters.context: diff --git a/ts_scripts/spellcheck_conf/wordlist.txt b/scripts/spellcheck_conf/wordlist.txt similarity index 99% rename from ts_scripts/spellcheck_conf/wordlist.txt rename to scripts/spellcheck_conf/wordlist.txt index 3a0a6b1ed6ab8ae0ea35c157755f8e3f604387e9..77ef92c0954d80f64ea0b34e9a1b11f4afcc6130 100644 --- a/ts_scripts/spellcheck_conf/wordlist.txt +++ b/scripts/spellcheck_conf/wordlist.txt @@ -1063,4 +1063,8 @@ inferentia ActionSLAM statins ci -chatGPT \ No newline at end of file +chatGPT +Llama +PEFT +LORA +FSDP \ No newline at end of file