{ "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 Chinese, and AI will translate it to English 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_chs_enu.model", "ProcessorType": "CPU", "MKLInstructions": "AVX2", "RepeatPenalty": 5, "TokenGenerationStrategy": "GreedySearch", "TopPSampling": 0.0, "BeamSearchSize": 1, "BlockedTokens": "", "ModelType": "EncoderDecoder" }, "SourceSpm": { "ModelFilePath": "/code/bin/cjkSpm.model" }, "TargetSpm": { "ModelFilePath": "/code/bin/enuSpm.model" } }