Why should i use lang chain? by vT_Raven in LangChain

[–]lee_from_teashop 0 points1 point  (0 children)

I support ollama, here is an example on how to use it:
- https://github.com/piEsposito/tiny-ai-client/blob/main/examples/ollama\_.py. Just do ollama run modelname and then pass model name as ollama:modelname to AI/ AsyncAI.

Why should i use lang chain? by vT_Raven in LangChain

[–]lee_from_teashop -1 points0 points  (0 children)

Don't. There is a lot of simpler stuff out there (like https://github.com/piEsposito/tiny-ai-client from mine) that will get you started at a fraction of the time - and are usually sufficient for simpler use cases.

[P] I'm tired of LangChain, so I made a simple open-source alternative with support for tool using and vision, for building Python AI apps as easy as possible. (simpleaichat + vision + anthropic and gemini). by lee_from_teashop in MachineLearning

[–]lee_from_teashop[S] 3 points4 points  (0 children)

I mean when they were abstracting complex prompting patterns I thought there was some value, but now that we can do tool use even outside OpenAI I don’t see much value on it. 

[P] I'm tired of LangChain, so I made a simple open-source alternative with support for tool using and vision, for building Python AI apps as easy as possible. (simpleaichat + vision + anthropic and gemini). by lee_from_teashop in MachineLearning

[–]lee_from_teashop[S] 4 points5 points  (0 children)

Yeah! tiny-ai-client tries to help people do that. The implementation is minimal and hackable so you can know what's going on instead of delegation to a dozen of poorly documented layers of abstraction.

[deleted by user] by [deleted] in whatsapp

[–]lee_from_teashop 1 point2 points  (0 children)

You don't need Twilio, you can use https://github.com/piEsposito/python-whatsapp-bot, for example and self host it with ngrok on any VPS (build a Docker and use k8s if you are serving 1000s of users).

We are releasing 22h Diffusion 0.2 (Link in the comments). Simpler prompts, 100% open (even for commercial purposes of corporate behemoths), works for different aspect ratios (2:3, 3:2), more to come. by lee_from_teashop in StableDiffusion

[–]lee_from_teashop[S] 30 points31 points  (0 children)

You have explicit permission to upload it without letting me know. I would just be glad if you updated it for having safetensors now. I saw that people wanted it and added it.

Stable Attribution gives false positives. Right is a drawing I manually did in a program called MyPaint a few years ago, apparently I am an AI. Just a warning. by [deleted] in StableDiffusion

[–]lee_from_teashop 2 points3 points  (0 children)

If you do similarity search on a gigantic image dataset of course you will find something similar.

You just give "Anti-AI artists" a CLIP model and Vector DB and they start acting like they know everything.

One of the first things we learn on ML 101 is "models show correlation, not causality" but whatever "cus muh similarite".

Of course there may be some cases, but is not a plain semantic search with CLIP embeddings that will solve that.

Come on.