solaxun
Is it done at the API Key + schema level? Meaning that for a given API key, the latency penalty for a new schema is only paid one time, regardless of how far apart requests are? Or is cached with less duration, e.g. each session, conversation thread, etc?
For example, changing the way in which it responds could be:
- debate me
- brainstorm
- be sarcastic
Which also seems like something that could be accomplished with a system prompt or few shot examples, so I'm not sure when SFT is the more appropriate approach or what the tradeoffs are.Alternatively, gaining new knowledge would be training it on a dataset of e.g. sports trivia to make it highly effective at answering those types of questions.
P.S. nice username... Irving Fisher would approve.
If you have never used lisp, you need to be patient with the notation and resist the urge to balk at what is unfamiliar. I remember grumbling quite a bit when I first went through TLS, but that phase was over pretty quickly and within days I had no trouble following the code.
Are there better ways to introduce deep learning and neural networks? Maybe.. but I like "little" books and there is no better way to learn something than by building it yourself. For that reason alone I'd recommend the book sight unseen (but with the knowledge of prior little books). I do think choosing what is likely an unfamiliar language for most may be somewhat of an impediment for an already challenging topic, but scheme is a simple language and allows the author to focus on the ML concepts.
I'm highly confident you'll learn a lot, if you put in the work. For DL as a separate topic, the best resources I've found are:
- 3 blue 1 brown Neural Net playlist
- Karpathy's "The spelled-out intro to neural networks and backpropagation"I always had trouble with recursive functions when I was new to programming, and many recommended working through "the little schemer" to solve that problem. It was a tough read for me, but the investment was well worth it and it did for me what it said on the tin. I didn't have nearly as much trouble with recursion after that book, but an unfortunate side effect was developing an affinity for lisps which I haven't yet shaken.
- Very consistent, easy to keep the whole language in your head
- Stable, core rarely changes ("accretive only" mindset).
- REPL
- Focus on a handful of data structures which will solve 95% of the problems you face, rather than a deluge of complicated abstractions.
- Excellent concurrency primitives
- Access to Java libraries if a Clojure equivalent doesn't exist
- Macros
The only blemish for me was horrifically bad error messages.. other than that it's near perfect.The old "it's a supply constraint" argument will not age will IMO. FWIW, the fed agrees:https://www.federalreserve.gov/econres/feds/volatility-in-ho...
Same question applies to Erlang, which I realize is not exactly an actor system as per the below comment, and has a much more sophisticated error recovery story with supervisors, but the general question holds.
For 10 years I had to fight one of the 3 major U.S. credit bureaus to get them to remove a bankruptcy that was showing on my report because a relative with the same name happened to have a bankruptcy in their past. Think about how incredibly stupid that is - I was 18 at the time, so according to this report I started a business at 12 and filed Chapter 11 at 16. I had a different social security number, address, and DOB that should have made things painfully obvious, yet still the burden of proof was on me to show why this report was false. Oh, and you can only challenge it by snail-mail (at least back then). If you don't get a response, there is no number to call, no address to visit, and practically speaking no way to challenge the agency short of hiring a lawyer.
Not to mention the obvious problem of credit bureas relying on length of history as a primary determinant of credit-worthiness. I don't like debt so I didn't get a credit card until 28, and did so then only because I knew I needed to build history if I ever wanted a house. If you are a responsible steward of your finances and choose to avoid debt in lieu of paying with savings, then that lack of history may preclude you from getting a loan in the future. You could have a $2mm net worth but that credit history will still be a problem with traditional lenders.
It's worse for immigrants - the U.S. credit agencies often don't interface with their home country's agencies. Imagine a responsible 60 year old adult with a pristine record in their homeland, viewed as a risky borrower by the bureas here due to lack of history. Another problem is not having a large enough number of credit accounts. I don't need more than one card, so I just use one card, but that's a negative on my report because the agencies wan't to see multiple "revolving accounts" (credit cards) holding a balance. You have to... wait for it... have more debt to show that you're good at managaging debt.
I could go on at length about how shitty the 3 main bureas are, and if this comes off as ranty it's because, if it's not obvious, I absolutely despise them and would love nothing more than to see them relegated to the graveyeard in short order.
If you're hungry between meals, eat low calorie density foods like broccoli and drink water. I realize that's not exactly as fun as eating doritos, but it's how sustainable change happens. Fad diets never work because they are by definition temporary.
I've put on, and lost, 25 lbs probably 8+ times in my life (intentionally). I weigh 180 at my heavier end so that's a meaningful percentage for me. Depending how disciplined you are able/want to be, the easiest and most consistent way is to count calories.
If you don't want to be that strict, then just cut either your portions by 1/4 or remove a meal/snack that you estimate to be 250-500 calories. For me I just cut breakfast since I'm not really a breakfast person. Some people like to call this "intermittent fasting" and will give you an entire lecture about it's benefits. I call it "skipping breakfast".
Assuming you've cut 250-500 calories per day, weigh yourself every morning before any food/water. You should be losing 1-2 lbs per week, but it can fluctate so I would really look at 4-8 lbs per month as a reasonable target. If you are not losing that weight, you didn't cut enough calories, remove another 250/500 and try again.
On top of this do weight training and cardio, the type doesn't matter.
Good luck!
I remember very, very little from the CFA exams (passed L3 about 10 yrs ago), because it tested surface level knowledge of an incredibly broad array of subjects. Far too broad to allow a deep-dive in any one thing. At the time, I could fit a bunch of formulas in my head and regurgitate them on command, but it was like filling up a leaky bucket. I had to load that sucker up and run into the exam center before it poured out.
IMO testing well is it's own skill, and has little to do with understanding a topic. Understanding is when you've forgotten all the stuff you've memorized, but you can work your way back to a solution from first principles. I think the only way to get to that point is genuine interest and sustained study.
Actually I just call whatever the languages version of len, rest, first, strip, split etc. is and move on. Snark aside, when I'm using a language I don't keep the implementation details of it's data structures in my head, I just use the provided API. I think the representation of data structurs is a different discussion.
Maybe a more appropriate analogue would be how many features were used to implement a string library, rather than focusing on the details of how a string is represented in memory.
Do I need to be aware of 6 different potential ways to sequentially navigate the string? Is there a way to do it using a loop, iterator protocol, destructuring, pattern matching, coroutines, special string indexing syntax, etc? Or can I just use a simple, uniform consistent interface and build the library on top of that?
I'd rather have a language with a very small core and an extensive set of libraries implemented with that core than one with a large core that tries to handle everything with features. There's something to be said about comprehensibility of libraries written in a language with a small and focused core, as well.
In theory this would be very similar to what Go offers, in practice I guess we'll see once it's released, whenver that is.
I tend to agree that governments on the overall are held far less accountable for their actions than private companies, which will go bankrupt without patronage (without... ahem, government intervention). Government largesse extends beyond the policies of whatever administration is currently in office and therefore beyond your vote. We're talking about decades of built up cruft with no impetus for change. If you have a terrible time at the DMV, what do you do? Sell their shares? Stop shopping there? No, you just deal with it. Yes, it's one example, and I picked one that would intentionally elicit a response from almost anybody regardless of their political leanings, but that same example applies to many govt. organizations. They are inefficient and there is no correction mechanism.
There is a class of bubble and related collapse that are driven primarily by debt fueled purchases. When debt bubbles collapse, stimulus doesn't have the intended effect because consumers use the stimulus funds to deleverage. This is what happened in 2008, and recoveries from these types of collapses tend to be much more sluggish. When you have consumers paying their mortgages down instead of spending that money on goods/services, inflation is not a concern and the money leaves the system as debts are paid down. There's much less debt this time. I'm not saying there will be massive inflation, but I'm definitely more concerned than I was 13 years ago.
Debt deflation is a known phenomena since 1933 when Irving Fisher published: "The Debt-Deflation Theory of Great Depressions".