quaterion icon indicating copy to clipboard operation
quaterion copied to clipboard

Badges in the tutorials

Open joein opened this issue 2 years ago • 5 comments

Add badges into the tutorials:

  • [ ] colab notebook
  • [ ] download notebook
  • [ ] view on github

Similar to torch tutorials

image

joein avatar Jun 06 '22 12:06 joein

Our tutorials have some omitted code parts, and notebooks are not good for restoring a SimilarityModel after saving at the moment until #38. So I doubt if this will be helpful.

monatis avatar Jun 16 '22 05:06 monatis

Will try to save as ONNX, it should work even in jupyter

generall avatar Jun 16 '22 07:06 generall

Notebooks and colab provide a way to launch code with minimal efforts and can help us make the first acquaintance with the framework easier. With notebooks it is possible to change some code in the tutorial instantly, not just staring at it on the tutorial page.

We can add hidden from tutorials pages code to notebooks (it is about tutorials which have complete examples, like nlp and cv).

If we can't fix saving right now, we have some ugly fallback which should work - use directives like %% writefile encoder.py or just avoid saving in notebooks.

joein avatar Jun 16 '22 08:06 joein

it is about tutorials which have complete examples, like nlp and cv

Yes it might be relevant for these two tutorials after some modifications.

monatis avatar Jun 16 '22 08:06 monatis

Hello, Ankit here. I am really interested in contributing to Qdrant and this issue struck me as really interesting. Can I be assigned this issue ?

helios2003 avatar Mar 07 '23 17:03 helios2003