clip-interrogator
askai
clip-interrogator | askai | |
---|---|---|
27 | 1,754 | |
2,491 | 86 | |
- | - | |
4.8 | 10.0 | |
3 months ago | over 1 year ago | |
Python | TypeScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clip-interrogator
-
AI Horde’s AGPL3 hordelib receives DMCA take-down from hlky
It's image -> words, the inverse of stable diffusion.
see: https://github.com/pharmapsychotic/clip-interrogator
-
What are the "fastest" image classifiers I can use?
I have been using this on a CPU https://github.com/pharmapsychotic/clip-interrogator, I tried a lot of pre-trained models combinations, all are slow.
- -New Monthly Event!-
-
I keep trying to recreate this scene as a painting. But the AI doesn't get it. How do I describe that the man is reaching behind to stab a lion in the head, as the lion has pounced and is biting the rear of the horse. The AI always redraws this without the lion or not how it is shown here.
I'm addition to controlnet, try the clip interrogator to see how clip would describe the image and then use that language in your prompt. You can try the whole image or cropped portions. There is a colab available if you don't want to run it locally.
-
For Lora training, isn’t there a good AI that discribes the pictures you want to use for training?
In my current process, I use CLIP Interrogator to produce a high level caption and wd14 tagger for more granular booru tags. Typically in that order, because you can append the results from the latter to the former. Both tools perform with greater accuracy than the standard interrogators in img2img and give you more flexibility and features as well. You still have to do some manual adjustments, but I generally prefer this process over starting from scratch.
- Midjourney Image2text
-
Tech pioneers call for six-month pause of "out-of-control" AI development
If you are interested in this, definitely see if you can get some of the OSS models running and get a feel for how to interrogate them. Maybe see if you can get some mileage out of the CLIP-Interrogator
-
ChatGPT 3.5 vs 4 & Stable Diffusion
Next, I used the lists of artists, flavors, mediums, movements, and negatives that are used for the clip-interrogator and pasted these in the chat and told the bot to categorize them accordingly. As you can only paste up to certain characters in single message (4-5K in 3.5 and 6-8K in 4).
-
Any idea of what type of prompt has been used to make this?
Here’s the specific one I’m using (runs in browser)
-
CLIP Interrogator 2 locally
I really enjoy using the CLIP Interrogator on huggingspaces, but it is often super slow and sometimes straight up breaks. Now it is possible to locally install it, https://github.com/pharmapsychotic/clip-interrogator but I don't know if its viable to run on a laptop with 6gb videocard anyway.
askai
-
OpenAI Bought Chatgpt.com
I was confused why https://chat.openai.com suddenly redirects to https://chatgpt.com which results in connection refused. Turns out chatgpt.com is in many blocklists (e.g. Pi-Hole) due to it being a potentially unsafe Domain before OpenAI acquiring it. So heads up if you use Pi-Hole / AdGuard etc.!
- The ChatGPT URL have changed
- Chat.openai.com now redirects (me) to chatgpt.com
-
Unofficial ChatGPT API
This API allows you to interact with ChatGPT programmatically, and I've built some cool agents on top of it. Check out the code and let me know what you think! :
ChatGPT unofficial API :
This project is a Node.js application that interacts with the ChatGPT conversational AI model using Puppeteer, a Node.js library for automating web browsers.
Files chatgptv1.js: This file contains the main logic for the ChatGPT bot, including methods for initializing the browser, sending messages, receiving replies, and handling errors.
bart.js: This file contains a function that uses the Cloudflare API to summarize the conversation history when an error occurs, in order to resume the conversation.
twochatbotsconv.js: This file is simple use of the API , which creates two instances of the ChatGPT class, initiates a conversation between them, and saves the conversation history to a file.
.env: This file contains the API token for the Cloudflare API, which is used in the bart.js file.
Dependencies :
puppeteer: A Node.js library for automating web browsers. fs: The built-in file system module in Node.js. winston: A logging library for Node.js. crypto: The built-in cryptography module in Node.js. axios: A popular HTTP client library for Node.js. dotenv: A zero-dependency module that loads environment variables from a .env file.
Usage:
Install the dependencies by running npm install in your project directory. Create a .env file in the project directory and add your Cloudflare API token:
API_TOKEN=YourfreeCloudFlareAPIToken In your code, create a new instance of the ChatGPT class and use the sendMessage and getReply methods to interact with the ChatGPT model:
const ChatGPT = require('./chatgptv1');
const chatgpt = new ChatGPT(); await chatgpt.initializeBrowser();
await chatgpt.sendMessage('Hello, ChatGPT!'); const reply = await chatgpt.getReply(); console.log(reply);
await chatgpt.closeBrowser(); If an error occurs during the conversation, the handleError method will attempt to save the conversation history and resume the conversation using the summarized context.
Before Running :
run Google chrom in the debug mode using 9220 port , run : google-chrome-stable --remote-debugging-port=9222
Customization :
You can customize the behavior of the ChatGPT bot by passing options to the ChatGPT constructor:
chatbotUrl: The URL of the ChatGPT interface (default: 'https://chat.openai.com/'). headless: Whether to run the browser in headless mode (default: false). saveConversationCallback: A callback function that will be called with the conversation summary and the conversation file name when an error occurs.
License:
This project is licensed under the MIT License.
- It's a shame – chat.openai.com redirect to chatgpt.com is broken
-
Building a Basic Forex Rate Assistant Using Agents for Amazon Bedrock
After wrestling with it for a bit and eventually giving up, I instead turned to ChatGPT to see if it is smart enough for the task. With my free plan, I asked ChatGPT 3.5 the following:
- Learn to ask for help
-
How to build a custom GPT: Step-by-step tutorial
Go to chat.openai.com and log in
- Chat.openai.com no longer requires login
-
Integrating Strapi with ChatGPT and Next.js
In this tutorial, we will learn how to use Strapi, ChatGPT, and Next.js to build an app that displays recipes using AI.
What are some alternatives?
stable-diffusion-webui-wd14-tagger - Labeling extension for Automatic1111's Web UI
ChatGPT - 🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
laion-datasets - Description and pointers of laion datasets
gpt-4chan-model
dalle-2-preview
openai-cookbook - Examples and guides for using the OpenAI API
stable-diffusion-artists - Curated list of artists for Stable Diffusion prompts
ai-cli - Get answers for CLI commands from ChatGPT right from your terminal
hordelib - A wrapper around ComfyUI to allow use by the AI Horde. [UnavailableForLegalReasons - Repository access blocked]
KoboldAI-Client
semantic-kernel - Integrate cutting-edge LLM technology quickly and easily into your apps
civitai - A repository of models, textual inversions, and more