getting started with typespec
28:51
21 күн бұрын
fine tuning llama-2 to code
27:18
10 ай бұрын
Did ChatGPT Wet the Bed?
11:38
11 ай бұрын
Пікірлер
@markmanning2921
@markmanning2921 2 күн бұрын
I had no idea that bitcoin was done in forth. i have been a forth programmer since 1987 and write my own compilers for a hobby :) However, I LOATHE and DESPISE any forth compiler that is coded in C. Gforth is an abomination for two reasons. One: It is NOT written in Forth and two: It is an implementation of the putrid ANS Forth standard which is the absolute worst standard ever created. So bad that chuck moore walk out on the stardards team becaose of the GARBAGE they were adding to it.
@jocool7370
@jocool7370 4 күн бұрын
Thanks for making this video. I've just tried OLLAMA. It gave wrong answers to 3 of my 4 first (and only) prompts. Uninstalled it.
@bhavinprajapati7276
@bhavinprajapati7276 4 күн бұрын
I have installed wasmtime, wasmedge runtime in k8s node. how can i access files to wasm module with k8s? for the normal hello-world application, I created OCI image as per below file. FROM scratch ADD hello-wasm.wasm / CMD ["/hello-wasm.wasm"] since wasmtime, wasmedge runtime is running on my node so this is working. but how can i access file system? do you have any reference tutorial or github link for this type of implementation?
@sidharthrao9005
@sidharthrao9005 5 күн бұрын
Is there any possiblities to fine-tune, quantise or distill the model into a smaller model to be run locally? I urgently need this for a project I'm doing.
@pratiknarendraraut6889
@pratiknarendraraut6889 5 күн бұрын
igrore the dude below, awesome content , keep going .
@chrishayuk
@chrishayuk 5 күн бұрын
Appreciate it!
@SubmitToTheBiomass
@SubmitToTheBiomass 7 күн бұрын
It's so fucked up that the American pronunciation of quay is "kway", lmao.
@stanciutg
@stanciutg 7 күн бұрын
we’d love the longer version
@_marioguerra_
@_marioguerra_ 8 күн бұрын
Great video! I'm the PM for TypeSpec at MS, from the comments it looks like there is interest in back-end code generation from TypeSpec, which we're currently working on.
@_marioguerra_
@_marioguerra_ 8 күн бұрын
PS - what software are you using to do the opaque code overlays on your video?
@chrishayuk
@chrishayuk 7 күн бұрын
Awesome job with TypeSpec Mario, big fan of where it’s going. Looking forward to seeing backend code generation.
@chrishayuk
@chrishayuk 7 күн бұрын
As for the effect. It’s the screen record with opacity that creates the overlay effect. However it’s really how I light the room, set the lumetri on the cam record and screen record that allows me to achieve the effect
@MooseEngineer
@MooseEngineer 8 күн бұрын
Maybe you need new glasses. Your eyes keep getting stuck together, hella annoying.
@everyhandletaken
@everyhandletaken 8 күн бұрын
How respectful of you. There are other channels, if you can't cope.
@chrishayuk
@chrishayuk 7 күн бұрын
lol, tell me about it, I have a light sensitivity hence why I wear the glasses. I don’t think anything but my sunglasses will fix that, sadly
@WillJulian-Vicary
@WillJulian-Vicary 6 күн бұрын
@@chrishayuk Ignore the troll, thought your video was great - thanks for sharing.
@chrishayuk
@chrishayuk 5 күн бұрын
thank you, appreciate it
@chrishayuk
@chrishayuk 5 күн бұрын
thank you, appreciate it
@tomekatomek5694
@tomekatomek5694 9 күн бұрын
3:00 - Show how to do it on a local machine please
@chrishayuk
@chrishayuk 9 күн бұрын
yes, i need to do that video. i've been distracted by building a faster pipeline for the finetune
@DysoniaMultiverseNews
@DysoniaMultiverseNews 9 күн бұрын
For example, RPN for stack is like the following: Like doing math vertical when in school 100 (first number entered... Bottom of Stack) 10 (Second Number entered (Higher up in stack or on top in this case)) - ___________ ( Do the mathematical operation: Subtract ) Hope the format remains.
@DysoniaMultiverseNews
@DysoniaMultiverseNews 9 күн бұрын
Will be interesting when doing something particularly fancy like complex compound math sequences and also with loops. I think we can do it with enough getting our minds around the syntax. The most extreme would be understanding how the binaries work on the instruction by instruction level and wrapping our minds around that and write it in a HEX EDITOR (old days, we called that ML Monitors).
@DysoniaMultiverseNews
@DysoniaMultiverseNews 10 күн бұрын
Thanks for the video series. I think of WAT2WASM more as a "web assembler" translating "WAT" (WebAssembly textual source) to (WebAssembly Virtual Machine Language [ VML ] akin to P-Code) and high-level languages like Javascript (web "BASIC" or web "Pascal"). This is because WAT2WASM is more like Assembly to Machine Language translation versus compilers which are higher up in the totem from Low, to Intermediate, to High-level programming languages. Assembly language for various native CPUs were considered intermediate-level languages. A step closer to the "bare metal" of machine language than C or Pascal or BASIC were at source. BASIC, albeit were commonly interpreted, did have compilers that existed. On 8-bit computers like C64, we had many. Several that compiled to P-Code which was a VM bytecode thing much like this is. Not quite ML speed but considerably faster than interpreters and gave performance boosts. It is unclear how the speed is compared to JIT compiled JS once it had been ran through JIT compiling but this is a binary that is platform independent than native binary of x86 or ARM or whatever.
@DysoniaMultiverseNews
@DysoniaMultiverseNews 9 күн бұрын
Just bear in mind that what I said about WAT text in relation to binary format is analogy not as exactly literal like assembly language to Machine language because a direct parallel of WASM to assembly like text would be to inverse the hex values of machine code to the instruction in the instruction set table in binary but really... close enough. You can if you are careful eye, can correlate the WAT textual instruction to the particular hexadecimal values and the particular instruction set and opcode of the WASM binary in a textual mneumonic style that would correlate in some fashion with the instruction set table for the WASM version (presuming a future version of WASM can break compatibility with the older/current if they want to make room for expanding and the version number begins to have greater importance in the future at some point in the future. However, WASM binary hex code values will or should correlate closely with the instruction set table of the particular WASM version. WASM version would matter, of course. Si it would be conceivable to write an almost pure WASM Assembly Opcode/Operand mneumonic format to hexadecimal format. When I say, mneumonic style, I am referring to ( webassembly.github.io/spec/core/appendix/index-instructions.html ) but of course, there is stuff one has to kind of observe between WAT to WASM and analyzing the hex values and understanding the structure of the system altogether. But at first, working in WAT then "assemble" to WASM would be a good place to start and over time, explore how to manipulate the wasm binary code and then write code straight in the binary for those that want to explore that but I would not say it would be practical for professional work involving a lot of code. Coding WAT by hand, maybe if you get it down to science, you can do some impressive stuff but in a lot of cases, most just won't get into that level of tight woven advanced handwritten webassembly like some ML coder did in the demo scenes or old school programmers of the age of NES/SNES/DOS/C64/Amiga era and how we got into the nuts and bolts.
@nikhil_jadhav
@nikhil_jadhav 12 күн бұрын
I felt cursor was better than continue but yes continue is open source, cursor is not.
@chrishayuk
@chrishayuk 7 күн бұрын
Yeah, open source is the key thing for me
@antaishizuku
@antaishizuku 12 күн бұрын
I have a weird issue when i open a folder continue crashes. I have been using deepseek 6.7b for fill in the middle. It works well.
@chrishayuk
@chrishayuk 12 күн бұрын
yes, deepseek is pretty cool also
@squishy-tomato
@squishy-tomato 13 күн бұрын
you need more views, great content
@chrishayuk
@chrishayuk 12 күн бұрын
lol, very kind, I’m okay with the views and glad you find the content useful
@fjloma
@fjloma 13 күн бұрын
Thank you! This is gold
@chrishayuk
@chrishayuk 12 күн бұрын
Glad it’s useful
@JohnMcclaned
@JohnMcclaned 14 күн бұрын
the blue blocking glasses with the high intensity blue lights in the background makes this video
@chrishayuk
@chrishayuk 13 күн бұрын
I aim to please
@SubmitToTheBiomass
@SubmitToTheBiomass 7 күн бұрын
lmao
@UnFuckedUpMind
@UnFuckedUpMind 14 күн бұрын
I think it doesn't provide some important features like inline chat
@chrishayuk
@chrishayuk 14 күн бұрын
you can bring your current line into the chat model with command l, and then reapply back to your code with the insert
@makepeace88
@makepeace88 14 күн бұрын
Amazing one! Thanks very much for this. Instead of Ollama, do you think is it doable through Llama.cpp ? Not everyone org allows to install Ollama 😢
@chrishayuk
@chrishayuk 14 күн бұрын
Yes you can! llama.cpp is supported
@explorer945
@explorer945 14 күн бұрын
first like :)
@nicolasportu
@nicolasportu 16 күн бұрын
Outstanding! Did you try this approach with Llama3, Llama Instruct, Code Llama, StarCode or Deep seek? Thanks, you have the best tutorial in this topic but the result is no good enough yet ;)
@beginnerwithcode
@beginnerwithcode 17 күн бұрын
Thanks😇
@chrishayuk
@chrishayuk 11 күн бұрын
Welcome 😊
@Dracalis
@Dracalis 18 күн бұрын
5:30 I have a problem. I'm running Surreal version 1.5.2 for Windows on x86_64. Whenever I start a server with "surreal start", regardless of any optional commands, the command line interface stops accepting input. It seems to start a server, but it leaves me with a blinking underscore, and I can't type anything more after that. Am I missing something here?
@dustingarner4620
@dustingarner4620 18 күн бұрын
This was so helpful, thank you!
@chrishayuk
@chrishayuk 9 күн бұрын
I'm so glad!
@michaelwu99
@michaelwu99 19 күн бұрын
That your normal lighting setup?
@chrishayuk
@chrishayuk 18 күн бұрын
Yes, except I moved the 2 background lights out of shot for later videos
@michaelwu99
@michaelwu99 18 күн бұрын
@@chrishayuk you got that trance edm ethereal lighting respect
@TatyanaEmelyanova-ov2qq
@TatyanaEmelyanova-ov2qq 19 күн бұрын
How is this possible, looks too good to be true
@chrishayuk
@chrishayuk 9 күн бұрын
it's pretty cool right
@MavVRX
@MavVRX 19 күн бұрын
Too much effort. Just use containers. How would you package a tool that has tonne of dependencies using web assembly?
@chrishayuk
@chrishayuk 19 күн бұрын
you can't have a model install containers...
@MavVRX
@MavVRX 19 күн бұрын
@@chrishayuk I'm not saying the LLM to install containers (even though it can, since it's just a function call). I'm saying to use containers (docker, podman, containerd) instead of webaasembly. Try creating a more complex tool, such as a tool that uses a dataframe in webassembly...maybe using pyodide and micropip
@chrishayuk
@chrishayuk 19 күн бұрын
@@MavVRX yeah, maybe i didn't explain this video so well.. function calling other agents, containers etc is a given. but this is more about integration of libraries and tools
@johntdavies
@johntdavies 20 күн бұрын
Chris, I really enjoyed the video thanks. My world is C/C++ and Java and recently Python. I managed for follow the video well but was lucky I had the node stuff installed on my laptop. What would be interesting to me is how to now implement a simple back-end service in Python (or Java) that exposes the APIs you have defined and something simple (out of my knowledge base) on the front-end to interact with the API. My suggestion would be something like a very simple chat-response from a local LLM.
@chrishayuk
@chrishayuk 7 күн бұрын
I really like that idea
@guaranamedia
@guaranamedia 20 күн бұрын
Excellent explanation. Thanks for making these examples.
@chrishayuk
@chrishayuk 9 күн бұрын
You're very welcome!
@kenchang3456
@kenchang3456 21 күн бұрын
Interesting, thanks.
@chrishayuk
@chrishayuk 9 күн бұрын
glad you enjoyed
@twilkpsu
@twilkpsu 21 күн бұрын
Bravo! 🎯
@chrishayuk
@chrishayuk 9 күн бұрын
glad you enjoyed
@xiaoyuyang4017
@xiaoyuyang4017 21 күн бұрын
The most useful and informative video I saw on this topic. Appreciate❤
@chrishayuk
@chrishayuk 21 күн бұрын
Very kind, I felt ReAct was a little magical, so thought it’d be good to show how it really works. Glad it was useful
@sorryforwhat416
@sorryforwhat416 25 күн бұрын
Hello Chris! Do you have an idea what i need to do in VSC to see the real time Swagger on the side interface? Saw this a lot of times but don't know how to do it
@chrishayuk
@chrishayuk 21 күн бұрын
In the video, I just do the compile and then open up the file, that’s all you need to do
@MukulTripathi
@MukulTripathi 26 күн бұрын
Did you mean "function calling" at 10:10 ?
@chrishayuk
@chrishayuk 21 күн бұрын
Yes, but who knows what I actually said, my brain sometimes jumps ahead
@everyhandletaken
@everyhandletaken 27 күн бұрын
Whitespace significance does my head in, otherwise Nim is indeed interesting.
@chrishayuk
@chrishayuk 21 күн бұрын
Lol
@everyhandletaken
@everyhandletaken 27 күн бұрын
Having written spec manually in order to use with Swagger, I can see that it is a pain to do, but I did so in JSON to avoid YAML & I think that is a lot easier (why do we need YAML, when TOML exists.. but anyway) If this could then create the routes for me, it would be a significant benefit, but otherwise I am learning all those decorators, various imports, namespaces and using statements, having to compile for each change etc, when I could have just written myself manually, right.. Good video, even if I'm not convinced on it ☺️
@chrishayuk
@chrishayuk 27 күн бұрын
I kinda went through this thought process myself but then landed back onto the up front design and ability to design schemas across services. If you’re doing a couple of services I could agree but if looking at a complex estate, I’d argue that it doesn’t get modelled and why this works as an approach. But I totally get your view as I was there with the same view originally
@everyhandletaken
@everyhandletaken 27 күн бұрын
@@chrishayuk that makes sense too. I will give it some more thought. Thanks Chris!
@JohnMcclaned
@JohnMcclaned 28 күн бұрын
Awesome video. The question is now how to use the typespec to implement typesafe apis in typescript without having to rewrite the spec in typescript
@chrishayuk
@chrishayuk 27 күн бұрын
I sort of agree that generating typescript boilerplate is a next logical step for this
@stal1963
@stal1963 29 күн бұрын
Not Alan Turing invented the stack, but F.L. Bauer and Samelson invented it independently in the 1920s. -> en.m.wikipedia.org/wiki/Stack_(abstract_data_type)
@rajneesh31
@rajneesh31 29 күн бұрын
Damn, thank you KZfaq for recommending this channel. @chrishayuk is a gun. Thanks Chris
@chrishayuk
@chrishayuk 21 күн бұрын
Very kind, glad you like the channel
@PhillipGibb
@PhillipGibb Ай бұрын
I am only new to rust, so this is quiet helpful. Do you have any examples where you send custom headers? As you would do when you need to authenticate. My attempts have been halted by: Trait `IntoClientRequest` is not implemented for `Result<Request<()>>
@matthewmolinar220
@matthewmolinar220 Ай бұрын
Hey man! Super helpful. Do you have any thoughts on how this can be useful for agents that need to create code and ensure it works?
@suryat8848
@suryat8848 Ай бұрын
clean, and crisp! brilliant video chris :) PS: Can you please update the tokenizer part of the code, it's a bit confusing, thanks!
@traveldiary1455
@traveldiary1455 Ай бұрын
With rust no one gets jobs
@chinmayachowdary
@chinmayachowdary Ай бұрын
Register count is mentioned as 0 in the generated bytecode. Instruction Ldar a1, loads whatever content is available in register a1. Then register count should be 1. Can you please explain?
@IleniaQuintero
@IleniaQuintero Ай бұрын
Hello, I was looking at your video channel. We may be helping a company that uses secure images to increase supply chain security and help cloud native development. Would you be willing to help try their software, make a video, and help show devs how to use their tools? This is not an offer, but just to start a conversation about your willingness to take on sponsorship. Please provide me with your email if you are interested. You'd have a chance to look at their technology and decide if it's the type of software that you'd be interested in covering in your channel.
@chrishayuk
@chrishayuk Ай бұрын
hey thanks for the reach out, but sponsorship isn't really a direction i'm going in, but appreciate the thought
@stanTrX
@stanTrX Ай бұрын
Very good, very clear 👍
@chrishayuk
@chrishayuk Ай бұрын
Glad it was helpful!
@limlimhooiyahoocom
@limlimhooiyahoocom Ай бұрын
how to use big.js with assembly script
@Crygd-utre1
@Crygd-utre1 Ай бұрын
and it's faster than crystal, so i slightly more like it. except the syntax, i more like ruby-like syntax rather than nim (pascal-like).
@mrRambleGamble
@mrRambleGamble Ай бұрын
The music is loud and the volume is chaotic in the intro
@chrishayuk
@chrishayuk Ай бұрын
agree, hence why i cut it for later videos. a bad experiment, appreciate your feedback
@mrRambleGamble
@mrRambleGamble Ай бұрын
@@chrishayuk I didn't realize it was old. It's good content in any case. I had been watching your other videos; keep up the great work!
@chrishayuk
@chrishayuk Ай бұрын
Cheers, appreciate it, weirdly I think webassembly is gonna become very relevant for ai. I think the thoughts in this video hold pretty true
@juliussakalys9600
@juliussakalys9600 Ай бұрын
So this is what prompt engineering really is
@chrishayuk
@chrishayuk Ай бұрын
yeeep