# Running ExBert Lite in Google Colab

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Frunning-exbert-lite-in-google-colab%2F1167%3E%5C
**Category:** Beginners\
**Created:** [September 17, 2020, 1:05am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Frunning-exbert-lite-in-google-colab%2F1167 "2020-09-17T01:05:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zanderbush](https://avatars.discourse-cdn.com/v4/letter/z/13edae/32.png) [@zanderbush](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fzanderbush)%5C
**Post date:** [September 17, 2020, 1:05am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Frunning-exbert-lite-in-google-colab%2F1167%2F1 "2020-09-17T01:05:08Z")

</div>

[https://huggingface.co/exbert/?model=bert-base-uncased&modelKind=bidirectional&sentence=The%20girl%20ran%20to%20a%20local%20pub%20to%20escape%20the%20din%20of%20her%20city.&layer=0&heads=..0,1,2,3,4,5,6,7,8,9,10,11&threshold=0.7&tokenInd=null&tokenSide=null&maskInds=](https://huggingface.co/exbert/?model=bert-base-uncased&modelKind=bidirectional&sentence=The%20girl%20ran%20to%20a%20local%20pub%20to%20escape%20the%20din%20of%20her%20city.&layer=0&heads=..0,1,2,3,4,5,6,7,8,9,10,11&threshold=0.7&tokenInd=null&tokenSide=null&maskInds=)…&hideClsSep=true

Is it possible to run this in Google Colab? There are some changes I’d like to make, but I’m really not sure how to do it.

---

<div class="post-metadata">

**Author:** ![rgwatwormhill](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@rgwatwormhill](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Frgwatwormhill)%5C
**Post date:** [September 18, 2020, 4:11pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Frunning-exbert-lite-in-google-colab%2F1167%2F2 "2020-09-18T16:11:26Z")

</div>

Hi zanderbush,

I don’t know whether it is possible to run ExBert on Colab, but it is definitely possible to run BertViz on Colab. (I use it.) Do you need the extra functions of ExBert, or would BertViz be enough?

I would expect it to be possible to install ExBert on Colab, though you might have memory problems if you want to do the Corpus part.

I don’t think bert-base-uncased is one of the available options in ExBert, so you might have to use bert-base-cased.

---

<div class="post-metadata">

**Author:** ![zanderbush](https://avatars.discourse-cdn.com/v4/letter/z/13edae/32.png) [@zanderbush](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fzanderbush)%5C
**Post date:** [September 18, 2020, 4:28pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Frunning-exbert-lite-in-google-colab%2F1167%2F3 "2020-09-18T16:28:20Z")

</div>

Thank you for your response. In the past, I tried BertViz, but after realizing that it could not forecast the next token like ExBert, I stopped using it. If I am wrong about that, it would suit my needs.
