HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nirga

no profile record

Submissions

Why I Won’t Use Next.js

epicweb.dev
24 points·by nirga·vorig jaar·8 comments

Ask HN: How much does open source play a role when choosing a software?

3 points·by nirga·3 jaar geleden·6 comments

Mistral AI releases GPT-4 like MoE model as a torrent

twitter.com
5 points·by nirga·3 jaar geleden·0 comments

Kubectl Powered by GPT

github.com
1 points·by nirga·3 jaar geleden·0 comments

[untitled]

1 points·by nirga·3 jaar geleden·0 comments

comments

nirga
·8 maanden geleden·discuss
Hey! We don’t support an otel collector directly - you have to connect it to some backend. Minimal one can be jaeger for example
nirga
·vorig jaar·discuss
Sorry didn’t know that. It’s not my article so didn’t want to attribute the title to myself
nirga
·vorig jaar·discuss
For example - the fact that the FE environment variables are hardcoded at build time makes it hard to just deploy a container
nirga
·2 jaar geleden·discuss
I think that's the key benefit of using OpenTelemetry - it's pretty efficient and the performance footprint is negligible.
nirga
·2 jaar geleden·discuss
Thanks for spotting those! We'll fix it asap
nirga
·2 jaar geleden·discuss
I think you can (pretty) easily set this up with an otel collector and something that replays data from S3 - there's a native implementation that converts otel to clickhouse
nirga
·2 jaar geleden·discuss
You can do it and it's a good way of doing that - from our experiments that can catch most errors. You don't even need to use different models - even using the same model (I don't mean asking "are you sure?" - just re-running the same workflow) will give you nice results. The only problem is that it's super expensive to run it on all your traces so I wouldn't recommend that as a monitoring tool.
nirga
·2 jaar geleden·discuss
Thanks! It can vary greatly between use cases - but we've seen extremely high detection rates for tagged texts (>95%). When switching to production, this gets trickier since you don't know what you don't know (so it's hard to tell how many "bad examples" we're missing). Our false positive rate (number of examples that were tagged as bad but weren't) has been around 2-3% out of the overall examples tagged as bad (positive) and we always work on decreasing this.
nirga
·2 jaar geleden·discuss
You're right. We faced those same issues. So we plan to move those prompts and completions to be sent as log events with some reference to the trace/span and not actually on the span.

The span can then only contain the most important data like the prompt template, model that was used, token usage, etc. You can then split the metadata (spans and traces) and the large payloads (prompts + completions) to different data stores.
nirga
·2 jaar geleden·discuss
Thanks! I wasn’t offended or anything, don’t get the wrong impression.

What strikes me odd is the fact that an AI that checks AI is an issue. Because AI can mean a lot of things - from a encoder architecture, a neural network, or a simple regression function. And at the end of the day, similar to what you said - there was a human building and fine tuning that AI.

Anyway, this feels more of a philosophical question than an engineering one.
nirga
·2 jaar geleden·discuss
It has the same logic of saying you dont want to use a computer to monitor or test your code since it will mean that a computer will monitor a computer. AI is a broad term, I agree you can use GPT (or any LLM) to grade an LLM in an accurate way but that’s not the only way you can monitor.
nirga
·2 jaar geleden·discuss
I replied to you in a different thread, I don't think calling our companies "deceptive" will help you or me get anywhere. While I agree with you that detection will never be hermetic, I don't think this is the goal. By design you'll have hallucinations and the question should be how can you monitor the rate and look for changes and anomalies.
nirga
·2 jaar geleden·discuss
I'm sorry but this is not what we do. We don't use LLMs to grade your LLM calls.
nirga
·2 jaar geleden·discuss
I think that LLMs are hallucinating by design. I'm not sure we'll ever get to a 0% hallucinations and we should be ok with it (at least for the next coming years?). So getting an alert on hallucination becomes less interesting. What is more interesting perhaps is knowing the rate that this happens. And keeping track on whether this rate increases or decreases with time or with changes to models.
nirga
·2 jaar geleden·discuss
I think it depends on the use case and how you define hallucinations. We've seen our metrics perform well (=correlates with human feedback) for use cases like summarization, RAG question-answering pipeline, and entity extraction.

At the end of the day things like "answer relevancy" are pretty dichotomic in a sense that for a human evaluator it will be pretty clear whether an answer is answering a question or not.

I wonder if you can elaborate on why you claim that there's no ability to detect with any certainty hallucinations.
nirga
·2 jaar geleden·discuss
Ping me over slack (traceloop.com/slack) or email nir at traceloop dot com
nirga
·2 jaar geleden·discuss
roger that! I like them though (am I a normie then?)
nirga
·2 jaar geleden·discuss
I tend to find classic NLP metric more predictable and stable than "LLM as a judge" metrics so I'd try to see if you rely on them more.

We've written a couple of blog posts about some of them: https://www.traceloop.com/blog
nirga
·2 jaar geleden·discuss
We trained our own models for some of them, and we combined some well known NLP metrics (like Gruen [1]) to make this work.

You're right that it's hard to figure out how to "trust" these metrics. But you shouldn't look at them as a way to get an objective number about your app's performance. They're more of a way to detect deltas - regressions or changes in performance. When you get more alerts, or more negative results (or less alerts / less negative results) - you can tell you're improving. And this works for tools like RAGAS as well as our own metrics in my view.

[1] https://www.traceloop.com/blog/gruens-outstanding-performanc...
nirga
·2 jaar geleden·discuss
I know! When we started every time I was googling "traceloop" this was the first result.

2 reasons why we chose it (in this order):

1. traceloop.com was available

2. we work with traces