Ron commited on
Commit ·
918e494
1
Parent(s): 45b4c77
add color
Browse files15 unmodified lines161718192021222324252627282915 unmodified lineschat_col = st.container()chat_col.title("CodeLATS")description = """This tech demo is an implementation of Language Agent Tree Search (LATS) (https://arxiv.org/abs/2310.04406) built specifically for generating code in the form of python functions. It achieves **state-of-the-art** results on HumanEval with a **94.4% pass@1 rate** on GPT-4.Listed below is an example programming problem (https://leetcode.com/problems/longest-valid-parentheses/description/) to get started with.```pythonGiven a string containing just the characters '(' and ')', return the length of the longest valid (well-formed) parentheses substring```NOTE: On average a call for a HumanEval or Leetcode question will cost around 5-30 cents on GPT-4, using the default parameters. This value may change depending on problem difficulty and parameters."""chat_col.markdown(description)15 unmodified lines161718192021222324252627282915 unmodified lineschat_col = st.container()chat_col.title("CodeLATS")description = """This tech demo is an implementation of Language Agent Tree Search (LATS) (https://arxiv.org/abs/2310.04406) built specifically for generating code in the form of python functions. It achieves :green[**state-of-the-art**] results on HumanEval with a :green[**94.4% pass@1 rate**] on GPT-4.Listed below is an example programming problem (https://leetcode.com/problems/longest-valid-parentheses/description/) to get started with.```pythonGiven a string containing just the characters '(' and ')', return the length of the longest valid (well-formed) parentheses substring```:red[**NOTE:**] On average a call for a HumanEval or Leetcode question will cost around 5-30 cents on GPT-4, using the default parameters. This value may change depending on problem difficulty and parameters."""chat_col.markdown(description)
app.py+2-2