mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-15 16:18:10 +08:00
support solar 10.7B #1907
Former-commit-id: ecf9b35c612e5514dd25b0d15835d28447a7437e
This commit is contained in:
parent
2edbe87a8c
commit
cfe1e24471
@ -617,6 +617,19 @@ register_template(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
register_template(
|
||||||
|
name="solar",
|
||||||
|
prefix=[
|
||||||
|
"{{system}}"
|
||||||
|
],
|
||||||
|
prompt=[
|
||||||
|
"### User:\n{{query}}\n\n### Assistant:\n"
|
||||||
|
],
|
||||||
|
system="",
|
||||||
|
sep=[]
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
register_template(
|
register_template(
|
||||||
name="starchat",
|
name="starchat",
|
||||||
prefix=[
|
prefix=[
|
||||||
|
@ -534,6 +534,20 @@ register_model_group(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
register_model_group(
|
||||||
|
models={
|
||||||
|
"SOLAR-10.7B": {
|
||||||
|
DownloadSource.DEFAULT: "upstage/SOLAR-10.7B-v1.0"
|
||||||
|
},
|
||||||
|
"SOLAR-10.7B-Chat": {
|
||||||
|
DownloadSource.DEFAULT: "upstage/SOLAR-10.7B-Instruct-v1.0",
|
||||||
|
DownloadSource.MODELSCOPE: "AI-ModelScope/SOLAR-10.7B-Instruct-v1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
template="solar"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
register_model_group(
|
register_model_group(
|
||||||
models={
|
models={
|
||||||
"Skywork-13B-Base": {
|
"Skywork-13B-Base": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user