云端训练脚本 + 新词表 + gen_pretrain优化
This commit is contained in:
1 parent
16458aea92
commit
6dbc1405c6
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -7,7 +7,7 @@ import json, requests, time, os, threading
|
|||||||
from concurrent.futures import ThreadPoolExecutor, as_completed
|
from concurrent.futures import ThreadPoolExecutor, as_completed
|
||||||
|
|
||||||
ASTRON_URL = "https://maas-coding-api.cn-huabei-1.xf-yun.com/v2/chat/completions"
|
ASTRON_URL = "https://maas-coding-api.cn-huabei-1.xf-yun.com/v2/chat/completions"
|
||||||
ASTRON_KEY = "658beba1beb0c911ed00672019bbf7e5:MjNmYWRkMWUyZjAxYTM3ZGE2ODI1YzFh"
|
ASTRON_KEY = os.environ.get("ASTRON_KEY", "")
|
||||||
ASTRON_MODEL = "astron-code-latest"
|
ASTRON_MODEL = "astron-code-latest"
|
||||||
|
|
||||||
SYSTEM_PROMPT = """你是一个名叫小狸的8岁中国小女孩。
|
SYSTEM_PROMPT = """你是一个名叫小狸的8岁中国小女孩。
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import json, requests, time, os
|
|||||||
from concurrent.futures import ThreadPoolExecutor, as_completed
|
from concurrent.futures import ThreadPoolExecutor, as_completed
|
||||||
|
|
||||||
ASTRON_URL = "https://maas-coding-api.cn-huabei-1.xf-yun.com/v2/chat/completions"
|
ASTRON_URL = "https://maas-coding-api.cn-huabei-1.xf-yun.com/v2/chat/completions"
|
||||||
ASTRON_KEY = "658beba1beb0c911ed00672019bbf7e5:MjNmYWRkMWUyZjAxYTM3ZGE2ODI1YzFh"
|
ASTRON_KEY = os.environ.get("ASTRON_KEY", "")
|
||||||
ASTRON_MODEL = "astron-code-latest"
|
ASTRON_MODEL = "astron-code-latest"
|
||||||
|
|
||||||
SYSTEM_PROMPT = """你是一个名叫小狸的8岁中国小女孩。
|
SYSTEM_PROMPT = """你是一个名叫小狸的8岁中国小女孩。
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:db648112bd045bf0e48f9ed28e85c4033da73f6338ce0a8fca0bbfc21fd8a8e8
|
oid sha256:9746baace6ebbb410065f45ae4862d2a439e094b5477af8de6b20869adf84309
|
||||||
size 999243
|
size 314876
|
||||||
Reference in new issue
Block a user