From 083e01e81533b6a4e1c1a834027d7dd7eab5f886 Mon Sep 17 00:00:00 2001 From: MrRaph_ Date: Tue, 23 Jul 2024 11:40:00 +0200 Subject: [PATCH] . --- .DS_Store | Bin 0 -> 6148 bytes AI/image-caption-and-hashtags.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e10ac7ba32fd245db642bcb6f70ba85619a50701 GIT binary patch literal 6148 zcmeH~K}*9h6vvZox{M+8py)B+b>QYyCSGct2d`H2pfX!Jv{)NiJ9`*|UiAz4P5eB* zm!#lyXAyaUaqB;*!q0KK{wB#VQE^C$*-oVgXdGRM{qSAZlSFu$LkrW^WNC8rS6sQgd z(IzcO0aAbz_@)3}9wk(yYgroVdnGh@eMWx+i3MzYOCY7CYgrnC2MRZ-K$FVt6N8&{ z7?(EAwJZ%yI^%j}n8&VMJzlt89mb^&XWTWUmJ}cb78R(Qu7l_QDg0!XKJph+s7DHr z0{=__-Wd8r4>o1b)*su$vsOaAgNg;?N;IH=y>JPD4*rj9X{Yf^v?0#5EDdoM9M|bU Ox(H}Ns38S@L4i**Mn}Z} literal 0 HcmV?d00001 diff --git a/AI/image-caption-and-hashtags.sh b/AI/image-caption-and-hashtags.sh index 2721e3f..5e317e6 100755 --- a/AI/image-caption-and-hashtags.sh +++ b/AI/image-caption-and-hashtags.sh @@ -32,7 +32,7 @@ nl=$'\n' ( echo '<|begin_of_text|><|start_header_id|>system<|end_header_id|>' echo "Give a short, accurate and fun caption for the picture. Give a list of 9 trending hashtags that suits with the given description. Give only the caption and hashtags list, don't say anything else. Output must be made in French. Based on following image description :" - $LLAMAFILES_PATH/llava-v1.5-7b-q4.llamafile --temp 0.2 --image "$imagePath" -e -p "### User: Describe the image as accurately and in as much detail as possible. Don't try to make up details or information you don't know. Don't hesitate to make a description as log as possible to best describe the picture.\n### Assistant:" --no-display-prompt 2>/dev/null + $LLAMAFILES_PATH/llava-v1.5-7b-q4.llamafile --temp 0.2 --image "$imagePath" -e -p "### User: Describe the image as accurately and in as much detail as possible. Don't try to make up details or information you don't know. Don't hesitate to make a description as long as possible to best describe the picture.\n### Assistant:" --no-display-prompt 2>/dev/null echo '<|eot_id|>{{history}}<|start_header_id|>{{char}}<|end_header_id|>' ) | $LLAMAFILES_PATH/Meta-Llama-3-8B-Instruct.Q5_K_M.llamafile -ngl 9999 \ -f /dev/stdin \