Menouar commited on
Commit
debbb92
1 Parent(s): 503f6b9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +91 -4
README.md CHANGED
@@ -47,11 +47,98 @@ The model can solve any equation of the form ```Ay + ay + b + B = Dy + dy + c +
47
  ## Training and evaluation data
48
 
49
  I will complete the evaluation data later, but for now,
50
- let’s show an example of a linear equation where this model finds the correct solution, unlike other models such as ChatGPT3.5, Bard, Llama 70B, and Mixtral:
51
 
52
- <p align="center">
53
- <img src="https://huggingface.co/Menouar/falcon7b-linear-equations/blob/main/Chatgpt_bard.jpg" alt="Your image description" />
54
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
56
 
57
  ## Training procedure
 
47
  ## Training and evaluation data
48
 
49
  I will complete the evaluation data later, but for now,
50
+ let’s show an example of a linear equation where this model finds the correct solution, unlike other models such as ChatGPT3.5, Bard, Llama 70B, and Mixtral.
51
 
52
+ ```
53
+ Solve for y: 10 + 4y -9y +5 = 4 +8y - 2y + 8 .
54
+ ```
55
+
56
+ <strong>Mixtral 8x7b</strong><br>
57
+ Let's first simplify the equation by combining like terms:<br>
58
+ 10 - 5y + 5 = 4 + 6y<br>
59
+ Now, let's get all the y terms on one side and constants on the other side. Subtract 6y from both sides:<br>
60
+ 10 - 5y - 6y + 5 = 4 + 6y - 6y<br>
61
+ This simplifies to:<br>
62
+ 15 - 11y = 4<br>
63
+ Next, subtract 15 from both sides to isolate the y term:<br>
64
+ 15 - 15 - 11y = 4 - 15<br>
65
+ This simplifies to:<br>
66
+ -11y = -11<br>
67
+ Finally, divide both sides by -11 to solve for y:<br>
68
+ y = -11 / -11<br>
69
+ So,<br>
70
+ <strong><span style="color:red">
71
+ y = 1
72
+ </span></strong>.
73
+
74
+ <strong>Llma 70b</strong><br>
75
+ To solve for y, we need to isolate the y term on one side of the equation.<br>
76
+ First, we can combine the like terms:<br>
77
+ 10 + 4y - 9y + 5 = 4 + 8y - 2y + 8<br>
78
+ This simplifies to:<br>
79
+ 10 - 5y + 5 = 4 + 6y<br>
80
+ Next, we can subtract 4 from both sides:<br>
81
+ 6 - 5y + 5 = 6y<br>
82
+ Now, we can isolate the y term by subtracting 5 from both sides:<br>
83
+ -5y + 5 = 6y - 5<br>
84
+ This simplifies to:<br>
85
+ -5y = 11<br>
86
+ Finally, we can divide both sides by -5 to solve for y:<br>
87
+ y = -11/5<br>
88
+ Therefore, the value of y is <strong><span style="color:red">
89
+ -11/5
90
+ </span></strong>.
91
+
92
+ <strong>ChatGPT3.5</strong><br>
93
+ To solve for y in the given equation 10 + 4y - 9y + 5 = 4 + 8y - 2y + 8, follow these steps:<br>
94
+ Combine like terms on each side: (4y - 9y + 5) + 10 = (6y + 12 + 8y - 2y)<br>
95
+ Combine the y terms and constants separately: -5y + 15 = 12y + 12<br>
96
+ Move all terms involving y to one side and the constants to the other side: -5y - 12y = 12 - 15<br>
97
+ Combine like terms: -17y = -3<br>
98
+ Divide by -17: y = 3/17<br>
99
+ Therefore, the solution to the equation 10 + 4y - 9y + 5 = 4 + 8y - 2y + 8 is <strong><span style="color:red">
100
+ y = 3/17
101
+ </span></strong>.
102
+
103
+ <strong>Bard</strong><br>
104
+ Sure, I'd be happy to help you solve for y. Here is the solution:<br>
105
+ 10 + 4y - 9y +5 = 4 +8y - 2y + 8<br>
106
+ First, combine like terms on each side of the equation.<br>
107
+ -5y + 15 = 12 + 6y<br>
108
+ Next, subtract 6y from both sides of the equation.<br>
109
+ -11y + 15 = 12<br>
110
+ Finally, subtract 15 from both sides of the equation to isolate y.<br>
111
+ -11y = -3<br>
112
+ Divide both sides of the equation by -11 to find y.<br>
113
+ <strong><span style="color:green">
114
+ y = 0.2727
115
+ </span></strong>.
116
+
117
+ <strong>BingChat</strong><br>
118
+ Combine like terms on both sides:<br>
119
+ 10 + 4y - 9y + 5 = 15 - 5y<br>
120
+ 4 + 8y - 2y + 8 = 12 + 6y<br>
121
+ This gives us:<br>
122
+ 15 - 5y = 12 + 6y<br>
123
+ Solving for y in one step:<br>
124
+ <strong><span style="color:green">
125
+ y = 3 / 11
126
+ </span></strong>.
127
+
128
+ <strong>Falcon7B-linear-equation</strong><br>
129
+ The equation is in the form of ay + b = dy + c where:<br>
130
+ a = 4 - 9 = -5<br>
131
+ b = 10 + 5 = 15<br>
132
+ d = 8 - 2 = 6<br>
133
+ c = 4 + 8 = 12<br>
134
+ The solution is y = (c - b)/(a - d) if a ≠ d <br>
135
+ 12 - 15 = -3<br>
136
+ -5 - 6 = -11<br>
137
+ y = -3 / -11<br>
138
+ The fraction -3 / -11 = 3 / 11.<br>
139
+ The solution is <strong><span style="color:green">
140
+ y = 3 / 11
141
+ </span></strong>.
142
 
143
 
144
  ## Training procedure