A T5-small model was trained on a mixture of DNA, protein sequences, and English text data, primarily for downstream fine-tuning tasks such as sequence function prediction.
Tokenizer Training
T5 uses the Unigram tokenizer. The input data consists of DNA sequences, protein sequences, and English text.
The specific training script is:
t5_token_gene_eng.py
.
Tokenizer training requires more than 128GB of memory and can be time-consuming.
You may use the pre-trained tokenizer directly:
trained_t5_gene_eng_tokenizer
Pre-training the T5 Model
A T5-large model was trained from scratch on a mixed dataset of DNA, protein sequences, and English text. The steps are as follows:
Obtain the T5 configuration by running
get_t5_config.ipynb
.
Prepare the mixed training data by running
combine_data.ipynb
.
Launch the pre-training script
./run_pt.sh
.
Training takes approximately 5 hours using 8x NVIDIA 4090 GPUs.
Fine-tuning the T5 Model
Protein Function Prediction
:
t5_gene_eng_abstract_ft_protein_fun.ipynb
DNA-Protein Coding Prediction
(experimental, poor performance, for reference only):
t5_gene_eng_abstract_ft_dna_protein.ipynb
Additional Experiments
Directory:
multi_trans_lab
This contains experimental tasks exploring cross-modal and cross-lingual transfer capabilities, such as English-to-Spanish summarization and even English-to-DNA sequence generation. These are research-oriented and provided for academic reference only.
NC_000001.11_chapter_1.fna.p1
: Partial human genome sequence data.
get_dna_summary.ipynb
: Generates summaries for genomic DNA sequences (can use different fine-tuned models; see fine-tuning section above).
get_gene_summary.ipynb
: Generates summaries for coding DNA regions (model can be swapped).
dna_abstract_search_bench.ipynb
: Indirectly evaluates summary quality via search-based methods. Results are currently poor; ongoing research.
abstract_trans_en_es.ipynb
: Baseline test for transferring English summarization capability to Spanish.
Runs of dnagpt t5_gene_model on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About t5_gene_model huggingface.co Model
t5_gene_model huggingface.co is an AI model on huggingface.co that provides t5_gene_model's model effect (), which can be used instantly with this dnagpt t5_gene_model model. huggingface.co supports a free trial of the t5_gene_model model, and also provides paid use of the t5_gene_model. Support call t5_gene_model model through api, including Node.js, Python, http.
t5_gene_model huggingface.co is an online trial and call api platform, which integrates t5_gene_model's modeling effects, including api services, and provides a free online trial of t5_gene_model, you can try t5_gene_model online for free by clicking the link below.
dnagpt t5_gene_model online free url in huggingface.co:
t5_gene_model is an open source model from GitHub that offers a free installation service, and any user can find t5_gene_model on GitHub to install. At the same time, huggingface.co provides the effect of t5_gene_model install, users can directly use t5_gene_model installed effect in huggingface.co for debugging and trial. It also supports api for free installation.