CodeGen icon indicating copy to clipboard operation
CodeGen copied to clipboard

Generated outputs are often ended with '#'

Open xu3kev opened this issue 3 years ago • 2 comments

Hi,

When we use the sampling code jaxformer/hf/sample.py, we notice that a lot of generated outputs ended with '#'. Is this the expected behavior? Could you help us figure out why?

For example, in the offical colab. The output of last cell is before truncation is

sampling
====================================================================================================

    print("Hello World")

hello_world()

#
====================================================================================================

which is also the case.

xu3kev avatar Dec 08 '22 05:12 xu3kev

Yeah

smart2pet avatar Dec 21 '22 05:12 smart2pet

But it's ok because it's python, probably it wanted to make comments, it doesn't affect a lot. And it can notice you to make comment :).

smart2pet avatar Dec 21 '22 05:12 smart2pet