Browse Source

Updates per Geeta's request

Updates per Geeta's request
sekyonda 1 year ago
parent
commit
f93d4c891e

+ 1 - 1
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
 
 ```
 


+ 1 - 1
ts_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

+ 2 - 2
ts_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:

+ 5 - 1
ts_scripts/spellcheck_conf/wordlist.txt

@@ -1063,4 +1063,8 @@ inferentia
 ActionSLAM
 statins
 ci
-chatGPT
+chatGPT
+Llama
+PEFT
+LORA
+FSDP