News for hackers. Stuff that matters.

alexcg1

Re:How to install Windows 11 without a Microsoft account on Saturday March 02, 2024 @12:07PM (#39573893)
Chocolatey [1] is a command line package manager for Windows that has a boatload of FOSS and freeware

[1] https://community.chocolatey.org/

Re:Newsboat: an RSS/Atom feed reader for the text console on Thursday January 26, 2023 @05:02PM (#34539530)
Nice! Just downloaded and playing with it now. But there's nothing in readme about enabling nice image display in kitty. Any advice?
Re:SEO is dead long live LLMO on Wednesday January 04, 2023 @11:11AM (#34247329)
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...
Re:Ask HN: I want to dive into how to make search engines on Thursday August 25, 2022 @11:40AM (#32595236)
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)
Re:Ask HN: I want to dive into how to make search engines on Thursday August 25, 2022 @11:38AM (#32595191)
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

Re:Ask HN: How do you celebrate your birthday? on Friday July 29, 2022 @10:18AM (#32277261)
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
Re: on Wednesday July 27, 2022 @10:47AM (#32251057)
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
Re:Genshin Impact Fine-tuning CLIP for anime search on Wednesday July 27, 2022 @09:19AM (#32250063)
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.

Re:Making podcasts from Project Gutenberg e-books (2021) on Wednesday July 27, 2022 @06:24AM (#32248741)
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)
Re:Search PDFs with Transformers and Python Notebook on Tuesday July 26, 2022 @04:14AM (#32235656)
I think you and I should start a support group!
Re:Search PDFs with Transformers and Python Notebook on Tuesday July 26, 2022 @04:13AM (#32235651)
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.

Re:Search PDFs with Transformers and Python Notebook on Tuesday July 26, 2022 @04:11AM (#32235641)
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)
Re:Search PDFs with Transformers and Python Notebook on Monday July 25, 2022 @06:03PM (#32231517)
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

Re:Search PDFs with Transformers and Python Notebook on Monday July 25, 2022 @05:57PM (#32231473)
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.

Re:Search PDFs with Transformers and Python Notebook on Monday July 25, 2022 @05:54PM (#32231442)
Nice to meet another person in the super-obvious-username club
Re:Search PDFs with Transformers and Python Notebook on Monday July 25, 2022 @05:53PM (#32231434)
Thanks man!
Re:Search PDFs with Transformers and Python Notebook on Monday July 25, 2022 @05:52PM (#32231426)
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

Re:Search PDFs with Transformers and Python Notebook on Monday July 25, 2022 @05:51PM (#32231401)
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.

Re:Search PDFs with Transformers and Python Notebook on Monday July 25, 2022 @05:49PM (#32231382)
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

Older »