27 points octember 2 hours ago 8 comments
catlifeonmars 1 hour ago | parent
https://docs.aws.amazon.com/lambda/latest/dg/lambda-managed-...
jdw64 1 hour ago | parent
janalsncm 15 minutes ago | parent
First thing that came to mind is that you’re using a 4B model. If you can get away with something half the size, I think the numbers will be more favorable.
In order to do that you need an eval set, which you’ll want anyways if you care whether Jev or Open AI decisions or Gemini decisions are best for your problem.
Another thing is, you’ll probably be crushed on cold start unless you deliberately keep your lambdas warm.
octember 7 minutes ago | parent
For the eval set I took a sample from here: https://stanfordnlp.github.io/contract-nli/
If it's done right, answers are 100% identical so it's easy to verify you didn't break it
And yeah I kept them warm, pinging every function every 4 minutes