zhongkaifu commited on
Commit
284eba2
1 Parent(s): 1814759

Update appsettings.json

Browse files
Files changed (1) hide show
  1. appsettings.json +28 -12
appsettings.json CHANGED
@@ -6,6 +6,11 @@
6
  }
7
  }
8
  },
 
 
 
 
 
9
  "Logging": {
10
  "LogLevel": {
11
  "Default": "Information",
@@ -13,31 +18,42 @@
13
  "Microsoft.Hosting.Lifetime": "Information"
14
  }
15
  },
 
 
 
 
 
16
  "AllowedHosts": "*",
17
- "Title": "中文小说续写",
18
- "Description": "输入一句或者几句话,AI帮你续写后面的故事。由于服务器处理能力有限,如遇到故事生成速度偏慢,请耐心等待。免责声明:本网站不对任何人因完全或部分地依据本网站的全部或部分内容而作出或不作出的任何事情和后果承担任何责任。",
19
- "TopP": 0.0,
20
- "Temperature": 1.0,
 
 
 
 
 
 
 
21
  "Seq2Seq": {
22
  "CompilerOptions": "--use_fast_math --gpu-architecture=compute_75",
23
  "GPUMemoryUsageRatio": 0.99,
24
  "CudaMemoryAllocatorType": "CudaMemoryPool",
25
  "DeviceIds": "0",
26
  "DistancePenalty": 2,
27
- "MaxSrcTokenSize": 2048,
28
- "MaxTgtTokenSize": 2048,
29
- "MaxTokenToGeneration" : 4096,
30
- "ModelFilePath": "/code/bin/ybook_2b.model.415000",
31
  "ProcessorType": "GPU",
32
- "MKLInstructions": "AVX512",
 
33
  "RepeatPenalty": 5,
34
  "TokenGenerationStrategy": "Sampling",
35
  "TopPSampling": 0.0,
36
  "BeamSearchSize": 1,
37
- "BlockedTokens": "",
38
  "ModelType": "DecoderOnly",
39
- "LogVerbose": "Normal",
40
- "WordMappingFilePath": "Map_SC_TC.txt"
41
  },
42
  "SourceSpm": {
43
  "ModelFilePath": "/code/bin/chsSpm.model"
 
6
  }
7
  }
8
  },
9
+ "AzureAd2": {
10
+ "Instance": "",
11
+ "ClientId": "",
12
+ "TenantId": ""
13
+ },
14
  "Logging": {
15
  "LogLevel": {
16
  "Default": "Information",
 
18
  "Microsoft.Hosting.Lifetime": "Information"
19
  }
20
  },
21
+
22
+ "BlobLogging": {
23
+ "ConnectionString": "",
24
+ "ContainerName": ""
25
+ },
26
  "AllowedHosts": "*",
27
+ "Language": "en",
28
+ "Prompts": {
29
+ "Title": "聊天机器人",
30
+ "Update": "开始",
31
+ "TypeTurn": "输入你想聊天的内容",
32
+ "Description": "请告诉AI你想要的情节概要,AI作家会帮你撰写出具体的内容",
33
+ "Send": "发送",
34
+ "Clear": "清除",
35
+ "MessageTag": " [ai] ",
36
+ "PromptTag": " [user] "
37
+ },
38
  "Seq2Seq": {
39
  "CompilerOptions": "--use_fast_math --gpu-architecture=compute_75",
40
  "GPUMemoryUsageRatio": 0.99,
41
  "CudaMemoryAllocatorType": "CudaMemoryPool",
42
  "DeviceIds": "0",
43
  "DistancePenalty": 2,
44
+ "MaxSrcTokenSize": 4096,
45
+ "MaxTgtTokenSize": 4096,
46
+ "ModelFilePath": "/code/bin/ybook_2b_chat.model.522000",
 
47
  "ProcessorType": "GPU",
48
+ "AMP": false,
49
+ "MKLInstructions": "AVX2",
50
  "RepeatPenalty": 5,
51
  "TokenGenerationStrategy": "Sampling",
52
  "TopPSampling": 0.0,
53
  "BeamSearchSize": 1,
54
+ "BlockedTokens": "0 1 2",
55
  "ModelType": "DecoderOnly",
56
+ "LogVerbose": "Normal"
 
57
  },
58
  "SourceSpm": {
59
  "ModelFilePath": "/code/bin/chsSpm.model"