{ "Kestrel": { "EndPoints": { "Http": { "Url": "http://*:7860" } } }, "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "AllowedHosts": "*", "Title": "中文小说续写", "Description": "输入一句或者几句话,AI帮你续写后面的故事。由于服务器处理能力有限,如遇到故事生成速度偏慢,请耐心等待。", "RepeatPenalty": 2, "ContextSize": 384, "Random": "checked", "Seq2Seq": { "CompilerOptions": "--use_fast_math", "GPUMemoryUsageRatio": 0.99, "DeviceIds": "0", "DistancePenalty": 2, "MaxSrcTokenSize": 4096, "MaxTgtTokenSize": 4096, "ModelFilePath": "/code/bin/story_base.model", "ProcessorType": "CPU_MKL", "MKLInstructions": "AVX2", "RepeatPenalty": 5, "TokenGenerationStrategy": "Sampling", "TopPSampling": 0.0, "BeamSearchSize": 1, "BlockedTokens": "", "ModelType": "DecoderOnly" }, "SourceSpm": { "ModelFilePath": "/code/bin/chsYBSpm.model" }, "TargetSpm": { "ModelFilePath": "/code/bin/chsYBSpm.model" } }