Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Update README.md #220

Merged
merged 10 commits into from
Jun 21, 2022
Merged

Update README.md #220

merged 10 commits into from
Jun 21, 2022

Conversation

jorgeorpinel
Copy link
Contributor

@jorgeorpinel jorgeorpinel commented May 4, 2022

Some copy edits based on the existing text but I have a bunch of questions...

Closes iterative/mlem.ai#88

Framework: iterative/dvc.org#2443

Some copy edits based on the existing text but I have a bunch of questions...
@jorgeorpinel jorgeorpinel added the A: docs DEPRECATED Area: user documentation; See github.com/iterative/mlem.ai/labels/A%3A%20docs label May 4, 2022
@jorgeorpinel jorgeorpinel self-assigned this May 4, 2022
Copy link
Contributor Author

@jorgeorpinel jorgeorpinel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More copy edits (I'll commit all these, please ignore!)

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented May 4, 2022

Codecov Report

Merging #220 (810eae3) into main (d6bcbc6) will increase coverage by 4.81%.
The diff coverage is 95.65%.

❗ Current head 810eae3 differs from pull request most recent head d927731. Consider uploading reports for the commit d927731 to get more accurate results

@@            Coverage Diff             @@
##             main     iterative/mlem#220      +/-   ##
==========================================
+ Coverage   85.48%   90.29%   +4.81%     
==========================================
  Files          77       78       +1     
  Lines        5675     5882     +207     
==========================================
+ Hits         4851     5311     +460     
+ Misses        824      571     -253     
Impacted Files Coverage Δ
mlem/core/base.py 79.69% <0.00%> (ø)
mlem/contrib/heroku/server.py 75.00% <75.00%> (ø)
mlem/contrib/github.py 95.77% <95.77%> (ø)
mlem/contrib/bitbucketfs.py 96.52% <96.52%> (ø)
mlem/contrib/gitlabfs.py 94.59% <96.96%> (ø)
mlem/config.py 95.32% <100.00%> (+0.27%) ⬆️
mlem/contrib/heroku/build.py 89.65% <100.00%> (+32.89%) ⬆️
mlem/core/meta_io.py 94.11% <100.00%> (+2.67%) ⬆️
mlem/ext.py 89.10% <100.00%> (+0.44%) ⬆️
mlem/core/artifacts.py 99.40% <0.00%> (+<0.01%) ⬆️
... and 28 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 482855a...d927731. Read the comment docs.

Copy edits, typo fix, separate paragraph sentences with new lines, etc.
README.md Show resolved Hide resolved
README.md Outdated
Comment on lines 16 to 18
- **Simple text file to save model metadata:**
Automatically include Python requirements and input data needs into a deployment-ready format.
Use the same format on any ML framework.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the format YAML? Where can we see the schema?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, YAML.
Do you think it worth in showing schema somewhere? You aren't supposed to write those Yaml files, only read, if you need it for some reason.

Copy link
Contributor Author

@jorgeorpinel jorgeorpinel May 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment was marked as resolved.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.mlem yaml schema is dependent on the type of the object. For model, data, deployment, etc, it will be a different schema. IIRC, this is the reason why we cannot easily create the schema as DVC can. We can take a look later, but this is not the priority rn.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created the issue to address this later https://github.com/iterative/mlem/issues/306

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK np. Putting a pseudo schema spec somewhere in mlem.ai.doc would be nice though ⏳

README.md Outdated
Comment on lines 27 to 31
## Why is MLEM special?

The main reason to use MLEM instead of other tools is to adopt a **GitOps approach**, helping you manage model lifecycles in Git:

- **Git as a single source of truth:** MLEM writes model metadata to a plain text file that can be versioned in a Git repo along with your code.
Copy link
Contributor Author

@jorgeorpinel jorgeorpinel May 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Consider: This whole section could be merged in with the intro, as well as the bullet lists combined (not as-is).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UPDATE: See @dberenbaum's recommendation:

the first section bullets should explain the basic workflow [numbered list] rather than the benefits, and the rest should be moved to “Why MLEM?” [bullet list].

README.md Outdated Show resolved Hide resolved
@jorgeorpinel
Copy link
Contributor Author

jorgeorpinel commented May 4, 2022

A few questions above but really I think this we'd need a short usage guide covering all the commands and/or API endpoints (whatever we recommend or expect to get more usage) to get a better sense of what the tool does and how it looks and feels. Is that coming?

UPDATE: https://mlem.ai/doc/get-started

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@jorgeorpinel jorgeorpinel marked this pull request as ready for review May 12, 2022 06:51
@jorgeorpinel jorgeorpinel requested a review from a team as a code owner May 12, 2022 06:51
README.md Outdated Show resolved Hide resolved
@jorgeorpinel jorgeorpinel requested review from aguschin and removed request for aguschin June 21, 2022 05:21
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@aguschin aguschin merged commit ac6c64b into main Jun 21, 2022
@aguschin aguschin deleted the jorgeorpinel-patch-1 branch June 21, 2022 06:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: docs DEPRECATED Area: user documentation; See github.com/iterative/mlem.ai/labels/A%3A%20docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update README
2 participants