diff options
author | Cebtenzzre <cebtenzzre@gmail.com> | 2023-08-23 10:29:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 17:29:09 +0300 |
commit | 7c2227a1972a4add4b5c118e4914c086513d0382 (patch) | |
tree | 3b0799d180328fbfa5f457193a1b7a549bfbf187 /examples | |
parent | f19dca04ea5fbf9a0b2753091d93464585d5c73b (diff) |
chmod : make scripts executable (#2675)
Diffstat (limited to 'examples')
-rwxr-xr-x[-rw-r--r--] | examples/embd-input/embd_input.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | examples/embd-input/llava.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | examples/embd-input/minigpt4.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | examples/embd-input/panda_gpt.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | examples/jeopardy/graph.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | examples/jeopardy/jeopardy.sh | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | examples/json-schema-to-grammar.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | examples/make-ggml.py | 1 | ||||
-rwxr-xr-x | examples/reason-act.sh | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | examples/server-llama2-13B.sh | 0 | ||||
-rwxr-xr-x | examples/server/api_like_OAI.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | examples/server/chat-llama2.sh | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | examples/server/chat.sh | 0 |
13 files changed, 8 insertions, 1 deletions
diff --git a/examples/embd-input/embd_input.py b/examples/embd-input/embd_input.py index be289661..f146acdc 100644..100755 --- a/examples/embd-input/embd_input.py +++ b/examples/embd-input/embd_input.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import ctypes from ctypes import cdll, c_char_p, c_void_p, POINTER, c_float, c_int import numpy as np diff --git a/examples/embd-input/llava.py b/examples/embd-input/llava.py index bcbdd2be..06fad55f 100644..100755 --- a/examples/embd-input/llava.py +++ b/examples/embd-input/llava.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import sys import os sys.path.insert(0, os.path.dirname(__file__)) diff --git a/examples/embd-input/minigpt4.py b/examples/embd-input/minigpt4.py index 15c9b77c..7b13e4a5 100644..100755 --- a/examples/embd-input/minigpt4.py +++ b/examples/embd-input/minigpt4.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import sys import os sys.path.insert(0, os.path.dirname(__file__)) diff --git a/examples/embd-input/panda_gpt.py b/examples/embd-input/panda_gpt.py index 0cfac5f3..891ad7cc 100644..100755 --- a/examples/embd-input/panda_gpt.py +++ b/examples/embd-input/panda_gpt.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import sys import os sys.path.insert(0, os.path.dirname(__file__)) diff --git a/examples/jeopardy/graph.py b/examples/jeopardy/graph.py index 1b6c54bf..8bc0706b 100644..100755 --- a/examples/jeopardy/graph.py +++ b/examples/jeopardy/graph.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import matplotlib.pyplot as plt import os import csv diff --git a/examples/jeopardy/jeopardy.sh b/examples/jeopardy/jeopardy.sh index 9bdbc755..9bdbc755 100644..100755 --- a/examples/jeopardy/jeopardy.sh +++ b/examples/jeopardy/jeopardy.sh diff --git a/examples/json-schema-to-grammar.py b/examples/json-schema-to-grammar.py index 2dccc118..2a4cb65b 100644..100755 --- a/examples/json-schema-to-grammar.py +++ b/examples/json-schema-to-grammar.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import argparse import json import re diff --git a/examples/make-ggml.py b/examples/make-ggml.py index f63d9fc2..6a34eeac 100644..100755 --- a/examples/make-ggml.py +++ b/examples/make-ggml.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 """ This script converts Hugging Face llama models to GGML and quantizes them. diff --git a/examples/reason-act.sh b/examples/reason-act.sh index e7fe655d..046c48db 100755 --- a/examples/reason-act.sh +++ b/examples/reason-act.sh @@ -1,4 +1,3 @@ - #!/bin/bash cd `dirname $0` diff --git a/examples/server-llama2-13B.sh b/examples/server-llama2-13B.sh index 17fedc2b..17fedc2b 100644..100755 --- a/examples/server-llama2-13B.sh +++ b/examples/server-llama2-13B.sh diff --git a/examples/server/api_like_OAI.py b/examples/server/api_like_OAI.py index aa325a03..ed19237b 100755 --- a/examples/server/api_like_OAI.py +++ b/examples/server/api_like_OAI.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import argparse from flask import Flask, jsonify, request, Response import urllib.parse diff --git a/examples/server/chat-llama2.sh b/examples/server/chat-llama2.sh index 1fc79b7e..1fc79b7e 100644..100755 --- a/examples/server/chat-llama2.sh +++ b/examples/server/chat-llama2.sh diff --git a/examples/server/chat.sh b/examples/server/chat.sh index 01436012..01436012 100644..100755 --- a/examples/server/chat.sh +++ b/examples/server/chat.sh |