mirror of
https://github.com/DrHo1y/ezrknn-llm.git
synced 2026-03-23 09:06:47 +07:00
Added default Qwen modelpath
This commit is contained in:
@@ -5,7 +5,8 @@ https://huggingface.co/Qwen/Qwen-1_8B-Chat
|
|||||||
Download the Qwen model from the above website.
|
Download the Qwen model from the above website.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
modelpath = '/path/to/your/model'
|
# Default option. Works only if in the same directory
|
||||||
|
modelpath = 'Qwen-1_8B-Chat'
|
||||||
llm = RKLLM()
|
llm = RKLLM()
|
||||||
|
|
||||||
# Load model
|
# Load model
|
||||||
@@ -25,5 +26,3 @@ ret = llm.export_rkllm("./qwen.rkllm")
|
|||||||
if ret != 0:
|
if ret != 0:
|
||||||
print('Export model failed!')
|
print('Export model failed!')
|
||||||
exit(ret)
|
exit(ret)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user