cerebras.modelzoo.common.run_bigcode_eval_harness.pattern_match#

cerebras.modelzoo.common.run_bigcode_eval_harness.pattern_match(patterns, source_list)[source]#

Returns a list containing all values of the source_list that match at least one of the patterns.