Instructions to use tanoManzo/nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tanoManzo/nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tanoManzo/nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tanoManzo/nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot") model = AutoModelForSequenceClassification.from_pretrained("tanoManzo/nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from tanoManzo/nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot: direct link, hf CLI and curl.
- Browser
- Download file 2.02 kB
-
https://huggingface.co/tanoManzo/nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot/resolve/main/README.md
- Command line
-
hf download hf://tanoManzo/nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot/README.md
-
curl -L -o README.md https://huggingface.co/tanoManzo/nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot/resolve/main/README.md
2.02 kB
metadata
library_name: transformers
license: cc-by-nc-sa-4.0
base_model: InstaDeepAI/nucleotide-transformer-500m-human-ref
tags:
- generated_from_trainer
metrics:
- precision
- recall
- accuracy
model-index:
- name: >-
nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot
results: []
nucleotide-transformer-500m-human-ref_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot
This model is a fine-tuned version of InstaDeepAI/nucleotide-transformer-500m-human-ref on the None dataset. It achieves the following results on the evaluation set:
- Loss: 1.7491
- F1 Score: 0.7586
- Precision: 0.7333
- Recall: 0.7857
- Accuracy: 0.7627
- Auc: 0.8301
- Prc: 0.7874
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 1e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 20
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 Score | Precision | Recall | Accuracy | Auc | Prc |
|---|---|---|---|---|---|---|---|---|---|
| 0.179 | 8.3333 | 500 | 1.6503 | 0.7333 | 0.6875 | 0.7857 | 0.7288 | 0.8312 | 0.7851 |
| 0.0 | 16.6667 | 1000 | 1.7491 | 0.7586 | 0.7333 | 0.7857 | 0.7627 | 0.8301 | 0.7874 |
Framework versions
- Transformers 4.46.0.dev0
- Pytorch 2.4.1+cu121
- Datasets 2.18.0
- Tokenizers 0.20.0