stripedhyena-nous-7b· Together AI
Arena Human Preference 55K
mappings.forEach(record -> { List<Source> sources = record.sources(); List<Target>…
- User
mappings.forEach(record -> { List sources = record.sources(); List targets = record.targets(); if (sources == null || targets == null || sources.isEmpty() || targets.isEmpty()) { return; }
String riskType = null; String sicCode = null; String bucket = null; for (Source source : sources) { if ("RISK_TYPE".equals(source.type())) { riskType = source.value(); } if ("SIC_CODE".equals(source.type())) { sicCode = source.value(); } } for (Target target : targets) { if ("FRTBBuckets".equals(target.value())) { bucket = target.value(); } } if ("CS01".equals(riskType) && sicCode != null && bucket != null) { map.put(sicCode, bucket); } });优化上述代码
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.