How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="hicai-zju/InstructProtein")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("hicai-zju/InstructProtein")
model = AutoModelForCausalLM.from_pretrained("hicai-zju/InstructProtein")
Quick Links

InstructProtein

InstructProtein is the first large generative language model exploring the feasibility of bidirectional generation between human and protein language. It is based on OPT-1.3B architecture with two-step training approach: It initiates with pre-training on protein and natural language corpora, followed by fine-tuning with the established protein knowledge instruction dataset. Through further instruction tuning, InstructProtein outperforms larger general-purpose foundation models on protein understanding and design tasks.

Limitations

The current model, developed through instruction tuning using knowledge instruction dataset, serves as a preliminary example. Despite its initial success in controlled environments, it lacks the robustness to manage complex, real-world, production-level tasks.

Reference

For more information, please take a look at our paper and repository.

Downloads last month
11
Safetensors
Model size
1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for hicai-zju/InstructProtein