From 8123c5b01aad13f64650bad9ee9a30fe120a0312 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 20 Feb 2023 15:06:27 -0300 Subject: [PATCH] Sort the imports --- convert-to-safetensors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert-to-safetensors.py b/convert-to-safetensors.py index 177c67d0..60770843 100644 --- a/convert-to-safetensors.py +++ b/convert-to-safetensors.py @@ -11,13 +11,13 @@ https://gist.github.com/81300/fe5b08bff1cba45296a829b9d6b0f303 ''' +import argparse from pathlib import Path from sys import argv import torch from transformers import AutoModelForCausalLM from transformers import AutoTokenizer -import argparse parser = argparse.ArgumentParser(formatter_class=lambda prog: argparse.HelpFormatter(prog,max_help_position=54)) parser.add_argument('MODEL', type=str, default=None, nargs='?', help="Path to the input model.")