Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GokuMohandas committed Mar 21, 2024
1 parent caccdd4 commit 91cd4f3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/courses/mlops/jobs-and-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,18 @@ subprocess.check_output(["aws", "s3", "cp", f"s3://madewithml/{github_username}/
# Entrypoint
run_id = [line.strip() for line in open("run_id.txt")][0]
entrypoint = ModelDeployment.bind(run_id=run_id, threshold=0.9)
# Inference
data = {"query": "What is the default batch size for map_batches?"}
response = requests.post("http://127.0.0.1:8000/query", json=data)
print(response.json())
# Inference
data = {"query": "What is the default batch size for map_batches?"}
response = requests.post("http://127.0.0.1:8000/query", json=data)
print(response.json())
```

In this script, we first pull our previously saved artifacts from our S3 bucket to our local storage and then define the entrypoint for our model.
Expand Down
2 changes: 1 addition & 1 deletion docs/templates/instructor.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</p>

<p>
While this was an amazing experience, it was also a humbling one because there were obstacles around <strong>scale</strong>, <strong>integrations</strong> and <strong>productionization</strong> that I that I didn’t have great solutions for. So, I decided to join a team that has been addressing these precise obstacles with some of the <a href="https://www.anyscale.com/user-stories" target="_blank">best ML teams</a> in the world and has an even bigger vision I could stand behind. So I'm excited to announce that Made With ML is now part of <a href="https://www.anyscale.com/" target="_blank">Anyscale</a> to accelerate the path towards production ML.
While this was an amazing experience, it was also a humbling one because there were obstacles around <strong>scale</strong>, <strong>integrations</strong> and <strong>productionization</strong> that I didn’t have great solutions for. So, I decided to join a team that has been addressing these precise obstacles with some of the <a href="https://www.anyscale.com/user-stories" target="_blank">best ML teams</a> in the world and has an even bigger vision I could stand behind. So I'm excited to announce that Made With ML is now part of <a href="https://www.anyscale.com/" target="_blank">Anyscale</a> to accelerate the path towards production ML.
</p>

<div class="mt-4 px-3 py-3" style="background-color: #f5f9fd; text-align: center;">
Expand Down

0 comments on commit 91cd4f3

Please sign in to comment.