mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-25 17:10:51 +00:00
fix: Unify Prompts (#254)
* remove cot * fix prompt template * fix pool matrix * spiral matrix fixed
This commit is contained in:
parent
976e1710a6
commit
2f9d94c1e7
31 changed files with 65 additions and 354 deletions
|
|
@ -21,12 +21,7 @@ QUESTION_TEMPLATE = """An anagram is a word formed by rearranging the letters of
|
|||
|
||||
Your job is to group the anagrams together. You can return the answer in any order.
|
||||
|
||||
Example:
|
||||
Input: ["eat", "tea", "tan", "ate", "nat", "bat"]
|
||||
Output: [["bat"], ["nat", "tan"], ["ate", "eat", "tea"]]
|
||||
Explanation:
|
||||
- There is no string in the input that can be rearranged to form "bat".
|
||||
- The strings "nat" and "tan" are anagrams as they can be rearranged to form each other.
|
||||
The output is a list of lists of strings, where each outer list contains a group of anagrams, e.g. [["eat", "tea"], ["tan", "nat"]].
|
||||
|
||||
Group the following list of words into anagrams:
|
||||
{words}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue