Giter Site home page Giter Site logo

mlem.ai's Introduction

mlem.ai's People

Contributors

aguschin avatar alex000kim avatar aminalaee avatar barofgold avatar dberenbaum avatar dependabot[bot] avatar elisno avatar francesco086 avatar igordertigor avatar jorgeorpinel avatar julieg18 avatar lsb avatar madhur-tandon avatar mike0sv avatar omesser avatar renovate[bot] avatar restyled-commits avatar rogermparent avatar sisp avatar thecaffeinedev avatar yalozhkin avatar yathomasi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mlem.ai's Issues

Improve docs search results

Current DocsSearch has indexed everything from the site. So, the search results show unnecessary content as well.

Now, that we have access to the crawler, we can update the crawler config and customize the results.

Add CI checks and Restyled

We currently don't have any checks setup.

  • Add Restyled
  • Typescript/JS Check
  • Prettier Check
  • CodeClimate?

@iterative/websites, do we want CodeClimate? Also, we don't want to use CircleCI to runs checks like we do with dvc.org, right?

Add few WIP pages

Improve these WIP pages and add them to the sidebar:

{
  "slug": "datasets",
  "label": "WIP Working with datasets",
  "source": "user-guide/datasets.md"
},
{
  "slug": "remote-repos",
  "label": "WIP Working with repositories and remote objects",
  "source": "user-guide/remote-repos.md"
},
{
  "slug": "mlem-object",
  "label": "MlemObject API",
  "source": "api-reference/mlem-object.md"
},

GS: reorg / rewrite

Mainly from #43 (comment)
and feedback from @shcheklein

General points to address (may require partial or full rewrite):

  • GS is very important. If a user didn't understand it, they won't use the tool.
  • mlem init (copied from DVC) is not needed. GS is should showcase the happy path.
  • Try combining the multiple current pages into 2 larger/more meaningful sections (similar to the 2 first sections of the MLEM release post), e.g.
    i. Capturing models (saving + packaging?)
    ii. Productionizing (applying, serving, deploying)
  • 80% of important information should on the 1st screen in each page (or section?). The command we're explaining should be very visible.
  • Remove if __name__ == "__main__": and other code for brevity.
    Code may be not reproducible if it's shorter: We may show full examples further down (scroll-to) or collapsible sections. Or nowhere (there's an example repo for this)
  • iris dataset looks very toyish. Better to swap it with a more realistic dataset. Extracted to #198
  • Summarize text, consolidate sections, etc. to make the content in general shorter, concise, and on point.
  • Index page: Hide the info. about example repo tags (see #43 (comment)).
    • Remove all ⛳ Git tag sections throughout (repetitive git commit commands). Link to the tags where needed instead.

  • Also address #129 ?

It's unclear that menu items are clickable

Hi! There was some feedback about that it's unclear that these menu items are clickable:
Screen Shot 2021-12-14 at 11 01 30

Let's maybe make this right vertical line jumping from one item to another when you hover over them? Or in addition, unravel the item to show the text?
I assume that the terminal window would change only when you click on the item in the menu.

@yalozhkin, @julieg18, WDYT about it?

pprint command example cannot find remote data object

$ mlem pprint https://github.com/iterative/example-mlem-get-started/iris.csv

The example path needs to be updated to some tag in the iterative/example-mlem-get-started repository, like 4-pack, 5-deploy-meta or some permalink?

Working example

$ mlem pprint https://raw.githubusercontent.com/iterative/example-mlem-get-started/5-deploy-meta/.mlem/data/iris.csv
⏳️ Loading meta from https://raw.githubusercontent.com/iterative/example-mlem-get-started/5-deploy-meta/.mlem/data/iris.csv.mlem
{'artifacts': {'data': {'hash': '45109f850511f9474665f2c26f4c79f3',
                        'size': 2470,
                        'uri': 'iris.csv'}},
 'data_type': {'columns': ['sepal length (cm)',
                           'sepal width (cm)',
vscode ➜ /workspaces/example-mlem-get-started (main ✗) $ mlem pprint --help
Usage: mlem pprint [options] path

  Print specified MLEM object
vscode ➜ /workspaces/example-mlem-get-started (main ✗) $ mlem pprint https://raw.githubusercontent.com/iterative/example-mlem-get-started/5-deploy-meta/.mlem/data/iris.csv
⏳️ Loading meta from https://raw.githubusercontent.com/iterative/example-mlem-get-started/5-deploy-meta/.mlem/data/iris.csv.mlem
{'artifacts': {'data': {'hash': '45109f850511f9474665f2c26f4c79f3',
                        'size': 2470,
                        'uri': 'iris.csv'}},
 'data_type': {'columns': ['sepal length (cm)',
                           'sepal width (cm)',
                           'petal length (cm)',
                           'petal width (cm)'],
               'dtypes': ['float64', 'float64', 'float64', 'float64'],
               'index_cols': [],
               'type': 'dataframe'},
 'object_type': 'data',
 'reader': {'data_type': {'columns': ['sepal length (cm)',
                                      'sepal width (cm)',
                                      'petal length (cm)',
                                      'petal width (cm)'],
                          'dtypes': ['float64',
                                     'float64',
                                     'float64',
                                     'float64'],
                          'index_cols': [],
                          'type': 'dataframe'},
            'format': 'csv',
            'type': 'pandas'},
 'requirements': [{'module': 'pandas', 'version': '1.4.2'}]}

This seem to only work on raw.githubusercontent.com domain.

Add a `mlem.ai/chat` discord link

Right now we are borrowing dvc.org's discord link but we should give mlem.ai its own /chat redirect link (see cml.dev#199 conversation). This should be easily done, especially once we plug our gatsby-theme-iterative-docs into the site.

Adding copy button to code snippets

In the code snippets, there is no button to copy the code. This is usually a very useful feature. I mean code snippets in docs. This is the example from Terraform docs:
image

I guess this should be added to the common docs-engine and introduced to dvc.org/doc and cml.dev/doc as well.

One thing to note is that for shell code snippets we always add $ at the beginning of the line. It shouldn't be copied. Also those scripts usually have some output, it shouldn't be copied also:
image

For python snippets, AFAIK, we don't add any outputs, so those should be copied in full. The same goes for yaml snippets.

cc @rogermparent

Fix alert bar

#45 ended up breaking the alert box, the code is in there but it's an invisible 0-height element for some reason
image

Some feedback

  1. Typing on the CLI screen is slow. It is quite boring to watch until I got the idea.
  2. Turn your Git repo into model registry -

Screen Shot 2021-12-17 at 2 27 04 PM

3. `Why MLEM_` - it feels like icons are missing.

`yarn develop` fails [eng-web]

I'm on macOS. yarn (install) runs fine.

$ yarn --version
1.22.17

$ yarn develop
yarn run v1.22.17
\$ gatsby develop
success compile gatsby files - 0.356s
...
success onPreExtractQueries - 0.000s

 ERROR #85923  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "github" on type "Query".

If you don't expect "github" to exist on the type "Query" it is most likely a typo.
However, if you expect "github" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and
what shape they have
- You want to optionally use your field "github" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL
schema. A quick fix is to add at least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content".
Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.com/docs/reference/graphql-data-layer/schema-customization#creating-type-definitions

File: src/utils/hooks/useStars.tsx:9:9

failed extract queries from components - 1.135s
success write out requires - 0.017s
success run static queries - 0.025s - 4/4 161.63/s
success run page queries - 0.022s - 3/3 137.39/s
success Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs - 0.245s - 2/2 8.17/s

 ERROR 

Module not found: Error: Can't resolve '../../../public/page-data/sq/d/1164568807.json' in '.../mlem.ai/src/utils/hooks'



  ModuleNotFoundError: Module not found: Error: Can't resolve '../../../public/page-data/sq/d/1164568807.json' in '.../mlem.ai/src/utils/hooks'
  
  - Compilation.js:2016 
    [mlem.ai]/[webpack]/lib/Compilation.js:2016:28
  
...
  
  - async.js:6858 Object.parallel
    [mlem.ai]/[neo-async]/async.js:6858:9
  
  - NormalModuleFactory.js:873 NormalModuleFactory._resolveResourceErrorHints
    [mlem.ai]/[webpack]/lib/NormalModuleFactory.js:873:12
  
  - NormalModuleFactory.js:834 
    [mlem.ai]/[webpack]/lib/NormalModuleFactory.js:834:18
  

not finished Building development bundle - 1.008s

error Command failed with exit code 1.

Add docs engine

MLEM release is planned for the end of Q1. We'll need the docs engine running on the website, and I assume the very first parts of documentation will be ready in the 2nd half of February.
CC @rogermparent @julieg18 @yathomasi

Add Get Started button

Feedback from @dmpetrov.

It is not clear how to start with the tool. Docs is usually not the place people starting from.
It would be great to have a visible Get Started button. Link in dvc.org:

image

docs: lots of condescending language

I know it's not intentional but the current writing style includes a lot of "of course", "obviously", "you can just do x or y", etc. This can scare off readers. We should address this sooner than later, I think.

More context and examples: iterative/dvc.org#1394

For now I'll update this language as it comes when I write or update things for other reasons.

guide: clarify MLEM Object term

What's an object? ... very generic term and there's not much info about this concept [early] in the Get Started (the term comes up a few times in previous pages but it seems to refer to something else, proving that the word is too generic).

Originally posted by @jorgeorpinel in #82 (comment)

p.s. maybe we need a Glossary page somewhere?

Navbar links should be accessible for mobile user

We are hiding the navbar links on mobile view without providing an alternative solution to it.
Screen Shot 2022-06-30 at 08 30 36

Possible solutions are:

  1. Urgent solution -> At least show Docs link (#118)
  2. Add a hamburger menu
  3. Add options dropdown menu(similar to iterative.ai)

home: featured texts

Extracted from #51 (review)

image

From home page: https://mlem.ai/

First, the idea is to show a basic workflow and main features, right? Keeping that in mind...

Save your model with a single command

What command? The slide shows a Python call (model.api.save())

Use simple YAML file to save model metadata

Not sure the YAML format is simple or whether that matters much. Maybe "Model metadata is captured automatically" (mention "YAML format" in subtext if needed).

Switch between deployment providers with a single command

Minor: Is "deployment provider" a common term? Production environments? Cloud providers? Servers? Hosting?

Update README

Currently, the readme is just a title and link to the site. We probably want to make it more like dvc.org's readme :)

404 links in various docs pages

Add Doc Search

With mlem.ai being now public, we can now apply for doc search :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.