Introduction
Introduction Statistics Contact Development Disclaimer Help
More output and remove endoftext. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit fd9d49e110ca32aa32c040d869161cb9b25ede2d
parent 25728ff0be3295e3b016a0963b03afccd27742ab
Author: Annna Robert-Houdin <[email protected]>
Date: Mon, 21 Aug 2023 15:51:03 +0200
More output and remove endoftext.
Diffstat:
M ggml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ggml b/ggml
@@ -3,9 +3,12 @@
ggmlbase="$HOME/scm/ggml"
ggmlbin="./build/bin/gpt-2"
ggmlmodel="models/gpt-2-1558M/ggml-model.bin"
+ggmlntokens="400"
cd $ggmlbase
-$ggmlbin -m $ggmlmodel -p "$@" 2>/dev/null \
+$ggmlbin -m $ggmlmodel -n $ggmlntokens \
+ -p "$1" 2>/dev/null \
| tail -n +19 \
- | head -n -6
+ | head -n -6 \
+ | sed 's,<|endoftext|>,,'
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.