HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sftombu

no profile record

Submissions

Rate limiter for LLMs outperforms exponential backoff

github.com
2 points·by sftombu·2 года назад·1 comments

Gemini Flash outperforms more expensive models

nian.llmonpy.ai
1 points·by sftombu·2 года назад·0 comments

Fewer if statements with Nothing instead of None

github.com
3 points·by sftombu·2 года назад·0 comments

GPT-4o's Memory Breakthrough

github.com
2 points·by sftombu·2 года назад·2 comments

comments

sftombu
·2 года назад·discuss
rateLLMiter is a Python rate limiter that smoothes out requests to LLM APIs to get faster, more consistent performance. It uses a ticket bucket algorithm rather than the usual exponential backoff.
sftombu
·2 года назад·discuss
The models benchmarked by RULER do worse in needle in a needlestack. It will be interested to see how 4o does with RULER.
sftombu
·2 года назад·discuss
Previous answer to this question:

https://news.ycombinator.com/item?id=40361419s
sftombu
·2 года назад·discuss
It can't answer the questions without the limericks in the prompt. The benchmark is to establish how well it uses the context window. For example, I just asked it "What is sought by the English top brass?". The answer from the limerick is "Cranberry glass" and 4o answers correctly when given the associated limerick once out of 2500+ limericks.

However, without the limerick, 4o responded with: "The term "English top brass" typically refers to high-ranking officials or leaders within the British government, military, or other institutions. What they seek can vary widely depending on the context and the specific goals of their roles. Here are some general pursuits that might be sought by such individuals:

National Security: Ensuring the safety and security of the United Kingdom from internal and external threats is a primary concern. This involves defense strategies, intelligence operations, and counter-terrorism efforts.

Economic Stability: High-ranking officials often focus on policies and initiatives aimed at maintaining and improving the country’s economic health. This includes managing inflation, unemployment, trade relations, and economic growth.

Political Influence: Top brass often seek to maintain or expand their influence both domestically and internationally. This can involve diplomacy, forming alliances, and participating in international organizations like the United Nations or NATO.

Social Cohesion: Ensuring social stability and addressing issues such as inequality, healthcare, education, and social services are critical. This can involve implementing policies that promote social welfare and cohesion.

Public Policy Implementation: Leaders are responsible for developing and implementing policies that reflect the government’s priorities. This includes legislation, regulatory frameworks, and public administration.

Technological Advancement: Keeping the nation at the forefront of technological innovation is often a priority. This includes investments in research and development, supporting tech industries, and ensuring cybersecurity.

Environmental Sustainability: Addressing climate change and promoting sustainable practices are increasingly important. This includes policies aimed at reducing carbon emissions, protecting natural resources, and transitioning to renewable energy sources.

Cultural and Heritage Preservation: Protecting and promoting the country’s cultural heritage and national identity can also be a focus. This includes supporting the arts, preserving historical sites, and promoting cultural initiatives.

These pursuits are shaped by the current political climate, global trends, and the specific priorities of the leaders in question. Would you like more detailed information on any of these areas?"
sftombu
·2 года назад·discuss
Previous answer to this question:

https://news.ycombinator.com/item?id=40361419
sftombu
·2 года назад·discuss
Previous answer to this question:

https://news.ycombinator.com/item?id=40361419
sftombu
·2 года назад·discuss
Interesting!
sftombu
·2 года назад·discuss
I tested the LLMs to make sure they could not answer the questions unless the limerick was given to them. Other than 4o, they do very badly on this benchmark, so I don't think the test is invalidated by their training.
sftombu
·2 года назад·discuss
They come from a database of 98k limericks -- https://zenodo.org/records/5722527
sftombu
·2 года назад·discuss
That is an interesting idea
sftombu
·2 года назад·discuss
The reason I made Needle in a needlestack is the LLMs are getting to good at needle in a haystack. Until GPT-4o, no model was good at the NIAN benchmark.
sftombu
·2 года назад·discuss
If you ask the questions without providing the limerick first, it never gets the right answer. When the LLM gets the wrong answer, it is usually because it reverts to its training data and gives a generic answer that doesn't apply to the limerick.
sftombu
·2 года назад·discuss
I was thinking about something similar -- to make part of the question be sufficient information that the LLM can find the limerick. Then the 2nd part would ask something that would require a deeper understanding of the limerick (or other text).
sftombu
·2 года назад·discuss
I had the same experience. With a 16k prompt, Turbo was nearly flawless. But it wasn't very good at 32k and not usable at 100+. You have to repeat information to get good results with longer prompts
sftombu
·2 года назад·discuss
If I had access to Gemini with a reasonable token rate limit, I would be happy to test Gemini. I have had good results with it in other situations.
sftombu
·2 года назад·discuss
GPT-4o's breakthrough memory -- https://nian.llmonpy.ai/