问题标签 [gpt]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
10 浏览

huggingface-transformers - 如何从 GPTNeo 中生成的文本中删除输入?

我正在编写一个程序来生成文本......我需要从生成的文本中删除输入。我怎样才能做到这一点?编码:

这里的 strs 包含我给出的输入......如何删除它?