HackerTrans
TopNewTrendsCommentsPastAskShowJobs

amitness

no profile record

Submissions

[untitled]

1 points·by amitness·작년·0 comments

[untitled]

1 points·by amitness·작년·0 comments

[untitled]

1 points·by amitness·작년·0 comments

[untitled]

1 points·by amitness·2년 전·0 comments

[untitled]

1 points·by amitness·2년 전·0 comments

comments

amitness
·작년·discuss
It's not enabled by default for their function calling API. So, hallucination is possible.

You have to set 'strict' to True manually to use the same grammar-based sampling they use for structured outputs.

https://platform.openai.com/docs/guides/function-calling?api...
amitness
·2년 전·discuss
Try this trick that I learned from Cohere: - Fetch top 10*k (i.e. 100) results using the hamming distance - Rerank by taking dot product between query embedding (full precision) and binary doc embeddings - Show top-10 results after re-ranking
amitness
·2년 전·discuss
OpenAI recommends using o1 to generate the verbose plan and then chain the verbose output to a cheaper model (e.g. gpt-4o-mini) to convert it into structured data / function calls / summary etc. They call it planner-executor pattern. [1]

[1] https://vimeo.com/showcase/11333741/video/1018737829