- 68
- 209 304
CloudCasts - Alan Smith
Приєднався 16 вер 2011
Alan Smith is a developer, trainer, mentor and evangelist at Active Solution in Stockholm, Sweden. He has a strong focus on artificial intelligence and Microsoft Azure. Alan has a hands-on philosophy and focusses on embracing the power and flexibility of cloud computing and AI to deliver engaging and exciting demos and training courses.
Alan has held the MVP title since 2005 and is currently an MVP for Microsoft Azure. He is an international conference presenter and is in the organization team for the CloudBurst and AIBurst conferences.
Feel free to contact Alan regarding training, mentorship and presentations at cloudcasts.net@gmail.com.
Alan has held the MVP title since 2005 and is currently an MVP for Microsoft Azure. He is an international conference presenter and is in the organization team for the CloudBurst and AIBurst conferences.
Feel free to contact Alan regarding training, mentorship and presentations at cloudcasts.net@gmail.com.
GPT4 vs. StarCraft II – Hard Level
GPT4 vs. StarCraft II on the harder level. I’ve edited out the slower parts of the game, but left in all the strategy decisions made by GPT4 during gameplay.
If you would like to run through the development, testing an improvement of the GPT StarCraft II bot there is a playlist here:
ua-cam.com/play/PLPoQn6QlsOwMHS3aw-f-uqAE0QRiKyTh1.html
If you would like to run through the development, testing an improvement of the GPT StarCraft II bot there is a playlist here:
ua-cam.com/play/PLPoQn6QlsOwMHS3aw-f-uqAE0QRiKyTh1.html
Переглядів: 70
Відео
GPT4 vs. StarCraft II - Harder Level
Переглядів 304 місяці тому
GPT4 vs. StarCraft II on the harder level. I’ve edited out the slower parts of the game, but left in all the strategy decisions made by GPT4 during gameplay. If you would like to run through the development, testing an improvement of the GPT StarCraft II bot there is a playlist here: ua-cam.com/play/PLPoQn6QlsOwMHS3aw-f-uqAE0QRiKyTh1.html
GPT vs. StarCraft II - 6 - GPT4 Playing the Harder Levels
Переглядів 924 місяці тому
This is the sixth in a series of webcasts covering the development and experimentation of using GPT algorithms to control the high-level strategy of a StarCraft II bot. In this webcast I’ll be testing the strategies generated by GPT4 against the StarCraft II AIs with different difficulty settings. The other videos in the series are here: ua-cam.com/play/PLPoQn6QlsOwMHS3aw-f-uqAE0QRiKyTh1.html H...
GPT vs. StarCraft II - 5 - Collecting Vespene and Training Advanced Units
Переглядів 250Рік тому
This is the fifth in a series of webcasts covering the development and experimentation of using GPT algorithms to control the high-level strategy of a StarCraft II bot. In this webcast I’ll be adding functionality to the bot to gather vespine gas and train more advanced units. GPT vs. StarCraft II - 1 - Introduction ua-cam.com/video/E3Sj2L6ZnXA/v-deo.html GPT vs. StarCraft II - 2 - Creating the...
GPT vs. StarCraft II - 4 - Prompt Engineering & Monitoring
Переглядів 2,2 тис.Рік тому
This is the fourth in a series of webcasts covering the development and experimentation of using GPT algorithms to control the high-level strategy of a StarCraft II bot. In this webcast I’ll be using TensorBoard to monitor the statistics of the game and experimenting with prompt engineering to influence the strategy decisions made by the GPT model. GPT vs. StarCraft II - 1 - Introduction ua-cam...
GPT vs. StarCraft II - 3 - Testing the GPT Bot
Переглядів 1,3 тис.Рік тому
This is the third in a series of webcasts covering the development and experimentation of using GPT algorithms to control the high-level strategy of a StarCraft II bot. In this webcast I’ll test the implementation of a basic bot that can summarize the game state, call GPT4 for strategy recommendations, and then implement those recommendations in the game. The other webcasts in this series are a...
GPT vs. StarCraft II - 2 - Creating the Prompt
Переглядів 1,4 тис.Рік тому
This is the second in a series of webcasts covering the development and experimentation of using GPT algorithms to control the high-level strategy of a StarCraft II bot. I’ll be starting with a new Python project, adding the relevant libraries for LangChain, OpenAI and the Burney SC2 bot framework. I’ll then implement the code to use LangChain to call GPT models hosted in the Azure Open AI serv...
GPT vs. StarCraft II - 1 - Introduction
Переглядів 2,6 тис.Рік тому
This is the first in a series of webcasts covering the development and experimentation of using GPT algorithms to control the high-level strategy of a StarCraft II bot. I’ll be running through the basics of the implementation, discussing the use pf prompts and prompt engineering, and demonstrating the implementation in action. Stay tuned, and click subscribe if you would like to see more of the...
Azure Machine Learning: Overview
Переглядів 101Рік тому
In this webcast I’ll take an overview of the functionality available in Azure Machine Learning. It’s the first in a series of webcasts covering Azure ML.
Code with ChatGPT - Shooter game in 30 minutes!
Переглядів 859Рік тому
In this webcast I’ll be enhancing my coding skills using Chat GPT in Bing. I’ll start out by asking for some tips on game development, and how to install PyGame. I’ll then ask Chat GPT to create the code for a basic shooter game. We can then use Chat GPT to create improvements in the game, by adding more aliens to make the game more challenging. Finally, we can use the Dall-E image generation c...
Python for C# Developers 3 Functions
Переглядів 1,5 тис.2 роки тому
In this second in a series of webcasts I’ll focus on Python functions from a C# developers perspective. 1 Introduction - ua-cam.com/video/iwxrBTmLVY4/v-deo.html 2 If, Else, For Each etc. - ua-cam.com/video/2eMAulDLp1o/v-deo.html 3 Functions - ua-cam.com/video/YZEIpEc5iBM/v-deo.html
Python for C# Developers 2 If, Else, For Each etc.
Переглядів 3,2 тис.2 роки тому
In this second in a series of webcasts I’ll compare at if, else, for, foreach operations in C# and Python. 1 Introduction - ua-cam.com/video/iwxrBTmLVY4/v-deo.html 2 If, Else, For Each etc. - ua-cam.com/video/2eMAulDLp1o/v-deo.html 3 Functions - ua-cam.com/video/YZEIpEc5iBM/v-deo.html Feel free to contact me regarding training courses, mentoring and presentations: clouscasts.net@gmail.com
Python for C# Developers 1 Introduction
Переглядів 7 тис.2 роки тому
This is the first in a series of webcasts for C# developers who would like to learn Python. I discuss the reasons for learning Python, and also take a run through some of the popular development environments that can be used. 1 Introduction - ua-cam.com/video/iwxrBTmLVY4/v-deo.html 2 If, Else, For Each etc. - ua-cam.com/video/2eMAulDLp1o/v-deo.html 3 Functions - ua-cam.com/video/YZEIpEc5iBM/v-d...
Image Similarity Search using PyTorch & Spotify Annoy
Переглядів 7 тис.2 роки тому
In this webcast I’ll show how to create an image similarity search using a pre-trained model in PyTorch and Spotify Annoy (Approximate Nearest Neighbor Oh Yeah!). Spotify Annoy: github.com/spotify/annoy Approximate nearest neighbors and vector models, introduction to Annoy (Erik Bernhardsson): ua-cam.com/video/QkCCyLW0ehU/v-deo.html Cats-vs-Dogs Dataset: www.kaggle.com/datasets/shaunthesheep/mi...
Logic Apps & Azure API Management
Переглядів 4,5 тис.2 роки тому
In this webcast I’ll show how HTTP triggered Logic Apps can be exposed using Azure API Management. I’ll run through the concepts of using products and subscriptions to provide authentication using API keys, and how policies can be used to modify URLs and implement rate limiting. Links to documentation. Logic Apps: learn.microsoft.com/en-us/azure/logic-apps/ API Management: learn.microsoft.com/e...
Azure Computer Vision Celebrity Detection, Python
Переглядів 6503 роки тому
Azure Computer Vision Celebrity Detection, Python
Azure Computer Vision Celebrity Detection, C#
Переглядів 3293 роки тому
Azure Computer Vision Celebrity Detection, C#
Graph of Thrones - Cosmos DB vs. Game of Thrones
Переглядів 1873 роки тому
Graph of Thrones - Cosmos DB vs. Game of Thrones
Computer Vision Features - Azure Cognitive Services
Переглядів 5763 роки тому
Computer Vision Features - Azure Cognitive Services
Reinforcement Learning in Gaming, Alan Smith & Eve Pardi
Переглядів 1353 роки тому
Reinforcement Learning in Gaming, Alan Smith & Eve Pardi
Azure Custom Vision Object Detection with Harry, Ron & Hermione
Переглядів 1,2 тис.3 роки тому
Azure Custom Vision Object Detection with Harry, Ron & Hermione
Azure Cognitive Services Content Moderator vs. Quentin Tarantino
Переглядів 1183 роки тому
Azure Cognitive Services Content Moderator vs. Quentin Tarantino
Azure Cognitive Search vs. Elvis Impersonators
Переглядів 1164 роки тому
Azure Cognitive Search vs. Elvis Impersonators
Azure Cognitive Search 03 - Celebrity Detection
Переглядів 2374 роки тому
Azure Cognitive Search 03 - Celebrity Detection
Azure Cognitive Search 02 - Image Tags
Переглядів 4334 роки тому
Azure Cognitive Search 02 - Image Tags
Thanks Allan, very good video, cear to understand? can we user entra id/Rbac roles instead of subscription key or both.
I am giving a single image (img1) of a person as input, and I want to search through multiple images (img2) of the same person to return the most similar images. Can this be done accurately?
As demonstrated in the tutorial, you need an image recognition model to translate your images into a tensor of meaningful weights to feed to annoy (26:47)
I want to thank you very much for making this video. It really helped me to start work with CUDA on windows.
Thank you so much for this video series. I don't want to confine myself to the .NET stack as I feel like it limits my job opportunities. Cheers!
Thank you so much for this video, what is AP in the results?
It's the Mean Average Precision, a measure of the accuracy of the model, there's more details on that here: www.v7labs.com/blog/mean-average-precision
Show de bola, direto ao ponto....
why azure is hard
i don't think it's right to call it strategy. its more like a mosaic of internet advice
That's why it's a good habit to do if statement as "if 5==x" instead of "if x==5" if you forget the extra equal sign it will not compile if placing 5 first
Thank you Alan!
Thanks for this great vid. Exactly what I needed and explained very well!
good
learning python is like getting hit with a brick
learning python is like getting hit with a brick
Damn!!! this channel should be followed by millions!! you are a GOD dude!!!
Thank you for getting to the code fast. ❤
YOU MUST CONSTRUCT ADDITIONAL PYLONS
Thank you so much
where are you running this code
Thank for great tutorial!
Bro unknowingly dropped coldest scrapping tutorial
That was really simple and really useful thank you so much looking forward to more Videos of ml
Will you continuing this series?
Another awesome video
Thanks, I are a great teacher. Going through the whole series
not sure how all this works, but your GPT needs to ingest an deep understanding of the game so it plays smartly.
Will cuda version 11.0.3 work for this?
can i use images from my database as dataset
That should be possible if you can find a way to pass the image into the model.
thank you so much for making this video! I've been struggling for months to kick my GPU into action and it finally works after following your video!
Do you have or know of the reverse of this, C-sharp for people who know Python?
I have not seen anything like that, I do show the C# examples, but don't go into the details. Chat GPT is pretty good at converting code between the two, so it could be a start...
Love this!
Fantastic video, very well explained. Congrats and thank you!
Some folders dont exist on my pc for example the "PythonEnviroments" folder or the " WebcastDemos " in which you saved your project. Also as soon as i save the new enviroment in the folder of my project it isnt visible under PythonEnviroments on the right side of Microsoft Visual Studio 2022. Can anyone help me with this issue?
thanks for the explanations
import torch print(torch.cuda.is_available()) print(torch.cuda.current_device()) print(torch.cuda.device(0)) print(torch.cuda.device_count()) print(torch.cuda.get_device_name(0))
HI, please there a way to predict multiple images all at once?
Hi, I think the API only supports one image at a time. If you train a model in PyTorch or Tensorflow it's possible to call it with batches of images.
How does this leverage GPT/AI? It looks like it just outputs a build sequence to a text file so the build order is pre-defined. It does not appear to react to conditions in the game or intelligently place the structures or trigger actions for the units. For a proper AI I'd want to define behaviors and strategies for early, mid and late game scenarios. When units scout important details there should be actions which prepare a hard counter, like if an opponent creates flying units it is important to create units and defenses against flying units. For a GPT model I'd expect years of game replays from tournament and ladder games to be used for training data. This training would have to know about tactics such as scouting and kiting back during a battle so when it is observed in a game replay pack that can be used to make the GPT model better where engagements resulted in good trades. What would be especially useful is to analyze a gamer's own replay packs to offer guidance on how to perform better with build orders and battles, perhaps by preparing the right mix of units or using different tactics during battles. The new game Stormgate may be a good one to plan integrating with replay packs and supporting a GPT-driven opponent for offline gameplay or to train against a specific opponent using their recent gameplay packs.
Vespene geezer had me laughing. This is a nice series, and I'm excited to see how you'll manage the increasing complexity required to get past the higher difficulty computer opponents. Do you plan on increasing the bot's awareness of its opponent? Currently it only knows the enemy race but not what kind of units and upgrades the opponent has unlocked
Hi, Thanks for that. I will look into providing more information on the enemy, sending out a scout could be a good option here.
GPT vs. StarCraft II - 5 - Collecting Vespene and Training Advanced Units ua-cam.com/video/PHT2pEnLmRo/v-deo.html
GPT vs. StarCraft II - 4 - Prompt Engineering & Monitoring ua-cam.com/video/PHT2pEnLmRo/v-deo.html
GPT vs. StarCraft II - 3 - Testing the GPT Bot ua-cam.com/video/DsJEmmB1qU0/v-deo.html
GPT vs. StarCraft II - 2 - Creating the Prompt ua-cam.com/video/Q17bLYHqXVU/v-deo.html
Thanks Mr Smith for uploading such a useful stuff for free, hope some more people like me get inspired by these game fundamental toturials 👍
Thanks for that, I got inspired and learned a lot from other people doing the same.
Rather than starting with the Default decision of Defend your base, wouldn't it be better to have it set to something like: Extra Resource Collection, defined by creating probes, pylons, only as options, until scouting should be performed (depends on map and start positions) to decide whether to be defensive (new options: forge, photon cannons) or go on the attack (new options: gateway, zealots), or expand to a new base site (new option: Nexus)? In other words, if your opponent has an early 2nd base or is vulnerable; then Attack! In other words, if your opponent is building aggresively; then Defend. In other words, if your opponent is defending; then go for an early 2nd base and expand resources. At some point, the cost of sending a probe is worth the intelligence gained, and benefit of decision making.
Thanks for that, it's something I plan to explore later on, I'll be working on adding more advanced structures and units, and then looking into upgrading stuff, then I plan to work on more advanced strategies.
Awesome work! Is it possible to get GPT to handle micro with this setup? How would you describe the bandwidth limitation between game state being sent to the model and tokens being generated to control the ai?
I think GPT would be too slow to respond for micro in real time, there is quite a delay calling the API, which I have edited out in the videos. I could try that with real time set to false, as the game pauses when making the call, however this would be very tedious and very expensive. I plan to use code for the micro, but it could be fun to have GPT4 create the code for the micro, and make modifications as a game progresses...
Great video, love how you show the little technical details like making a .bat file for commonly used commands. Looking forward to more.
It's interesting that one of the first major Open AI test products was a bot that was able to play dota2, and there was also AlphaStar that played starcraft2 and was fairly succesful with it, so I like watching these and thinking you are basically building your own new bot manually :)
Yes, AlphaStar was really cool, however it was trained specifically for playing StarCraft. The idea of using GPT4 is to see how well a general purpose language model can develop a strategy for the game.
Was the AlphaStar able to play in any map or only on the one map it trained in?
I checked on this, an article from 2009 mentioned that it only played Protos vs. Protos on the CatalystLE map. I'll look into testing the GPT based AI on different maps, and against different opponent types, I've only tested one map and against Zerg so far. I'll also look into implementing Zerg and Terran builds for the bot, bot that will need different bot code and a different prompt as the units and tech trees are different.
Bro can you provide me a assets folder of celebrities'
Hi, I got the photos using Google Image Search and searching for "celebrities". I've done a webcast on that here: Creating Image Datasets with Google ua-cam.com/video/Mx8Ax1n7UjA/v-deo.html There are also some celebrities datasets available on Kaggle: www.kaggle.com/search?q=celebrities+in%3Adatasets Alan
Also worth considering adding information about the state of the map, and the opponent's known units / buildings / techs, to the game state report. Can't really have a good strategy if it doesn't account for the opponent and the environment.
Thanks for that. I'll be looking into improving the game status description in future webcasts, I think adding a history of enemy encounters, and what kind of units they were using would be good. I could also look into sending a scout to discover more information about the enemy base.
is it possible to beat the master with GPS?
I've beaten it a couple of times on Hard difficulty, I'll see what levels it can achieve, I'll have to add options to build more advanced units and build upgrades too.
Have you played with an expert bot? I mean is it possible using gpt to win against a person from the master league or the grandmaster league. Or is that out of the question at the moment?@@CloudCastsAlanSmith
I'll look into increasing the difficulty of the computer AI and seeing how well it does. I have added more advanced structures and units now, and have beaten it on the hard difficulty, but not consistently.