Hacker News

Free Julian Assange

Hacker News - 5 hours 37 min ago

Article URL: https://freeassange.org/

Comments URL: https://news.ycombinator.com/item?id=40409197

Points: 1

# Comments: 1

Categories: Hacker News

AI Therapist Online

Hacker News - 5 hours 45 min ago

Article URL: https://www.therapist-online.org/

Comments URL: https://news.ycombinator.com/item?id=40409142

Points: 1

# Comments: 0

Categories: Hacker News

Somnium

Hacker News - 5 hours 50 min ago
Categories: Hacker News

Have you successfully fine-tuned an LLM for anything useful?

Hacker News - 5 hours 52 min ago

I'm interested to see if people are fine-tuning the larger LLMs just for kicks or if there are situation where it makes sense (not including high-stakes decision making like medical/legal) and it is computationally efficient?

Smaller models that are cheap to host, sure, but in which cases does fine-tune a larger model (and host it) really shine? Oppose to just using RAG and a closed-source API.

Perhaps it makes sense if it is serving a huge customer base, and the tone of voice needs to be different, but the question is how much work it is to train it and if it is worth it.

I'm not against fine-tuning but curious what the actual use cases are, where it makes economic sense and how successful people/organisations have been.

Comments URL: https://news.ycombinator.com/item?id=40409098

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: Checkpoint 401 – forward auth server in TypeScript / Deno

Hacker News - 6 hours 26 min ago

I wrote a forward auth server in TypeScript and Deno.

I've written several forward auth servers before but they have always been specifically written for that application. I wanted something more generalised that I could re-use.

What is forward auth? Web servers likes Nginx and Caddy and Traefik have a configuration option in which inbound requests are sent to another server before they are allowed. A 200 response from that server means the request is authorised, anything else results in the web server rejecting the request.

This is a good thing because it means you can put all your auth code in one place, and that the auth code can focus purely on the job of authing inbound requests.

Checkpoint 401 aims to be extremely simple - you define a route.json which contains 3 things, the method, the URL pattern to match against and the filename of a TypeScript function to execute against that request. Checkpoint 401 requires that your URL pattern comply with the URL pattern API here: https://developer.mozilla.org/en-US/docs/Web/API/URLPattern/...

Your TypeScript function must return a boolean to pass/fail the auth request.

That's all there is to it. It is brand new and completely untested so it's really only for skilled TypeScript developers at the moment - and I suggest that if you're going to use it then first read through the code and satisify yourself that it is good - it's only 500 lines: https://raw.githubusercontent.com/crowdwave/checkpoint401/ma...

Comments URL: https://news.ycombinator.com/item?id=40408876

Points: 2

# Comments: 0

Categories: Hacker News

Pages