Code Monkey home page Code Monkey logo

Comments (10)

jmoney7823956789378 avatar jmoney7823956789378 commented on July 23, 2024 2

The installation works very well on Linux systems. I saw you were trying to export a variable on windows, try using set instead.
Launching on windows should be the same as Linux, try oobabot <args>
or try python -m oobabot <args>

from oobabot.

Urammar avatar Urammar commented on July 23, 2024 1

Really appreciate the help, AND quick response time btw!

from oobabot.

jmoney7823956789378 avatar jmoney7823956789378 commented on July 23, 2024 1

If your oobabooga server is not on the same machine, you may need to pass the --listen and --api (just to be sure) option when launching the oobabooga server, then pass the server ip as an argument to oobabot. Even if you checked and applied the api option in the webui, if it isnt telling you "Starting API at http://127.0.0.1:5000" then it may not be running.
You can confirm if the api ports are listening with netstat -ano | findstr /i ":5005 :5000"
Also there is a built-in extension for oobabot that will provide all this functionality into the oobabooga webui.

from oobabot.

Urammar avatar Urammar commented on July 23, 2024 1

Right you are, looks like that fixed it, also kill me theres totally a UI extension!!!!

from oobabot.

Urammar avatar Urammar commented on July 23, 2024 1

Yup that fixed it, thanks a ton for your help! I'll let you know how it goes!

from oobabot.

jmoney7823956789378 avatar jmoney7823956789378 commented on July 23, 2024 1

Its very slow compared to ordinary generation, i'll open a 2nd issue for that

It's mostly because oobabot can't cache the continuous context into vram and keep it there, so the context is pulled each and every time the bot activates and parsed then, adding extra time to the generation.
Normal operation in the webui keeps up to 2048 (or more, since models are being developed) tokens of context in vram, so new generations don't have to reread the context.

from oobabot.

Urammar avatar Urammar commented on July 23, 2024

Thanks that worked! Okay so last step we have everything ready to go

Now this

C:\MyShit\AI\Flan-t5-XXL\OobaBot>python -m oobabot --ai-name YourBotsName --persona "You are a cat named YourBotsName"
←[33;40m2023-06-22 03:57:51,874←[0m←[37;40m  INFO ←[0m←[37;40mOobabooga is at ws://localhost:5005←[0m
←[33;40m2023-06-22 03:57:55,939←[0m←[37;40m ERROR ←[0m←[31;40mCould not connect to Oobabooga server: [ws://localhost:5005]←[0m
←[33;40m2023-06-22 03:57:55,940←[0m←[37;40m ERROR ←[0m←[31;40mPlease check the URL and try again.←[0m
←[33;40m2023-06-22 03:57:55,940←[0m←[37;40m ERROR ←[0m←[31;40mReason: Cannot connect to host localhost:5005 ssl:default [The remote computer refused the network connection]←[0m

from oobabot.

Urammar avatar Urammar commented on July 23, 2024

API is checked in the boolean command-line flags in the UI and I hit apply and restart the interface.

image

The final code on the command prompt says its running, but doesnt mention the API, unsure if its supposed to

from oobabot.

Urammar avatar Urammar commented on July 23, 2024

Its very slow compared to ordinary generation, i'll open a 2nd issue for that

from oobabot.

chrisrude avatar chrisrude commented on July 23, 2024

Glad you got it working!

from oobabot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.