Colab initialization¶
install the pipeline in the colab runtime
download files neccessary for this example
Embed sequences in a FASTA file¶
embeddings = embedder.embed_many([str(s.seq) for s in sequences])
# `embed_many` returns a generator.
# We want to keep both RAW embeddings and reduced embeddings in memory.
# To do so, we simply turn the generator into a list!
# (this will start embedding the sequences!)
embeddings = list(embeddings)