zhongkaifu
commited on
Commit
•
9f24d55
1
Parent(s):
b7460af
Create appsettings.json
Browse files- appsettings.json +68 -0
appsettings.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"Kestrel": {
|
3 |
+
"EndPoints": {
|
4 |
+
"Http": {
|
5 |
+
"Url": "http://*:5000"
|
6 |
+
}
|
7 |
+
}
|
8 |
+
},
|
9 |
+
"AzureAd2": {
|
10 |
+
"Instance": "",
|
11 |
+
"ClientId": "",
|
12 |
+
"TenantId": ""
|
13 |
+
},
|
14 |
+
"Logging": {
|
15 |
+
"LogLevel": {
|
16 |
+
"Default": "Information",
|
17 |
+
"Microsoft": "Warning",
|
18 |
+
"Microsoft.Hosting.Lifetime": "Information"
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"BlobLogging": {
|
22 |
+
"ConnectionString": "",
|
23 |
+
"ContainerName": ""
|
24 |
+
},
|
25 |
+
|
26 |
+
"AllowedHosts": "*",
|
27 |
+
"Language": "en",
|
28 |
+
"MaxWordSizePerTurn": 1024,
|
29 |
+
"Prompts": {
|
30 |
+
"Title": "医疗健康AI",
|
31 |
+
"Update": "开始",
|
32 |
+
"TypeTurn": "输入你想咨询的健康问题或者回复AI,不满意结果请点击 ⟳ 按钮",
|
33 |
+
"Description": "请向AI说明您需要咨询的医疗健康问题,AI将与您讨论并提供意见与建议。请注意:AI的意见和建议可能存在不准确之处,任何医疗健康问题请务必遵循专业执业医师的指导意见。本AI及其开发者不对由此产生的任何问题或损失承担责任。",
|
34 |
+
"Send": "发送",
|
35 |
+
"Clear": "清除",
|
36 |
+
"MessageTag": "[message]",
|
37 |
+
"PromptTag": "[prompt]"
|
38 |
+
},
|
39 |
+
"Seq2Seq": {
|
40 |
+
"CompilerOptions": "--use_fast_math --gpu-architecture=compute_80 --include-path=/code/bin",
|
41 |
+
"GPUMemoryUsageRatio": 0.99,
|
42 |
+
"CudaMemoryAllocatorType": "CustomMemoryPool",
|
43 |
+
"DeviceIds": "0",
|
44 |
+
"DistancePenalty": 2,
|
45 |
+
"MaxSrcTokenSize": 4096,
|
46 |
+
"MaxTgtTokenSize": 4096,
|
47 |
+
"ModelFilePath": "/code/bin/ybook_chat_7b.model.308000",
|
48 |
+
"ProcessorType": "GPU",
|
49 |
+
"AMP": true,
|
50 |
+
"MKLInstructions": "AVX2",
|
51 |
+
"RepeatPenalty": 1.0,
|
52 |
+
"TokenGenerationStrategy": "Sampling",
|
53 |
+
"TopPSampling": 0.0,
|
54 |
+
"Temperature": 1.0,
|
55 |
+
"BeamSearchSize": 1,
|
56 |
+
"BlockedTokens": "",
|
57 |
+
"ModelType": "DecoderOnly",
|
58 |
+
"LogVerbose": "Normal",
|
59 |
+
"AttentionType": "Classic",
|
60 |
+
"KVCache": true
|
61 |
+
},
|
62 |
+
"SourceSpm": {
|
63 |
+
"ModelFilePath": "/code/bin/chsSpm.model"
|
64 |
+
},
|
65 |
+
"TargetSpm": {
|
66 |
+
"ModelFilePath": "/code/bin/chsSpm.model"
|
67 |
+
}
|
68 |
+
}
|