dnagpt / human_gpt2-v1

huggingface.co
Total runs: 45
24-hour runs: 18
7-day runs: 24
30-day runs: -72
Model's Last Updated: August 06 2023
feature-extraction

Introduction of human_gpt2-v1

Model Details of human_gpt2-v1

dna language model trained using gpt2. using human genome data.

Key features of our dangpt models:

  1. BPE tokenization instead of k-mers (DNABERT, DNABERT2 also use BPE)
  2. GPT model, but not bert(DNABERT, GENA_LM)
  3. pre-training on the latest T2T human genome assembly
  4. details: https://github.com/maris205/dnagpt . includes train/bpe code

from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained('dnagpt/human_gpt2-v1')
tokenizer.tokenize("GAGCACATTCGCCTGCGTGCGCACTCACACACACGTTCAAAAAGAGTCCATTCGATTCTGGCAGTAG")
#result: [G','AGCAC','ATTCGCC',....]

model = AutoModel.from_pretrained('dnagpt/human_gpt2-v1')
import torch
dna = "ACGTAGCATCGGATCTATCTATCGACACTTGGTTATCGATCTACGAGCATCTCGTTAGC"
inputs = tokenizer(dna, return_tensors = 'pt')["input_ids"]
hidden_states = model(inputs)[0] # [1, sequence_length, 768]

# embedding with mean pooling
embedding_mean = torch.mean(hidden_states[0], dim=0)
print(embedding_mean.shape) # expect to be 768

# embedding with max pooling
embedding_max = torch.max(hidden_states[0], dim=0)[0]
print(embedding_max.shape) # expect to be 768

Runs of dnagpt human_gpt2-v1 on huggingface.co

45
Total runs
18
24-hour runs
21
3-day runs
24
7-day runs
-72
30-day runs

More Information About human_gpt2-v1 huggingface.co Model

More human_gpt2-v1 license Visit here:

https://choosealicense.com/licenses/apache-2.0

human_gpt2-v1 huggingface.co

human_gpt2-v1 huggingface.co is an AI model on huggingface.co that provides human_gpt2-v1's model effect (), which can be used instantly with this dnagpt human_gpt2-v1 model. huggingface.co supports a free trial of the human_gpt2-v1 model, and also provides paid use of the human_gpt2-v1. Support call human_gpt2-v1 model through api, including Node.js, Python, http.

human_gpt2-v1 huggingface.co Url

https://huggingface.co/dnagpt/human_gpt2-v1

dnagpt human_gpt2-v1 online free

human_gpt2-v1 huggingface.co is an online trial and call api platform, which integrates human_gpt2-v1's modeling effects, including api services, and provides a free online trial of human_gpt2-v1, you can try human_gpt2-v1 online for free by clicking the link below.

dnagpt human_gpt2-v1 online free url in huggingface.co:

https://huggingface.co/dnagpt/human_gpt2-v1

human_gpt2-v1 install

human_gpt2-v1 is an open source model from GitHub that offers a free installation service, and any user can find human_gpt2-v1 on GitHub to install. At the same time, huggingface.co provides the effect of human_gpt2-v1 install, users can directly use human_gpt2-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

human_gpt2-v1 install url in huggingface.co:

https://huggingface.co/dnagpt/human_gpt2-v1

Url of human_gpt2-v1

human_gpt2-v1 huggingface.co Url

Provider of human_gpt2-v1 huggingface.co

dnagpt
ORGANIZATIONS

Other API from dnagpt

huggingface.co

Total runs: 34
Run Growth: 26
Growth Rate: 76.47%
Updated:February 18 2025
huggingface.co

Total runs: 26
Run Growth: 19
Growth Rate: 73.08%
Updated:October 31 2024
huggingface.co

Total runs: 23
Run Growth: 17
Growth Rate: 73.91%
Updated:December 30 2024
huggingface.co

Total runs: 20
Run Growth: 13
Growth Rate: 65.00%
Updated:October 19 2024
huggingface.co

Total runs: 12
Run Growth: 8
Growth Rate: 66.67%
Updated:January 03 2025
huggingface.co

Total runs: 12
Run Growth: 6
Growth Rate: 50.00%
Updated:January 03 2025
huggingface.co

Total runs: 12
Run Growth: 6
Growth Rate: 50.00%
Updated:November 30 2024
huggingface.co

Total runs: 11
Run Growth: 7
Growth Rate: 63.64%
Updated:September 19 2025
huggingface.co

Total runs: 11
Run Growth: 4
Growth Rate: 36.36%
Updated:February 11 2025
huggingface.co

Total runs: 9
Run Growth: 4
Growth Rate: 44.44%
Updated:November 30 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 20 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 05 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 04 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 12 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 24 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 03 2025