HackerTrans
TopNewTrendsCommentsPastAskShowJobs

alexcg1

no profile record

Submissions

[untitled]

16 points·by alexcg1·vor 3 Jahren·0 comments

Search nested data with Python, DocArray and subindices

medium.com
3 points·by alexcg1·vor 4 Jahren·0 comments

Search PDF text, tables, images with Python and CLIP

colab.research.google.com
5 points·by alexcg1·vor 4 Jahren·0 comments

Summarizing text to create storyboards with DistilBART model and DiscoArt

medium.com
13 points·by alexcg1·vor 4 Jahren·1 comments

The next level of multi-modality in DocArray

medium.com
13 points·by alexcg1·vor 4 Jahren·0 comments

[untitled]

6 points·by alexcg1·vor 4 Jahren·0 comments

Text/image product search, using Python and CLIP

colab.research.google.com
2 points·by alexcg1·vor 4 Jahren·0 comments

Using Karpenter to manage GPU nodes with time-slicing

medium.com
4 points·by alexcg1·vor 4 Jahren·0 comments

IT Threat Detection Using Neural Search: Part 2

medium.com
5 points·by alexcg1·vor 4 Jahren·0 comments

[untitled]

8 points·by alexcg1·vor 4 Jahren·0 comments

Jainammm/TableNet: Model for table detection/extraction from scanned documents

github.com
1 points·by alexcg1·vor 4 Jahren·0 comments

Genshin Impact Fine-tuning CLIP for anime search

colab.research.google.com
32 points·by alexcg1·vor 4 Jahren·3 comments

Mars Express Images Show What's Inside the Biggest Canyon in the Solar System

vice.com
2 points·by alexcg1·vor 4 Jahren·0 comments

Search PDFs with Transformers and Python Notebook

colab.research.google.com
132 points·by alexcg1·vor 4 Jahren·51 comments

Generating Graphic Novels with Deep Neural Networks – DALL-E Flow and GPT-3

betterprogramming.pub
2 points·by alexcg1·vor 4 Jahren·0 comments

Show HN: Neural Search for Stack Overflow

colab.research.google.com
15 points·by alexcg1·vor 4 Jahren·0 comments

Show HN: Build Multimodal AI Search Using Nocode

medium.com
2 points·by alexcg1·vor 4 Jahren·0 comments

comments

alexcg1
·vor 2 Jahren·discuss
Chocolatey [1] is a command line package manager for Windows that has a boatload of FOSS and freeware

[1] https://community.chocolatey.org/
alexcg1
·vor 3 Jahren·discuss
Nice! Just downloaded and playing with it now. But there's nothing in readme about enabling nice image display in kitty. Any advice?
alexcg1
·vor 4 Jahren·discuss
There's been a lot of news today about Microsoft integrating ChatGPT into Bing: https://www.theverge.com/2023/1/4/23538552/microsoft-bing-ch...
alexcg1
·vor 4 Jahren·discuss
To be clear, Jina AI stuff helps with the search engine itself. Getting the data is another matter entirely, and pretty much outside of our scope (although we do provide some example datasets with Jina NOW, like artworks, music, etc)
alexcg1
·vor 4 Jahren·discuss
What kinda thing do you want to search? Text I guess? But there are search engines for images, gifs, video, all kinds of stuff.

I'm working at an open-source project that builds an AI-powered search framework [0], and I've built some examples in very few lines of code (for searching fashion products via image or text [1], PDF text/images/tables search [2]) and one of our community members built a protein search engine [3].

A good place to start might be with a no-code solution like (shameless self-plug time) Jina NOW [4], which lets you build a search engine and GUI with just one CLI command.

[0] https://github.com/jina-ai/jina/

[1] https://examples.jina.ai/fashion/

[2] https://colab.research.google.com/github/jina-ai/workshops/b...

[3] https://github.com/georgeamccarthy/protein_search

[4] https://now.jina.ai
alexcg1
·vor 4 Jahren·discuss
For me, I'll invite as many close friends as possible to a restaurant with cuisine we've never tried before (last time was Ethiopian). It starts off a new year (relative to my birth) with novelty, good food, and warm feelings
alexcg1
·vor 4 Jahren·discuss
And I'd say Disco creates a more ethereal-feeling art. It's cool to watch noise just de-noise over time and see strange creations coming forth
alexcg1
·vor 4 Jahren·discuss
This is more related to search tasks, where we encode text and image pairs to use text to search image. ResNet can also be served a backbone for search tasks: content-based image search/reverse image search/search image with image. You need to remove the ResNet50 classification head.

On the other hand, Tensorflow or MLNet are machine learning frameworks, to achieve the task you can choose whatever you want to build the model components.
alexcg1
·vor 4 Jahren·discuss
What text-to-speech model is being used? I've seen big improvements in the past few years that could make me actually want to listen to these (since the voices sound more natural now)
alexcg1
·vor 4 Jahren·discuss
I think you and I should start a support group!
alexcg1
·vor 4 Jahren·discuss
Cholera has survived for thousands of years. Doesn't mean I want to deal with it :)

Seriously though, I agree. The fact that a file format can stick around that long is impressive.
alexcg1
·vor 4 Jahren·discuss
I know folks with thousands to millions of PDFs using the Jina framework and it works fine. I hear what you're saying about frontends and lightweight though. Jina doesn't come with any cross-platform frontends, though Jina NOW has a Streamlit interface that's responsive (so works across devices)
alexcg1
·vor 4 Jahren·discuss
In terms of matching embeddings and performing similarity search on text/images - folks are already using the framework (Jina) for that and getting decent results.

In terms of processing the PDFs and extracting that data. idk. That depends on a lot of factors - e.g. do you need to OCR the PDFs or can just extract text directly? Either way, should be possible to write a module and then easily scale it up (Jina supports shards/replicas). Anyway, lemme know. I'm in talks with folks about this kind of shitshow...uh...use case now.

Jina supports multiple vector database backends, like Weaviate, Qdrant and others. For others (like Milvus), suggest you ask on the Slack [0] - responses tend to be fast.

[0] https://slack.jina.ai
alexcg1
·vor 4 Jahren·discuss
I may have misworded it (if I wrote those words - PDF rots the brain and my memory likewise).

Agreed on the rest. PDFs don't store machine-readable data. Often just pixelated scanned hot garbage dumpster fire text.

I hate PDFs but have to work with the satanforesaken things. Hence the notebook. It's my little way of trying to give my little PDF-bespoked-hellscape a tiny little glow-up.
alexcg1
·vor 4 Jahren·discuss
Nice to meet another person in the super-obvious-username club
alexcg1
·vor 4 Jahren·discuss
Thanks man!
alexcg1
·vor 4 Jahren·discuss
I feel your pain my brother(?) [0] in suffering. That's why I started simple in the notebook. Even trying to go a little more complex just leads to exponential rabbit holes and footguns.

[0] based on typical HN demographics, no assumptions here
alexcg1
·vor 4 Jahren·discuss
Getting the URI of original PDF would be straightforward enough - I could whack that into the code tomorrow with a few lines.

Opening up the correct page? I don't know of any standardized PDF reader that supports that kind of thing. And the format has such a history that even if it were supported (technically by Adobe - don't even get me started on what PDF readers support what formats), there's no guarantee the file itself would even have that cooked in.
alexcg1
·vor 4 Jahren·discuss
Don't remind me of desktop Java. What was that toolkit, swing(?) that was used in all the apps back in the day. PDFs have a special place in Hell, but Java desktop UXen deserve a whole special circle
alexcg1
·vor 4 Jahren·discuss
- Modern PDFs - if you wanna extract text and images, then the PDFSegmenter used in my example will work. If tables too, might need some additional jiggery-pokery, but definitely doable. I know other ppl using the same framework (Jina) who've accomplished it.

- Exact word search - pretty simple. I've focused on more advanced stuff because color vs colour is same same but different. Also just because it's pretty easy since I'm just using pre-defined building blocks, not manually integrating stuff

- Cross platform frontend - I've seen a lyrics search frontend [0] and I've built stuff in Streamlit before. Jina offers RESTful/gRPC/WebSockets gateways so it can't be too tough

- Lightweight? I mean how lightweight do you want it? C? Bash? Assembly? I've found Python good for text parsing

- Long-term: The notebook I wrote has a few (each of which have their own), but compared to others they're relatively lightweight.

- Gluing code: I've been using pre-existing building blocks, and writing new Executors (i.e. building blocks) is relatively straightforward, and then scaling them up with shards, replicas, etc is just a parameter away.

I'm more into the search side then the PDF stuff. The PDF side I've had experience with through bitter suffering and torment. Not a fun format to work with (unless you're into sado-masochism)

[0] https://github.com/jina-ai/examples/tree/master/multires-lyr...