I've never used Markov chains before, and I understand that they make spammy content. But, can they be used to rewrite/paraphrase existing content?
I installed the Pegasus Python library from HuggingFace, but my server only has a CPU, and with a CPU it can only do about 1,000 words per minute. I found that a GPU is about 60 times faster.
So Pegasus seems to require a lot of resources. I was hoping for something faster, that can work with a CPU, and is in PHP. I don't know enough about Markov chains to know if they might be suitable for this purpose.
Are there any Markov PHP libraries that might be suitable for this purpose? To rewrite/paraphrase existing content.
Or if anyone knows of any other open source option for rewriting in PHP or Python, that doesn't require as much resources as Pegasus and can work on a CPU, that would also be good to know about. Of course the quality would be poorer than Pegasus but that's fine.
I installed the Pegasus Python library from HuggingFace, but my server only has a CPU, and with a CPU it can only do about 1,000 words per minute. I found that a GPU is about 60 times faster.
So Pegasus seems to require a lot of resources. I was hoping for something faster, that can work with a CPU, and is in PHP. I don't know enough about Markov chains to know if they might be suitable for this purpose.
Are there any Markov PHP libraries that might be suitable for this purpose? To rewrite/paraphrase existing content.
Or if anyone knows of any other open source option for rewriting in PHP or Python, that doesn't require as much resources as Pegasus and can work on a CPU, that would also be good to know about. Of course the quality would be poorer than Pegasus but that's fine.