1
00:00:00,080 --> 00:00:02,160
So I have so much in store for you this week.
所以这周我为你准备了很多东西。

2
00:00:02,160 --> 00:00:05,120
We're going to start by building an LM solution today.
今天我们将从构建 LM 解决方案开始。

3
00:00:05,320 --> 00:00:08,840
We're then going to talk about the whole of the next eight weeks to come.
然后我们将讨论接下来的八周。

4
00:00:09,000 --> 00:00:12,680
We're going to compare models at the frontier of what's possible.
我们将在可能的前沿比较模型。

5
00:00:12,680 --> 00:00:13,240
Today.
今天。

6
00:00:13,480 --> 00:00:19,760
I'm going to give you some early intuitions for what Transformers actually are, and will end by building
我将让您对变形金刚的实际含义有一些初步的了解，最后将构建

7
00:00:19,760 --> 00:00:23,080
a commercial product in day five.
第五天的商业产品。

8
00:00:23,400 --> 00:00:29,840
And so for today, for the rest of today, we are continuing our instant gratification theme, building
因此，今天，在今天剩下的时间里，我们将继续我们的即时满足主题，建立

9
00:00:29,840 --> 00:00:37,320
your first LM solution using a frontier model, using a model at the forefront of what's possible.
您的第一个 LM 解决方案使用前沿模型，使用处于可能性最前沿的模型。

10
00:00:37,320 --> 00:00:43,760
That's what people call frontier models, the very latest, strongest models on the planet.
这就是人们所说的前沿模型，地球上最新、最强的模型。

11
00:00:44,120 --> 00:00:45,200
But first.
但首先。

12
00:00:45,680 --> 00:00:49,080
But first we have some drama to get through.
但首先我们要经历一些戏剧性的事情。

13
00:00:49,120 --> 00:00:51,280
You and I, we have some drama.
你和我，我们有一些戏剧性的事情。

14
00:00:51,560 --> 00:00:57,400
We have to set up your environment, set up the environment that you'll be using for working over the
我们必须设置您的环境，设置您将用于工作的环境

15
00:00:57,400 --> 00:00:58,440
next eight weeks.
接下来的八周。

16
00:00:58,440 --> 00:01:04,410
And let me tell you, setting up an environment to operate with some of the most groundbreaking data
让我告诉你，建立一个环境来操作一些最具突破性的数据

17
00:01:04,410 --> 00:01:09,730
science available on the planet is not an easy task, and it can be frustrating.
地球上现有的科学并不是一件容易的事，而且可能会令人沮丧。

18
00:01:10,010 --> 00:01:16,850
And I would say about 80% of the questions that I get relates to the next ten minutes.
我想说大约 80% 的问题都与接下来的十分钟有关。

19
00:01:16,890 --> 00:01:20,050
The next time we're going to spend together, building your environment.
下次我们将一起度过，建设你的环境。

20
00:01:20,050 --> 00:01:23,330
So I need to ask you to have a lot of patience.
所以我需要请你有很大的耐心。

21
00:01:23,330 --> 00:01:24,530
We're going to get through it.
我们会渡过难关的。

22
00:01:24,530 --> 00:01:29,730
We're going to get you a brilliant environment that's set up for everything that we're going to do.
我们将为您提供一个适合我们要做的一切的良好环境。

23
00:01:29,970 --> 00:01:33,890
But it is a bit traumatic to start with, but let's get to it.
但一开始有点痛苦，但让我们开始吧。

24
00:01:33,890 --> 00:01:37,050
So look, there are five steps to setting up your environment.
所以看，设置环境有五个步骤。

25
00:01:37,050 --> 00:01:38,610
And we're going to do all five together.
我们将一起完成这五项工作。

26
00:01:38,610 --> 00:01:40,050
And it's going to be fine.
一切都会好起来的。

27
00:01:40,290 --> 00:01:42,490
The first step is sort of the foundations.
第一步是打基础。

28
00:01:42,490 --> 00:01:44,930
We're going to clone the repo as it's called.
我们将克隆该存储库，因为它被称为。

29
00:01:44,970 --> 00:01:49,210
We're just copying all the code from, from GitHub to, to run it locally.
我们只是将所有代码从 GitHub 复制到本地运行。

30
00:01:49,250 --> 00:01:52,490
We're going to use cursor as our development environment.
我们将使用光标作为我们的开发环境。

31
00:01:52,530 --> 00:01:57,250
If you want to use something else you absolutely can I suggest cursor but you can use anything.
如果你想使用其他东西，我绝对可以建议光标，但你可以使用任何东西。

32
00:01:57,410 --> 00:02:00,900
And then we're going to open the project and step one will be done.
然后我们将打开该项目并完成第一步。

33
00:02:01,180 --> 00:02:05,940
Step two we are going to use a fantastic platform called UV.
第二步，我们将使用一个名为 UV 的出色平台。

34
00:02:06,260 --> 00:02:10,660
UV is an alternative to platforms like Anaconda that you might have heard about.
UV 是您可能听说过的 Anaconda 等平台的替代方案。

35
00:02:10,700 --> 00:02:14,300
It's something which allows you to manage your Python environment.
它允许您管理 Python 环境。

36
00:02:14,340 --> 00:02:19,500
Make sure you have all of the right dependencies, all the packages we rely on, all installed, and
确保您拥有所有正确的依赖项、我们依赖的所有软件包、所有已安装的软件包以及

37
00:02:19,500 --> 00:02:24,740
UV has something that's taken the community by storm because it is bulletproof.
紫外线具有防弹的特性，因此在社区中引起了轰动。

38
00:02:24,780 --> 00:02:27,300
It is easy and it is fast.
这很容易而且很快。

39
00:02:27,340 --> 00:02:31,780
It's all three you normally have to like pick two of the three, but no, you get all three.
这三个都是你通常必须选择三个中的两个，但不，你会得到所有三个。

40
00:02:31,980 --> 00:02:34,420
It's so wonderful and you're going to love it.
它是如此美妙，你一定会喜欢它的。

41
00:02:35,020 --> 00:02:41,220
Then we're going to create an OpenAI API key away for us to call OpenAI.
然后我们将创建一个 OpenAI API 密钥，以便我们调用 OpenAI。

42
00:02:41,500 --> 00:02:43,740
Now that involves spending a little bit of money.
现在这涉及到花一点钱。

43
00:02:43,740 --> 00:02:47,020
It involves putting in $5 and you don't need to.
它涉及投入 5 美元，但你不需要投入。

44
00:02:47,060 --> 00:02:48,700
There is a free alternative.
有一个免费的替代方案。

45
00:02:48,700 --> 00:02:50,140
It's fully documented.
它有完整的记录。

46
00:02:50,140 --> 00:02:51,420
We will do that too.
我们也会这样做。

47
00:02:51,540 --> 00:02:54,660
I know some people get get frustrated thinking there's going to be a spend.
我知道有些人会因为想到要花钱而感到沮丧。

48
00:02:54,660 --> 00:02:57,860
If you don't want to spend, you don't need to spend anything.
如果你不想花钱，你就不需要花任何东西。

49
00:02:57,900 --> 00:03:01,220
And we will cover spend very clearly at the time.
我们届时将非常清楚地涵盖支出。

50
00:03:01,340 --> 00:03:02,460
That's step three.
这是第三步。

51
00:03:02,780 --> 00:03:06,780
You will then add that key to a file called the EMV file.
然后，您将该密钥添加到名为 EMV 文件的文件中。

52
00:03:06,780 --> 00:03:08,380
And there's so many traps here.
而且这里还有很多陷阱。

53
00:03:08,380 --> 00:03:10,220
If you spell the name of the file wrong.
如果文件名拼写错误。

54
00:03:10,260 --> 00:03:14,660
If you spell the name of the key wrong, any of these things, disaster will ensue.
如果你把钥匙的名字拼错了，任何这些事情都会发生，灾难就会随之而来。

55
00:03:14,780 --> 00:03:17,020
At least disaster in the form of no environment.
至少是没有环境的灾难。

56
00:03:17,340 --> 00:03:18,540
So you'll need to get that right.
所以你需要做对。

57
00:03:18,540 --> 00:03:19,620
But I will point it out to you.
但我会向你指出这一点。

58
00:03:19,660 --> 00:03:21,540
We'll make absolutely sure it's right.
我们将绝对确保它是正确的。

59
00:03:21,540 --> 00:03:23,540
And then finally, step five.
最后，第五步。

60
00:03:23,580 --> 00:03:24,820
There is no step five.
没有第五步。

61
00:03:24,860 --> 00:03:27,100
Step five is we just get started.
第五步我们才刚刚开始。

62
00:03:27,100 --> 00:03:28,580
We are ready to go.
我们准备出发了。

63
00:03:28,900 --> 00:03:33,460
Now look, most of the time this all goes super smoothly and you're going to be up and running in no
现在看，大多数时候这一切都进行得非常顺利，您将很快就可以启动并运行

64
00:03:33,500 --> 00:03:33,740
time.
时间。

65
00:03:33,780 --> 00:03:35,740
You're going to be wondering what all the fuss is about.
你一定会想知道这些大惊小怪到底是怎么回事。

66
00:03:35,740 --> 00:03:42,900
But just sometimes you hit problems and if that happens to you, then there's a troubleshooting notebook
但有时您会遇到问题，如果您遇到这种情况，那么这里有一个故障排除笔记本

67
00:03:42,900 --> 00:03:47,020
that I will show you, which will walk you through and help you fix any common problems.
我将向您展示，它将引导您完成并帮助您解决任何常见问题。

68
00:03:47,380 --> 00:03:50,100
ChatGPT or Claude or any llms.
ChatGPT 或 Claude 或任何 llms。

69
00:03:50,140 --> 00:03:53,740
They're really good at helping solve problems.
他们真的很擅长帮助解决问题。

70
00:03:53,740 --> 00:03:58,510
And you should definitely, Make sure you check what they say they have.
而且您绝对应该确保检查他们所说的内容。

71
00:03:58,550 --> 00:04:00,870
You know they often need to be verified.
您知道它们经常需要验证。

72
00:04:00,990 --> 00:04:03,230
Don't just fall naturally into doing whatever they say.
不要自然而然地按照他们所说的去做。

73
00:04:03,270 --> 00:04:07,070
Always check what they do, but they're really good at finding problems.
总是检查他们做了什么，但他们真的很擅长发现问题。

74
00:04:07,270 --> 00:04:09,150
And then I am here to help.
然后我就来帮忙。

75
00:04:09,190 --> 00:04:14,310
You can always reach out to me in the platform or by email, or the best ways to reach out to me and
您可以随时在平台或通过电子邮件联系我，或者联系我的最佳方式和

76
00:04:14,310 --> 00:04:15,150
get me to help.
让我帮忙。

77
00:04:15,510 --> 00:04:21,030
I will say, though, that the documentation that I put together for this course is really thorough,
不过，我要说的是，我为本课程整理的文档非常全面，

78
00:04:21,030 --> 00:04:22,630
super comprehensive.
超级全面。

79
00:04:22,670 --> 00:04:25,270
There's great answers to most problems.
大多数问题都有很好的答案。

80
00:04:25,310 --> 00:04:32,110
The setup instructions linked in the Readme are very, very thorough and whilst I always answer questions,
自述文件中链接的设置说明非常非常详尽，虽然我总是回答问题，

81
00:04:32,110 --> 00:04:39,150
I will tell you that probably 60% of the questions that I get are answered directly and immediately
我会告诉你，我收到的问题中大概 60% 都会得到直接、立即的回答

82
00:04:39,150 --> 00:04:41,430
in the documentation, and I'm fine with that.
在文档中，我对此很满意。

83
00:04:41,430 --> 00:04:46,950
I don't mind being asked, but all I will say is that it's much faster if you look in the documentation
我不介意被问到，但我只想说，如果你查看文档，速度会快得多

84
00:04:46,950 --> 00:04:51,150
first, because if the answer's there, that's going to be your fastest way to get there.
首先，因为如果答案就在那里，那将是您到达那里的最快方式。

85
00:04:51,150 --> 00:04:56,040
And most students hit the same problems, they are covered there in the answers.
大多数学生都遇到了同样的问题，这些问题都包含在答案中。

86
00:04:56,040 --> 00:04:59,960
The famous windows 260 character issue, things like that.
著名的 Windows 260 字符问题，诸如此类。

87
00:04:59,960 --> 00:05:02,640
They're all covered in the doc, so check out the docs.
它们都包含在文档中，因此请查看文档。

88
00:05:02,640 --> 00:05:04,960
But if in doubt, reach out to me.
但如果有疑问，请联系我。

89
00:05:04,960 --> 00:05:06,000
I'm here to help.
我是来帮忙的。

90
00:05:06,200 --> 00:05:08,200
Okay, okay.
好吧，好吧。

91
00:05:08,400 --> 00:05:12,400
With that, it is time for our first lab.
这样，我们的第一个实验室就到了。

92
00:05:12,400 --> 00:05:17,280
We're going to get started building this environment and here's how it's going to work.
我们将开始构建这个环境，以下是它的工作原理。

93
00:05:17,560 --> 00:05:21,840
The next video in the series is going to be for PC people.
该系列的下一个视频将面向 PC 用户。

94
00:05:21,840 --> 00:05:26,480
I'm going to walk you through as a PC user, how to set up your environment.
我将引导您作为 PC 用户了解如何设置您的环境。

95
00:05:26,520 --> 00:05:29,640
The video after that will be for Mac people.
之后的视频将适合 Mac 用户。

96
00:05:29,640 --> 00:05:35,480
I will walk Mac people through what to do with step by step instructions for Mac, and if you're a Linux
我将通过 Mac 的分步说明引导 Mac 用户了解如何操作，如果您是 Linux 用户

97
00:05:35,480 --> 00:05:37,320
person, then follow the Mac instructions.
人，然后按照 Mac 说明进行操作。

98
00:05:37,320 --> 00:05:40,240
They'll be good enough for you and you know your way around this all anyway.
它们对你来说已经足够好了，而且无论如何你都知道解决这一切的方法。

99
00:05:40,480 --> 00:05:44,080
So PC instructions coming next, followed by Mac instructions.
接下来是 PC 说明，然后是 Mac 说明。

100
00:05:44,080 --> 00:05:49,040
Pick the right video and then once you've gone through your setup and you're ready to go, I will see
选择正确的视频，然后在完成设置并准备好后，我会看到

101
00:05:49,040 --> 00:05:54,040
everyone in the video after that, which is when we build our first LM project.
之后视频中的每个人，也就是我们构建第一个 LM 项目的时候。
