Initializing repository with study materials
This commit is contained in:
21
script.sh
Executable file
21
script.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# arg1: model name
|
||||
# arg2: input file
|
||||
# arg3: output file
|
||||
|
||||
model="$1"
|
||||
file="$2"
|
||||
output="$3"
|
||||
|
||||
prompt="Review the attached text and return csv-formatted data (with no markdown wrapper or other text) for every possible incidence of a virtue for living well among protocols.
|
||||
|
||||
column 1: brief name of the virtue (1-3 words)
|
||||
column 2: summary (1-3 paraphrased sentences, in your own words)
|
||||
column 3: unique, verbatim quotation of text where the virtue appears (10-15 words), so the reference can be found
|
||||
|
||||
Protocols are defined extremely broadly as 'patterns of interaction,' and may be of a nontechnical nature. Encapsulate values in quotation marks to avoid breaking on commas."
|
||||
|
||||
llm -m "$model" -o num_ctx 128000 -f "$file" "$prompt" >> "$output"
|
||||
echo "Completed: $model $file $output" >> "$output"
|
||||
echo "Completed: $model $file $output"
|
||||
|
||||
Reference in New Issue
Block a user