Multi-step reasoning derives conclusions by applying relationships among facts, premises, or representations. It matters because reasoning underpins claims of intelligence, yet fluent language generation can imitate reasonable answers without establishing truth, correctness, or reality. section 10.1 section 10.2.3
Assess reasoning claims by separating several capabilities:
- Generalization reuses patterns in natural-language data, but does not necessarily extend to physical-world understanding. section 10.1
- A plausible response is not evidence of reasoning: training on question-answer pairs can make familiar tests look solved. section 10.1
- Scaling model size and training data may improve grammar and vocabulary without reliably improving reasoning. section 10.2.3
Counting legs with GPT-2
Prompting GPT-2 with “There are 2 cows and 2 bulls, how many legs are there?” and sampling ten short completions produces answers such as “four,” “2,” “30,” “one,” and “three.” The varied outputs expose fluent generation without dependable multi-step calculation. section 10.1
Listing 10.1 Counting cow legs with GPT-2
>>> from transformers import pipeline, set_seed
>>> generator = pipeline('text-generation', model='openai-gpt')
>>> set_seed(0) #1
>>> q = "There are 2 cows and 2 bulls, how many legs are there?"
>>> responses = generator(
... f"Question: {q}\nAnswer: ",
... max_new_tokens=5, #2
... num_return_sequences=10) #3
>>> answers = []
>>> for resp in responses:
... text = resp['generated_text']
... answers.append(text[text.find('Answer: ')+9:])
>>> answers
['four', 'only', '2', 'one', '30', 'one', 'three', '1', 'no', '1']
Run the supplied Transformers pipeline example to inspect multiple generated answers and compare apparent fluency with arithmetic reliability. section 10.1









