ohmeow / blurr

A library that integrates huggingface transformers with the world of fastai, giving fastai devs everything they need to train, evaluate, and deploy transformer specific models.
https://ohmeow.github.io/blurr
Apache License 2.0
289 stars 34 forks source link

On colab examples and reinstallations #59

Open munozariasjm opened 2 years ago

munozariasjm commented 2 years ago

Hi!, first of all, what a great work you have been doing.

I was checking some of the examples on colab and I think that just for replicability issues it would be great to add to the start of the notebooks the correct environmental setup:

%%bash
git clone https://github.com/ohmeow/blurr.git
cd blurr
pip install -e ".[dev]"
import sys
sys.path.append('/content/blurr')

So that the colab notebooks get fully functional. f needed I can PR.

Regards

ohmeow commented 2 years ago

Keeping this open for now as I'm in the midst of putting v.2 of blurr together ... once things get a bit more stable I'll revisit and see if I can make things a bit more friendly for colab folks.

Thanks!

ohmeow commented 2 years ago

Hi!, first of all, what a great work you have been doing.

I was checking some of the examples on colab and I think that just for replicability issues it would be great to add to the start of the notebooks the correct environmental setup:

%%bash
git clone https://github.com/ohmeow/blurr.git
cd blurr
pip install -e ".[dev]"
import sys
sys.path.append('/content/blurr')

So that the colab notebooks get fully functional. f needed I can PR.

Regards

Just release v.1 so if you want to make some PRs to make things work in collab ... go for it! Thanks again.