Skip to content

Commit eae2d3b

Browse files
committed
Update README.md
1 parent a35ed5a commit eae2d3b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Cortex is an open source platform that takes machine learning models—trained w
2727

2828
## Usage
2929

30-
### Step 1: define your API
30+
### Define your API
3131

3232
```python
3333
# predictor.py
@@ -38,7 +38,7 @@ def predict(sample, metadata):
3838
return model.predict(sample["text"])
3939
```
4040

41-
### Step 2: configure your deployment
41+
### Configure your deployment
4242

4343
```yaml
4444
# cortex.yaml
@@ -56,15 +56,15 @@ def predict(sample, metadata):
5656
gpu: 1
5757
```
5858
59-
### Step 3: deploy to AWS
59+
### Deploy to AWS
6060
6161
```bash
6262
$ cortex deploy
6363

64-
created endpoint: http://***.amazonaws.com/sentiment/classifier
64+
creating classifier (http://***.amazonaws.com/sentiment/classifier)
6565
```
6666

67-
### Step 4: serve real-time predictions
67+
### Serve real-time predictions
6868

6969
```bash
7070
$ curl http://***.amazonaws.com/sentiment/classifier \
@@ -74,7 +74,7 @@ $ curl http://***.amazonaws.com/sentiment/classifier \
7474
positive
7575
```
7676

77-
### Step 5: monitor your deployment
77+
### Monitor your deployment
7878

7979
```bash
8080
$ cortex get classifier --watch
@@ -89,7 +89,7 @@ negative 4
8989

9090
<br>
9191

92-
## How Cortex works
92+
## How it works
9393

9494
The CLI sends configuration and code to the cluster every time you run `cortex deploy`. Each model is loaded into a Docker container, along with any Python packages and request handling code. The model is exposed as a web service using Elastic Load Balancing (ELB), Flask, TensorFlow Serving, and ONNX Runtime. The containers are orchestrated on Elastic Kubernetes Service (EKS) while logs and metrics are streamed to CloudWatch.
9595

0 commit comments

Comments
 (0)