artitw

Results 90 comments of artitw

Take a look at the latest documentation in the [README](https://github.com/artitw/text2text) to update your code. If you still prefer the old API you can install [previous versions](https://pypi.org/project/text2text/#history) according to the date...

Looks like you are using the old API. Below are two options. I would recommend option 2 if possible. 1. Install older version, e.g. `pip install text2text==0.1.0` and keep your...

Looks like a previous cell assigning the value for the variable `bio_str` has not been executed. Try running that, or just replace that line with your own text.

No worries. Copy and paste the example below and adapt it to your needs. Let us know if it works, or if you get another error. ``` from text2text import...

Can you describe the setup? Have you tried the demo Colab notebook? Yes, it should work on CPU.

@danltw please see this line of code: https://github.com/artitw/text2text/blob/e6bc1fbd24346b470168837797346f08d88736d9/text2text/text_generator.py#L89 Currently, we attempt to use GPU and fallback on CPU if it doesn’t exist. Would you be interested in submitting a pull...

Thanks for reporting this issue. What system or platform are you running text2text on? I ran the following in the colab notebook without issues. Each prediction took maybe 30 seconds...

What is your use-case application? Perhaps there is a way to deal with the memory issues and achieve what you are trying to do.

Then perhaps a short-term solution would be to keep appending results to a file and re-run the script everytime it crashes. You could also try clearing the memory after every...

For the latter, please comment on https://github.com/artitw/text2text/issues/27 and ask @johnanisere about helping out