Skip to content

Commit

Permalink
Merge pull request #1 from prusnak/convert-script-flake8
Browse files Browse the repository at this point in the history
convert.py: fix flake8 issues + sort imports with isort
  • Loading branch information
comex authored Apr 14, 2023
2 parents b9c372d + 54b7b12 commit 209e5f8
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 41 deletions.
4 changes: 3 additions & 1 deletion convert-pth-to-ggml.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Compatibility stub

import argparse, convert
import argparse

import convert

parser = argparse.ArgumentParser(description='Convert a LLaMA model checkpoint to a ggml compatible file')
parser.add_argument('dir_model', help='directory containing the model checkpoint')
Expand Down
Loading

0 comments on commit 209e5f8

Please sign in to comment.