Skip to content

Commit

Permalink
chmod : make scripts executable (#2675)
Browse files Browse the repository at this point in the history
  • Loading branch information
cebtenzzre authored Aug 23, 2023
1 parent f19dca0 commit 7c2227a
Show file tree
Hide file tree
Showing 23 changed files with 16 additions and 3 deletions.
Empty file modified ci/run.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions convert-falcon-hf-to-gguf.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# HF falcon--> gguf conversion

import gguf
Expand Down
1 change: 1 addition & 0 deletions convert-gptneox-hf-to-gguf.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# HF gptneox--> gguf conversion

import gguf
Expand Down
1 change: 1 addition & 0 deletions convert-llama-7b-pth-to-gguf.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# 7b pth llama --> gguf conversion
# Only models with a single datafile are supported, like 7B
# HF files required in the model dir: config.json tokenizer_config.json tokenizer.json tokenizer.model
Expand Down
1 change: 1 addition & 0 deletions convert-llama-ggmlv3-to-gguf.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import sys, struct, math, argparse
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions convert-llama-hf-to-gguf.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# HF llama --> gguf conversion

import gguf
Expand Down
2 changes: 1 addition & 1 deletion convert-lora-to-ggml.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import json
import os
import re
Expand Down
2 changes: 1 addition & 1 deletion convert.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import gguf
import argparse
Expand Down
1 change: 1 addition & 0 deletions examples/embd-input/embd_input.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions examples/embd-input/llava.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import sys
import os
sys.path.insert(0, os.path.dirname(__file__))
Expand Down
1 change: 1 addition & 0 deletions examples/embd-input/minigpt4.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import sys
import os
sys.path.insert(0, os.path.dirname(__file__))
Expand Down
1 change: 1 addition & 0 deletions examples/embd-input/panda_gpt.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import sys
import os
sys.path.insert(0, os.path.dirname(__file__))
Expand Down
1 change: 1 addition & 0 deletions examples/jeopardy/graph.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import matplotlib.pyplot as plt
import os
import csv
Expand Down
Empty file modified examples/jeopardy/jeopardy.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions examples/json-schema-to-grammar.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import argparse
import json
import re
Expand Down
1 change: 1 addition & 0 deletions examples/make-ggml.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
"""
This script converts Hugging Face llama models to GGML and quantizes them.
Expand Down
1 change: 0 additions & 1 deletion examples/reason-act.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#!/bin/bash

cd `dirname $0`
Expand Down
Empty file modified examples/server-llama2-13B.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions examples/server/api_like_OAI.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import argparse
from flask import Flask, jsonify, request, Response
import urllib.parse
Expand Down
Empty file modified examples/server/chat-llama2.sh
100644 → 100755
Empty file.
Empty file modified examples/server/chat.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions gguf.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import shutil
import sys
import struct
Expand Down
Empty file modified scripts/get-wikitext-2.sh
100644 → 100755
Empty file.

0 comments on commit 7c2227a

Please sign in to comment.