Add ggml gpt command. - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit e2274ec5f948466a23937ee00b3ee21290d55c6e
DIR parent a77fb872b96213f089f80bc08f74829d96dd9f69
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Mon, 21 Aug 2023 15:28:27 +0200
Add ggml gpt command.
Diffstat:
A ggml | 11 +++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)
---
DIR diff --git a/ggml b/ggml
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+ggmlbase="$HOME/scm/ggml"
+ggmlbin="./build/bin/gpt-2"
+ggmlmodel="models/gpt-2-1558M/ggml-model.bin"
+
+cd $ggmlbase
+$ggmlbin -m $ggmlmodel -p "$@" \
+ | tail -n +19 \
+ | head -n -6
+