Update README.md
Browse files
README.md
CHANGED
@@ -93,4 +93,36 @@ So, there are 15 cows. Now, we can substitute \( K = 15 \) back into the first e
|
|
93 |
\[ C = 5 \]
|
94 |
|
95 |
Therefore, there are 5 chickens on Farmer Brown's farm.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
```
|
|
|
93 |
\[ C = 5 \]
|
94 |
|
95 |
Therefore, there are 5 chickens on Farmer Brown's farm.
|
96 |
+
```
|
97 |
+
|
98 |
+
To solve the same problem in Chinese.
|
99 |
+
```bash
|
100 |
+
python rwkv_llama/test_custom_cache_rwkv.py --config_file configs/step_wise/test_hybrid_2_layer_qwenmlp_local.yaml --ckpt_file /home/yueyulin/model/qwen/layer2.pth --input_text "## Question: \n\nFarmer Brown has 20 animals on his farm, all either chickens or cows. They have a total of 70 legs, all together. How many of the animals are chickens? ## Instruction \n\nPlease answer this question by first reasoning and then providing your answer. Please answer it in Chinese."
|
101 |
+
...
|
102 |
+
...
|
103 |
+
user
|
104 |
+
## Question: \n\nFarmer Brown has 20 animals on his farm, all either chickens or cows. They have a total of 70 legs, all together. How many of the animals are chickens? ## Instruction \n\nPlease answer this question by first reasoning and then providing your answer. Please answer it in Chinese.
|
105 |
+
assistant
|
106 |
+
为了解决这个问题,我们可以先设定一些变量。假设鸡的数量为x,牛的数量为y。
|
107 |
+
|
108 |
+
根据题目信息,我们有两个方程:
|
109 |
+
1. 鸤和牛的总数是20,即 \(x + y = 20\)
|
110 |
+
2. 鸤有2条腿,牛有4条腿,总共有70条腿,即 \(2x + 4y = 70\)
|
111 |
+
|
112 |
+
接下来,我们可以通过解这个方程组来找到x和y的值。
|
113 |
+
|
114 |
+
首先简化第二个方程,除以2得到 \(x + 2y = 35\)。
|
115 |
+
|
116 |
+
然后我们用第一个方程减去这个新方程的一部分,即:
|
117 |
+
\[ (x + y) - (x + 2y) = 20 - 35 \]
|
118 |
+
\[ -y = -15 \]
|
119 |
+
\[ y = 15 \]
|
120 |
+
|
121 |
+
知道了y(牛的数量)是15,我们可以很容易地求出x(鸡的数量):
|
122 |
+
\[ x + 15 = 20 \]
|
123 |
+
\[ x = 5 \]
|
124 |
+
|
125 |
+
所以,农民布朗的农场上有5只鸡。
|
126 |
+
|
127 |
+
答案:5只鸡。
|
128 |
```
|