OpenAI frontier models and Codex are now available on AWS
openai.com370 ポイント投稿者 typpo131 コメント
prompts:
- 'Answer this coding problem in Python: {{ask}}'
providers:
- ollama:chat:gemma2:9b
- ollama:chat:llama3:8b
tests:
- vars:
ask: function to find the nth fibonacci number
- vars:
ask: calculate pi to the nth digit
- # ...
One small thing I've always appreciated about Gemma is that it doesn't include a "Sure, I can help you" preamble. It just gets right into the code, and follows it with an explanation. The training seems to emphasize response structure and ease of comprehension. prompts:
- "Write this in Python 3: {{ask}}"
providers:
- ollama:chat:llama3:8b
- ollama:chat:phi3
- ollama:chat:qwen:7b
tests:
- vars:
ask: a function to determine if a number is prime
- vars:
ask: a function to split a restaurant bill given individual contributions and shared items
Jumping in because I'm a big believer in (1) local LLMs, and (2) evals specific to individual use cases. prompts:
- 'Answer this programming question concisely: {{ask}}'
providers:
- replicate:meta/meta-llama-3-8b-instruct
- replicate:meta/meta-llama-3-70b-instruct
- replicate:mistralai/mixtral-8x7b-instruct-v0.1
- openai:chat:gpt-4-turbo
- anthropic:messages:claude-3-opus-20240229
tests:
- vars:
ask: Return the nth element of the Fibonacci sequence
- vars:
ask: Write pong in HTML
# ...
Still testing things but Llama 3 8b is looking pretty good for my set of random programming qs at least. providers:
- ollama:chat:llama3
[0] https://replicate.com/blog/run-llama-3-with-an-api prompts:
- "Solve in Python: {{ask}}"
providers:
- ollama:chat:codellama:7b
- ollama:chat:codegemma:instruct
tests:
- vars:
ask: function to return the nth number in fibonacci sequence
- vars:
ask: convert roman numeral to number
# ...
YMMV based on your coding tasks, but I notice gemma is much less verbose by default.
> To me that means “it’s an inferior product but marketing dictates we try and hide that.”
I interpret this to mean you're about to get today's mainline performance at a fraction of the price.