r/oobaboogazz • • Jun 30 '23

Other FYI Lemmy community created for Oobabooga

4 Upvotes

Ooba sub is still dark, and I hadn't found this sub. Rather than wait for reddit to get a new CEO, I just went ahead and started the lemmy community.

https://lemmy.world/c/oobabooga

I'll try to add content later today.

If anyone needs tips on getting started in Lemmy (it's basic as shit) I'm happy to help.


r/oobaboogazz • • Jun 27 '23

Why are you strike busting? Spoiler

0 Upvotes

The other sub didn't close for fun; it closed because the community overwhelmingly voted to support the protest.


r/oobaboogazz • • Jun 27 '23

Question What's your favorite type of sandwich?

1 Upvotes

r/oobaboogazz • • Aug 08 '23

Other Video testing(for reference sake) with a bonafide trivial benchmark for the mountain of models that's forming on Huggingface. Suggestions welcomed.

1 Upvotes

Hey Guys,

With everyone probably focusing only on a few models are other projects, there's really not enough time to test all these models. There's literally hundreds of AI models and tools that has come out already, that at this point, is impossible to keep track of, let alone, know how well they work or their specific use cases. There's also very little video testing or tutorials, that I can find, with the exception of a few Yters, of these models and tools.

I went on to create a Youtube Channel and would appreciate some input here from the community about any suggestions or tips on what I should include in these videos that I think can help people get somewhat of an idea on how strong and versatile some of these models really are and can even discover new powerful models that might go overlooked.

I called the channel "The Local Lab" with the intent to test a variety of different local and nonlocal AI, open-source tools but mostly for the moment, local llama models. I created a google sheet testing benchmark of 36 trivial questions that anyone with the link can access from history, math, pop culture, creative writing, coding, censorship and more. to give these models a bit of challenge. I added additional columns, one for Chatgpt 3.5 responses to give a point a reference and another to either pass, fail, or give partial credit to the models outputted responses for fun. All responses from the model would be recorded on video and saved to the google sheet incase anyone would like to go back and check out the full responses. I would think that these questions would need to be switched out every so often incase for one reason or another the question magically becomes so easy for all the models to answer correctly.

I already posted a video of me testing the Stablebeluga-13B-GGML using ooba with an AI voiceover as a video representation of what I'm aiming for.

Link to channel: https://www.youtube.com/channel/UCakoySAD-vTqG9EjXhH5r7w

Link to testing benchmark(blank template): https://docs.google.com/spreadsheets/d/18dtiZ0W0NfGiiEsYp_gvybP196Nl6SPPqpJ48dv4Jgw/edit?usp=sharing

Link to Stablebeluga-13B-GGML testing benchmark: https://docs.google.com/spreadsheets/d/1fFP4yKIK83NdEWmiSK9EVfPuUJKfAZ866X5EB8c9K5s/edit?usp=sharing

I would like to come up with even better more interesting questions to ask these models. Any added input on this would be appreciated.


r/oobaboogazz • • Jul 26 '23

Question What are the best settings to run TheBloke_Llama-2-7b-chat-fp16 in my laptop? (3060, 6gb)

3 Upvotes

I have a 12th Gen Intel(R) Core(TM) i7-12700H 2.30 GHz with an nvidia geforce rtx 3060 laptop gpu (6gb), 64 gb RAM, I am getting low tokens/s when running "TheBloke_Llama-2-7b-chat-fp16" model, would you please help me optimize the settings to have more speed? Thanks!


r/oobaboogazz • • Jul 20 '23

Question What is the correct prompt format for a base Llama 2 model?

3 Upvotes

I have not been able to find the correct format for the Llama 2 base models (like Llama-2-13B-GPTQ) for use in the webui.

I am trying different prompt formats and it either spits out unrelated code or generates a whole dialogue.


r/oobaboogazz • • Aug 01 '23

Question I need help

0 Upvotes

So I'm new to locally downloading ai and web UI's and I can't figure out why I don't have start-webui.bat and download-model.bat programs in my oobabooga folder. I have ran the start_window and its currently stuck at "To create a public link, set `share=True` in `launch()`." (Idk if that's normal or not) Can someone help and explain what I'm doing wrong?


r/oobaboogazz • • Aug 10 '23

Question total noob question,

0 Upvotes

hi, where do i put the diverse flag ?

like --notebook

--chat

--bla bla bla ect ....


r/oobaboogazz • • Jul 16 '23

Question Anyone running a large promptsize model local?

0 Upvotes

WIth success?


r/oobaboogazz • • Jul 15 '23

Question Difference between loading model via langchain vs gradio

0 Upvotes

I am interested in using gradio because its the only platform I can easily see that can be used with ggml models. However, to compare models between gradio and langchain, I used chavinlo/gpt4-x-alpaca that works on both. I am running this on a 3090 with 128GB ram.

My goal is to use the model for zero-shot text classification or other instructional/assistant tasks. In gradio, the model uses less vram and no ram and seems to run faster. But it is a lot more chatty and doesn't follow directions as well as it does in langchain. With langchain, I'm using the default parameters (temparature etc). It performs much better with langchain but uses a lot of RAM and seems slightly slower.

With gradio, I got the model to work well once for my task in the web environment with prompts encouraging factual assistant-like output. But when using it with the API, I can't get it to be less chatty. It doesn't follow instructions, instead it just completes text in a story like manner.

I have a few questions that I would appreciate any help with:

  1. Are there any priming prompts being passed to the model when accessed via API?

  2. Does the model retain memory of previous text when used via API? If so, is there a way to disable this or to reset the model context?


r/oobaboogazz • • Aug 17 '23

Question [QUESTION]: Output template for instruct models? 🤔

1 Upvotes

I downloaded a llama 2 model and now I'm wondering, if I can create a bot in ooba for specific tasks, that uses templates for the output.

I imagined to write the frame into the context of the bot and also the template on how it should answer. Is this even possible? 🤔

Like:
---
First I write the task of what it should do here bla bla ...

Use this as output template:
out1, out2
out3
out4
...

---
I hope it is clear what I mean, without getting too specific. Is there a certain way to do such things or is it not even possible?


r/oobaboogazz • • Jul 13 '23

Tutorial Manually Removing Stelero TTS audio links from your chat logs

1 Upvotes

I am NOT going to complain about how the chat log formats keep changing, or how how the UI keeps changing how they are written out or loaded by default..

IF you are trying to squeeze as much context as you can into a local chatbot's limited window, the extra text from the TTS tags will reduce your bot's useful capacity.

SOOO..

If you open your bot's chat log in VS Code (make sure your bot is NOT the bot currently in use, and if you are doing this edit with the UI down, at time of writing you have to edit 2 log files)

Use the following regular expression in the search box (make sure to click the little .* to turn on regular expression

<audio src=\\"file/extensions/silero_tts/outputs/YOURBOTNAMEHERE_\d+\.wav\\" controls><\/audio>\\n\\n

And, YES I _know_ you can do this in the interface with the button at the bottom of the Stelero TTS interface section. But ya can't bloody well do that if the interface is down, now can ya... and sometimes a bug will creeep in where multipole audio files get linked in the same response... and that's a ... well yeah.

There might be a feature request here where response metadata is kept in a separate json file, or separate (new) section of the log file, like audio links or whatever else someone might come up with, data to enhance the response but should not clutter the pore bot's memories. can be kept in a parralel with the bot's primary chat history e.g. it's memory

Hope this helps someone else who may have lost a story or a bot's memories to bugs...


r/oobaboogazz • • Aug 08 '23

Question If I have a copy of oobaBooga running, has anybody documented the API that is used by the HTML interface?

1 Upvotes

I would like to call the oobaBooga backend from another process using REST calls. Is this documented anywhere? I really only need to send the input and get back a response.


r/oobaboogazz • • Jun 27 '23

Question I would like to know if you are going to implement next options to your repo:

1 Upvotes
  • Adding user access and administration such as OpenAI webpage, where there is a Admin who selects the Model and LORAS to load per user or type of users. Access and register per email.

  • Adding posibility to add mew functions such as: PDF, csv, excel, pptx… chat inclusion on the web interface

  • Saving chat history, different chats and saving prompts menu

  • Maybe something more friendly on adding this embebeings or new functions (such as langchain does)

Thanks for your time and dev!!


r/oobaboogazz • • Jul 24 '23

Question Text generation super slow…

1 Upvotes

Im new to all this… I installed Oobabooga and a language model. I selected to use my Nvidia card at install…

Everything runs so slow. It takes about 90 sections to generate one sentence. Is it the language model I downloaded? Or is it my graphics card?

Can I switch it to use my CPU?

Sorry for the noob questions.

Thanks!


r/oobaboogazz • • Jun 27 '23

Question Falcon support

1 Upvotes

Hi, do you plan to add the support for the falcon models?


r/oobaboogazz • • Jun 27 '23

Question Read any good books lately?

1 Upvotes

r/oobaboogazz • • Aug 08 '23

Question How do I specify the IP address on startup?

1 Upvotes

It says "To create a public link, set `share=True` in `launch()`" but I can't find launch. I tried creating a "settings.yaml" and putting it in there but it did nothing. Any suggestions?

EDIT:

Following the advice from u/nixudos the CMD_FLAGS.txt file now looks like this--chat --api --share --listen-host 0.0.0.0That had the effect of giving me a public interface, but it ignores the --listen-host option which is the option I need to work so I can access the api from other computers on the network. But it was an good diversion, the share option is interesting :)


r/oobaboogazz • • Jul 17 '23

Question After loading the LLM model, how to set the current (today's) date in files and folders ?

8 Upvotes

Hi folks, I have downloaded this model :
https://huggingface.co/ehartford/WizardLM-13B-Uncensored
This is working really well for roleplay, Now the question is how to set a current date to today using Oobabooga files and folders and model files, so that model will know it.


r/oobaboogazz • • Aug 08 '23

Question Qwen-7B-Chat issue

2 Upvotes

While loading the new Qwen-7B-Chat model over the webui, I got this error Loading models/Qwen_Qwen-7B-Chat requires you to execute the configuration file in that repo on your local machine. Make sure you have read the code there to avoid malicious use, then set the option

trust_remote_code=True

to remove this error.

I have used the webui before, but haven't encountered it before, I was thinking to open an issue, but i think this isn't that big of a problem that I bother the devs directly, also I was using https://colab.research.google.com/github/aitrepreneur/text-generation-webui/blob/main/API_UPDATED_WebUI%26pyg_13b_GPTQ_4bit_128g.ipynb#scrollTo=P3myycYx7noZ this colab notebook by AItreprenaur


r/oobaboogazz • • Jul 28 '23

text-gen is running off CPU instead of GPU

2 Upvotes

Hey guys, I've been having issues with the 1-click installer. Can't update my working one, can't get a new one working.

So I started fresh and followed this guide:
https://www.youtube.com/watch?v=k2FHUP0krqg&t=265s

After following the guide, all the issues I had with the one click are now resolved.

Except a new issue has popped up. I'm now generating using my CPU instead of my GPU.

CPU is an 11900k, ideally I want to use my GPU which is a 4090.
I wouldn't mind using some of the CPU once the GPU is at max-load, though I have no idea how to set that up. But at the very least, I'd like to run off my GPU.

Could someone please tell me which step was incorrect?

Here are the steps I took:

  1. Open Anaconda Prompt

  2. type: (base) C:\Users\...>e:

  3. type: (base) E:\>conda create -n textgen2 python=3.10.9

  4. Proceed? Y

  5. (base) E:\>conda activate textgen2

  6. (textgen2) E:\>pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117

  7. (textgen2) E:\>git clone https://github.com/oobabooga/text-generation-webui

  8. (textgen2) E:\>cd text-generation-webui

  9. (textgen2) E:\text-generation-webui>pip install -r requirements.txt

  10. (textgen2) E:\text-generation-webui>python server.py

Would anyone mind telling me which of these steps was wrong and if I can fix it?

If I can't fix it, then which step I should correct. Looking at the git page, it seems like I used the correct pip3 install.

system:
11900k, 4090, 32gb ddr4


r/oobaboogazz • • Jul 21 '23

Question How do you export and import chat history?

2 Upvotes

Title


r/oobaboogazz • • Jul 30 '23

Question I might have broken the WebUI.

2 Upvotes

I am using WebUI on OSX. I tried installing the ElevenLabs extension, but without luck. I fiddled around with some lines of code I found somehwere (unfortunately I cannot find or reproduce this) and now, when I start WebUI, I get a different looking UI. Some settings are gone, some are moved. I notices the word "Experimental" above the Mode menu in the interface section. See pic.I tried updating and reinstalling, but for some reason I seem stuck in this "experimental" mode.Is this an old version?Also, when I try to start with the --chat command, like I normally do,, I now get this error:

AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

Edit: I also cannot raise max-token-size above 2048. Seems to be an old version.

Anyone knows how to remedy this?


r/oobaboogazz • • Jul 28 '23

Question llm generating USER input

2 Upvotes

Why is my llm generating USER response? Is there anyway to make it just generate ASSISTANT response?


r/oobaboogazz • • Jun 27 '23

Other How can I help?

2 Upvotes

Hey ooba, love what you're doing in this space. I have some background in tech and would love to help you out in any way I can?

Shoot me a message if you want to connect. I think I have some skills that might make your life easier, but I wouldn't blame you if you preferred to work solo.

Not expecting any pay whatsoever. Just a fellow FOSS/FOSAI technologist looking to build something meaningful in the coming future. Would be cool if part of that meant helping you manage this hurricane of progress.