Better HN
topnewbestaskshowjobs
Log inSign up

xfalcox

1,042 karma · joined Nov 7, 2013 (13y ago) · 319 submissions

[ my public key: https://keybase.io/falcofantastic; my proof: https://keybase.io/falcofantastic/sigs/_PKYsKf2wmCyt834lEh6N4POje9RoICd3Ta7qezTzJE ]
Submissions

comment 2w ago · link · parent

I'm interested. Does it handle subtitles translation with AI ? This is a must have for me.

First try to obtain subtitles in the locale I need, fallback to using AI to translate the embeded ones, fallback to downloading ones in original language / english and translating.

comment 2w ago · link · parent

Been doing this on Discourse for Spam and locale detection, mostly doing d3-turbo with Qwen 3.8 Flash Next Help.

comment 1mo ago · link · parent

I've been using herdr and this looks like a v2 of it. Will give it a try.

comment 1mo ago · link · parent

Doesn't the article covers the speed part by showing that Qwen 3.6 35A3B has lower latency and same accuracy?

comment 2mo ago · link · parent

Yeah, DeepSeek 4 Flash on vLLM has been an adventure indeed. It finally stabilized for me on 2 x H200 using a commit a few days before 0.28, so this release should be good for you.

comment 3mo ago · link · parent

Have you tried running it on a single 5090? Dual 5090 require https://github.com/aikitoria/open-gpu-kernel-modules for higher perf. Are you using TP?

comment 4mo ago · link · parent

I'm wondering the same! How that article has no links is beyond me.

comment 4mo ago · link · parent

Question to the OP, have you tested this on a machine where the entire model and context fit in RAM ?

comment 4mo ago · link · parent

README covers that

https://github.com/JustVugg/colibri#ssd-wear-warning

comment 5mo ago · link · parent

Given my dev machine has 32GB of RAM and 32GB of VRAM that sits mostly idle when I'm not running AI models, this is not that bad of an idea.

comment 7mo ago · link · parent

Comparing a model you can downloads weights for with an API-only model doesn't make much sense.

comment 7mo ago · link · parent

Our CEO did that at our company and found 33 CVEs. Rails also did that and found 7 or 8.

comment 10mo ago · link · parent

I just made a new installer for Discourse on CharmRuby, now I gotta check this out and see if porting is feasible. Hopefully this reduces the app size, that is quite large with CharmRuby

comment 10mo ago · link · parent

That is a great fit for the GIF integration in Discourse.

I was able to quickly add support for it at https://github.com/discourse/discourse-gifs/pull/107

Love to see WEBP support. Do you plan on adding support for AVIF?

Also, this is used by many Discourse sites, we should talk.

comment 10mo ago · link · parent

First time I was in San Francisco and someone introduced themselves like that, going even beyond, was indeed a super weird experience being a brazilian.

comment 11mo ago · link · parent

We have vLLM for running text LLMs in production. What is the equivalent for this model?

comment 12mo ago · link · parent

I am partial to https://huggingface.co/Qwen/Qwen3-Embedding-0.6B nowadays.

Open weights, multilingual, 32k context.

comment 1y ago · link · parent

It's the Amazon own model. I'm baffled someone would pick it, even more that someone would test Llama 4 for a task in an age where Sonnet 4.5 is already out, so in the last 45 days.

Looks like they were limited by AWS Bedrock options.

comment 1y ago · link · parent

> what does the rag for uploaded files do in discourse?

You can upload files that will act as RAG files for an AI bot. The bot can also have access to forum content, plus the ability to run tools in our sandboxed JS environment, making it possible for Discourse to host AI bots.

> also, when i run a discourse search does it really do both a regular keyword search and a vector search? how do you combine results?

Yes, it does both. In the full page search it does keyword first, then vector asynchronously, which can be toggled by the user in the UI. It's auto toggled when keyword has zero results now. Results are combined using reciprocal rank fusion.

In the quick header search we simply append vector search to keyword search results when keyword returns less than 4 results.

> does all discourse instances have those features? for example, internals.rust-lang.org, do they use pgvector?

Yes, all use PGvector. In our hosting all instances default to having the vector features enabled, we run embeddings using https://github.com/huggingface/text-embeddings-inference

comment 1y ago · link · parent

We host thousands of forums but each one has its own database, which means we get a sort of free sharding of the data where each instance has less than a million topics on average.

I can totally see that at a trillion scale for a single shard you want a specialized dedicated service, but that is also true for most things in tech when you get to the extreme scale .

comment 1y ago · link · parent

I was taken back when I saw what was basically zero recall loss in the real world task of finding related topics, by doing the same thing you described where we over capture with binary embeddings, and only use the full (or half) precision on the subset.

Making the storage cost of the index 32 times smaller is the difference of being able to offer this at scale without worrying too much about the overhead.

comment 1y ago · link · parent

In Discourse embeddings power:

- Related Topics, a list of topics to read next, which uses embeddings of the current topic as the key to search for similar ones

- Suggesting tags and categories when composing a new topic

- Augmented search

- RAG for uploaded files

comment 1y ago · link · parent

Also worth mentioning that we use quantization extensively:

- halfvec (16bit float) for storage - bit (binary vectors) for indexes

Which makes the storage cost and on-going performance good enough that we could enable this in all our hosting.

comment 1y ago · link · parent

> Nobody’s actually run this in production

We do at Discourse, in thousands of databases, and it's leveraged in most of the billions of page views we serve.

> Pre- vs. Post-Filtering (or: why you need to become a query planner expert)

This was fixed in version 0.8.0 via Iterative Scans (https://github.com/pgvector/pgvector?tab=readme-ov-file#iter...)

> Just use a real vector database

If you are running a single service that may be an easier sell, but it's not a silver bullet.

comment 1y ago · link · parent

Depends on your needs. You surely don't want 32k long chunks for doing the standard RAG pipeline, that's for sure.

My use case is basically a recommendation engine, where retrieve a list of similar forum topics based on the current read one. As with dynamic user generated content, it can vary from 10 to 100k tokens. Ideally I would generate embeddings from an LLM generated summary, but that would increase inference costs considerably at the scale I'm applying it.

Having a larger possible context out of the box just made a simple swap of embeddeding models increase quality of recommendations greatly.

comment 1y ago · link · parent

Just migrated all embeddings to this same model a few weeks ago in my company, and it's a game changer. Having 32k context is a 64x increase when compared with our previous used model. Plus being natively multilingual and producing very standard 1024 long arrays made it a seamless transition even with millions of embeddings across thousands of databases.

I do recommend using https://github.com/huggingface/text-embeddings-inference for fast inference.

comment 1y ago · link · parent

Having a public tokenizer is quite useful, specially for embeddings. It allows you to do the chunking locally without going to the internet.

comment 1y ago · link · parent

Qwen 3 is not slow by any metrics.

Which model, inference software and hardware are you running it on?

The 30BA3B variant flies on any GPU.

comment 1y ago · link · parent

You'd be surprised how often people in enterprise can be left waiting months to get an API key approved for an LLM provider.

comment 1y ago · link · parent

This looks like a great fit for allowing people to monetize their Discourse forums, by having partners stores and plugging those instead of ads.

Will build a quick poc integration. How can I contact you with feedback?

12345
11