updated lite
This commit is contained in:
parent
a5a85d68c6
commit
32dada5e5f
2 changed files with 52 additions and 10 deletions
58
klite.embd
58
klite.embd
File diff suppressed because one or more lines are too long
|
@ -207,7 +207,7 @@ def utfprint(str):
|
|||
#################################################################
|
||||
friendlymodelname = "concedo/koboldcpp" # local kobold api apparently needs a hardcoded known HF model name
|
||||
maxctx = 2048
|
||||
maxlen = 128
|
||||
maxlen = 256
|
||||
modelbusy = False
|
||||
defaultport = 5001
|
||||
KcppVersion = "1.27"
|
||||
|
@ -629,7 +629,7 @@ def main(args):
|
|||
if __name__ == '__main__':
|
||||
print("Welcome to KoboldCpp - Version " + KcppVersion) # just update version manually
|
||||
# print("Python version: " + sys.version)
|
||||
parser = argparse.ArgumentParser(description='Kobold llama.cpp server')
|
||||
parser = argparse.ArgumentParser(description='KoboldCpp Server')
|
||||
modelgroup = parser.add_mutually_exclusive_group() #we want to be backwards compatible with the unnamed positional args
|
||||
modelgroup.add_argument("--model", help="Model file to load", nargs="?")
|
||||
modelgroup.add_argument("model_param", help="Model file to load (positional)", nargs="?")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue