From 2a8935297b9cfdbe503107c5246c4198482c6416 Mon Sep 17 00:00:00 2001 From: Branden Butler Date: Wed, 10 May 2023 17:49:52 -0500 Subject: [PATCH] Remove commented-out regex code --- examples/main/main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/main/main.cpp b/examples/main/main.cpp index 2e98504fe..77e8e6207 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -55,8 +55,6 @@ void sigint_handler(int signo) { int main(int argc, char ** argv) { gpt_params params; params.model = "models/llama-7B/ggml-model.bin"; -// boost::regex regex = boost::regex("(?:(?:\\([a-z A-Z 0-9]*, [a-z A-Z 0-9]*, [a-z A-Z 0-9]*\\))(?:<\\|>\\([a-z A-Z 0-9]*, [a-z A-Z 0-9]*, [a-z A-Z 0-9]*\\))*)|NONE"); -// boost::regex negative_bias_regex = boost::regex("^NONE"); if (gpt_params_parse(argc, argv, params) == false) { return 1;