File size: 1,257 Bytes
10f0372
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89151f0
911ab26
 
10f0372
 
 
 
 
f6aa40c
 
 
c389450
b0a47ca
f6aa40c
10f0372
 
 
 
 
911ab26
 
 
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
{
  "Kestrel": {
    "EndPoints": {
      "Http": {
        "Url": "http://*:7860"
      }
    }
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*",
  "Title": "中文小说续写",
  "Description": "输入一句或者几句话,AI帮你续写后面的故事。由于服务器处理能力有限,如遇到故事生成速度偏慢,请耐心等待。",
  "TopP": 0.1,
  "Temperature": 1.0,
  "Seq2Seq": {
    "CompilerOptions": "--use_fast_math",
    "GPUMemoryUsageRatio": 0.99,
    "DeviceIds": "0",
    "DistancePenalty": 2,
    "MaxSrcTokenSize": 2048,
    "MaxTgtTokenSize": 2048,
    "MaxTokenToGeneration" : 8192,
    "ModelFilePath": "/code/bin/tinybook.model",
    "ProcessorType": "CPU_MKL",
    "MKLInstructions":  "AVX512",
    "RepeatPenalty": 5,
    "TokenGenerationStrategy": "Sampling",
    "TopPSampling": 0.0,
    "BeamSearchSize": 1,
    "BlockedTokens": "",
    "ModelType": "DecoderOnly",
    "LogVerbose": "Normal",
    "WordMappingFilePath": "Map_SC_TC.txt"
  },
  "SourceSpm": {
    "ModelFilePath": "/code/bin/chsSpm.model"
  },
  "TargetSpm": {
    "ModelFilePath": "/code/bin/chsSpm.model"
  }
}