paperswithcode / galai

Model API for GALACTICA
Apache License 2.0
2.68k stars 276 forks source link

Why only part of the answer to the question is output? #27

Closed ysj0930 closed 1 year ago

ysj0930 commented 1 year ago

model.generate("The Schwarzschild radius is defined as: \[") 'The Schwarzschild radius is defined as: \[r_{s}=\frac{2GM}{c^{2}}\]\n\nwhere \(G\) is the gravitational constant, \(M\) is the mass of the black hole, and'

RJT1990 commented 1 year ago

Thanks for the comment, use the max_length parameter.