Skip to content

Commit

Permalink
Phi-4 Summaries
Browse files Browse the repository at this point in the history
  • Loading branch information
standardgalactic committed Dec 18, 2024
1 parent 873e072 commit 92e5259
Show file tree
Hide file tree
Showing 2 changed files with 673 additions and 0 deletions.
12 changes: 12 additions & 0 deletions get-summaries.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/bash

output_file="summaries.txt"
: > "$output_file" # Clear the output file if it exists

for file in *.txt; do
echo "Checking $file" | tee -a "$output_file"
echo "=== Summary for $file ===" | tee -a "$output_file"
ollama run vanilj/phi-4 "Summarize:" < "$file" | tee -a "$output_file"
echo -e "\n" | tee -a "$output_file" # Add a blank line between summaries
done

Loading

0 comments on commit 92e5259

Please sign in to comment.