Two related problems with integrals, sums and limits.
Bounds longer than one token
input
output
renders as
the integral from 0 to 2 pi of sine of theta d theta
integral_0^2 pi sin(theta) dif theta
∫₀² π sin θ dθ
Upper bounds in training are only 1, infinity, 2, b, pi, x, pi/2, and lower bounds similar. Add bounds like 2 pi, n + 1, -pi, x^2, a + h.
An integral, sum or limit as the left side of an equation
input
output
the integral of e to the x dx equals e to the x plus c
integral (e^x = e^x + c) dif x
the sum from i equals 1 to n of i equals n times (n plus 1) over 2
sum_(i = 1)^n i frac(n + 1, 2) (= dropped)
Eq only ever has an integral, sum or limit on the right. Allow Eq(<integral/sum/limit>, expr).
Two related problems with integrals, sums and limits.
**Bounds longer than one token**
| input | output | renders as |
|---|---|---|
| the integral from 0 to 2 pi of sine of theta d theta | `integral_0^2 pi sin(theta) dif theta` | ∫₀² π sin θ dθ |
Upper bounds in training are only `1`, `infinity`, `2`, `b`, `pi`, `x`, `pi/2`, and lower bounds similar. Add bounds like `2 pi`, `n + 1`, `-pi`, `x^2`, `a + h`.
**An integral, sum or limit as the left side of an equation**
| input | output |
|---|---|
| the integral of e to the x dx equals e to the x plus c | `integral (e^x = e^x + c) dif x` |
| the sum from i equals 1 to n of i equals n times (n plus 1) over 2 | `sum_(i = 1)^n i frac(n + 1, 2)` (`=` dropped) |
`Eq` only ever has an integral, sum or limit on the **right**. Allow `Eq(<integral/sum/limit>, expr)`.
Yeah, we need to have more general training data that contains more use cases, but the architecture of the model itself might need improvements in that sense so it learns that those keywords like integral can reffer to the bounds.
Yeah, we need to have more general training data that contains more use cases, but the architecture of the model itself might need improvements in that sense so it learns that those keywords like integral can reffer to the bounds.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Two related problems with integrals, sums and limits.
Bounds longer than one token
integral_0^2 pi sin(theta) dif thetaUpper bounds in training are only
1,infinity,2,b,pi,x,pi/2, and lower bounds similar. Add bounds like2 pi,n + 1,-pi,x^2,a + h.An integral, sum or limit as the left side of an equation
integral (e^x = e^x + c) dif xsum_(i = 1)^n i frac(n + 1, 2)(=dropped)Eqonly ever has an integral, sum or limit on the right. AllowEq(<integral/sum/limit>, expr).Yeah, we need to have more general training data that contains more use cases, but the architecture of the model itself might need improvements in that sense so it learns that those keywords like integral can reffer to the bounds.