File size: 1,099 Bytes
dd3f761
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f3a27af
 
9dba4e1
 
dd3f761
 
 
 
 
 
 
15b3ed0
dd3f761
 
 
 
 
 
 
 
 
 
ec28650
dd3f761
 
ec28650
dd3f761
 
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
{
  "Kestrel": {
    "EndPoints": {
      "Http": {
        "Url": "http://*:7860"
      }
    }
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*",
  "Title": "Machine Translation Demo",
  "Description": "Given one or a few sentences in English, and AI will translate it to Chinese for you.",
  "RepeatPenalty": 0,
  "ContextSize": 768,
  "Seq2Seq": {
    "CompilerOptions": "--use_fast_math",
    "GPUMemoryUsageRatio": 0.99,
    "DeviceIds": "0",
    "DistancePenalty": 2,
    "MaxSrcTokenSize": 4096,
    "MaxTgtTokenSize": 4096,
    "ModelFilePath": "/code/bin/mt_enu_chs.model",
    "ProcessorType": "CPU",
    "MKLInstructions":  "AVX2",
    "RepeatPenalty": 5,
    "TokenGenerationStrategy": "GreedySearch",
    "TopPSampling": 0.0,
    "BeamSearchSize": 1,
    "BlockedTokens": "",
    "ModelType": "EncoderDecoder"
  },
  "SourceSpm": {
    "ModelFilePath": "/code/bin/chsSpm.model"
  },
  "TargetSpm": {
    "ModelFilePath": "/code/bin/chsSpm.model"
  }
}