aiwaves-cn / recurrentgpt Goto Github PK
View Code? Open in Web Editor NEWOfficial Code for Paper: RecurrentGPT: Interactive Generation of (Arbitrarily) Long Text
License: GNU General Public License v3.0
Official Code for Paper: RecurrentGPT: Interactive Generation of (Arbitrarily) Long Text
License: GNU General Public License v3.0
I am using the gpt-3.5-turbo-16k-0613 model and I am getting much better, longer outputs.
Trying to run this locally.
I got the cookie issue, and I tried editing the python file to skip the cookie if it wasn't there for the first time. I was able to generate the text one time, but after clicking next I get another cookie error.
I think this is something wrong with my local setup, or is this the project?
human.step_with_edit()
maybe is human.step()
I want to ask a question, does this interactive novel have an ending?
How can I deploy the interactive fiction writing project locally? I didn't find this part in the github code, but I'm very interested in it. Can you upload it? Thanks~
File "xxx/RecurrentGPT/gradio_server.py", line 65, in init
init_paragraphs = get_init(chatbot, init_prompt(novel_type, description))
File "xxx/RecurrentGPT/utils.py", line 38, in get_init
with open(init_text,'r',encoding='utf-8') as f:
TypeError: expected str, bytes or os.PathLike object, not Chatbot
I guess this demo use web session for GPT4.
How about call gpt-3.5-turbo api for the demo ?
Thank you for your interesting work.
没有见到类似的问题
我运行gradio_server.py,后端警告如下:
UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility for indications on how to solve this problem . (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.)
t = torch.tensor([], dtype=storage.dtype, device=storage._untyped_storage.device)
打开本地网页应用后,当我尝试开始运行就出现了以下问题导致无法运行
Something went wrong
Expecting value: line 1 column 1 (char 0)
猜测可能是环境中依赖版本不匹配导致的,我想可能需要用conda导出一个完整的可运行环境的requirements.txt
我把文章的那个功能改成了中文版,也发在GitHub上了。特来官方这里报告一声,链接:https://github.com/femnn/RecurrentGPT-zh
This is an exciting extension of ChatGPT.
Can you write a detailed teaching for local use?
Thank.
Hi,
I've created a Streamlit version of RecurrentGPT, called StoryGPT.
I see "第一人称互动式小说生成器" while opening the DEMO website (https://www.aiwaves.org/interactivefiction)
But it disappears while I run it on Hugging Face (https://imliguojie-recurrent.hf.space)
Could you put it as an option in the configuration file?
How can we fine-tune this recurrent gpt model so that it can output some other type of information but not only the novels?
How to deploy interactive novels locally? At the same time, I also encountered the problem of cookies when deploying locally
I am having trouble deploying RecurrentGPT locally and encountering a cookie error when using a third-party ChatGPT library for continuous generation. I am using the latest code and I am not sure if the official API endpoint has this issue. However, I believe this issue is not related to the API endpoint, as I am occasionally able to continue generating text. Can someone please help me with this issue?
Thank you.
If I can, I want to divide on this project。 but i m no good at ml or llm..haha. I will focus this project
I noticed that this repository does not have a license. Would you consider adding a license to clarify the terms under which others can use the code?
Can I use the language model for local deployment?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.