File size: 1,546 Bytes
10f0372
 
 
 
 
 
 
 
284eba2
 
 
 
 
10f0372
 
 
 
 
 
 
284eba2
 
 
 
 
10f0372
284eba2
 
 
 
 
 
 
 
 
 
 
10f0372
c55bcda
10f0372
c9f9241
10f0372
 
284eba2
 
 
c9f9241
284eba2
 
10f0372
 
 
 
284eba2
911ab26
284eba2
10f0372
 
c389450
10f0372
 
c389450
10f0372
87be7e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
  "Kestrel": {
    "EndPoints": {
      "Http": {
        "Url": "http://*:7860"
      }
    }
  },
  "AzureAd2": {
    "Instance": "",
    "ClientId": "",
    "TenantId": ""
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },

  "BlobLogging": {
    "ConnectionString": "",
    "ContainerName": ""
  },
  "AllowedHosts": "*",
  "Language": "en",
  "Prompts": {
    "Title": "聊天机器人", 
    "Update": "开始",
    "TypeTurn": "输入你想聊天的内容",
    "Description": "请告诉AI你想要的情节概要,AI作家会帮你撰写出具体的内容",
    "Send": "发送",
    "Clear": "清除",
    "MessageTag": " [ai] ",
    "PromptTag": " [user] "
  },
  "Seq2Seq": {
    "CompilerOptions": "--use_fast_math --gpu-architecture=compute_75",
    "GPUMemoryUsageRatio": 0.99,
    "CudaMemoryAllocatorType": "CudaMemoryPool",
    "DeviceIds": "0",
    "DistancePenalty": 2,
    "MaxSrcTokenSize": 4096,
    "MaxTgtTokenSize": 4096,
    "ModelFilePath": "/code/bin/ybook_2b_chat.model.522000",
    "ProcessorType": "GPU",
    "AMP": false,
    "MKLInstructions": "AVX2",
    "RepeatPenalty": 5,
    "TokenGenerationStrategy": "Sampling",
    "TopPSampling": 0.0,
    "BeamSearchSize": 1,
    "BlockedTokens": "0 1 2",
    "ModelType": "DecoderOnly",
    "LogVerbose": "Normal"
  },
  "SourceSpm": {
    "ModelFilePath": "/code/bin/chsSpm.model"
  },
  "TargetSpm": {
    "ModelFilePath": "/code/bin/chsSpm.model"
  }
}