zhongkaifu commited on
Commit
0b86be9
1 Parent(s): 60ce03d

Upload appsettings.json

Browse files
Files changed (1) hide show
  1. appsettings.json +40 -0
appsettings.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Kestrel": {
3
+ "EndPoints": {
4
+ "Http": {
5
+ "Url": "http://*:7860"
6
+ }
7
+ }
8
+ },
9
+ "Logging": {
10
+ "LogLevel": {
11
+ "Default": "Information",
12
+ "Microsoft": "Warning",
13
+ "Microsoft.Hosting.Lifetime": "Information"
14
+ }
15
+ },
16
+ "AllowedHosts": "*",
17
+ "Seq2Seq": {
18
+ "CompilerOptions": "--use_fast_math",
19
+ "GPUMemoryUsageRatio": 0.99,
20
+ "DeviceIds": "0",
21
+ "DistancePenalty": 2,
22
+ "MaxSrcTokenSize": 4096,
23
+ "MaxTgtTokenSize": 4096,
24
+ "ModelFilePath": "/code/mt_enu_chs/mt_enu_chs.model",
25
+ "ProcessorType": "CPU",
26
+ "MKLInstructions": "AVX2",
27
+ "RepeatPenalty": 5,
28
+ "TokenGenerationStrategy": "GreedySearch",
29
+ "TopPSampling": 0.0,
30
+ "BeamSearchSize": 1,
31
+ "BlockedTokens": "",
32
+ "ModelType": "EncoderDecoder"
33
+ },
34
+ "SourceSpm": {
35
+ "ModelFilePath": "/code/mt_enu_chs/enuSpm.model"
36
+ },
37
+ "TargetSpm": {
38
+ "ModelFilePath": "/code/mt_enu_chs/cjkSpm.model"
39
+ }
40
+ }