Upload folder using huggingface_hub
Browse files- README.md +22 -3
- args.json +53 -0
- best_model.pt +3 -0
- vocab.json +0 -0
README.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: perturblab
|
| 3 |
+
tags:
|
| 4 |
+
- biology
|
| 5 |
+
- genomics
|
| 6 |
+
- scgpt
|
| 7 |
+
license: mit
|
| 8 |
+
base_model: bowang-lab/scGPT
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# scgpt-human
|
| 12 |
+
|
| 13 |
+
## Model Description
|
| 14 |
+
This model weights were originally downloaded from the [bowang-lab/scGPT](https://github.com/bowang-lab/scGPT) repository.
|
| 15 |
+
It has been re-uploaded here for ease of use with the `perturblab` library.
|
| 16 |
+
|
| 17 |
+
## Source
|
| 18 |
+
- **Original Repository**: [https://github.com/bowang-lab/scGPT](https://github.com/bowang-lab/scGPT)
|
| 19 |
+
- **Paper**: [scGPT: Foundation Model for Single Cell Biology](https://www.nature.com/articles/s41592-024-02201-0)
|
| 20 |
+
|
| 21 |
+
## Usage
|
| 22 |
+
Intended for internal use with the PerturbLab framework.
|
args.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"data_source": "/scratch/ssd004/datasets/cellxgene/scb_strict/human",
|
| 3 |
+
"save_dir": "/scratch/ssd004/datasets/cellxgene/save/cellxgene_census_human-May23-08-36-2023",
|
| 4 |
+
"load_model": null,
|
| 5 |
+
"n_hvg": null,
|
| 6 |
+
"valid_size_or_ratio": 0.003,
|
| 7 |
+
"dist_backend": "nccl",
|
| 8 |
+
"grad_accu_steps": 1,
|
| 9 |
+
"pad_token": "<pad>",
|
| 10 |
+
"input_style": "binned",
|
| 11 |
+
"input_emb_style": "continuous",
|
| 12 |
+
"n_bins": 51,
|
| 13 |
+
"max_seq_len": 1200,
|
| 14 |
+
"training_tasks": "both",
|
| 15 |
+
"dist_url": "tcp://gpu188.cluster.local:53833",
|
| 16 |
+
"mask_ratio": [
|
| 17 |
+
0.25,
|
| 18 |
+
0.5,
|
| 19 |
+
0.75
|
| 20 |
+
],
|
| 21 |
+
"trunc_by_sample": true,
|
| 22 |
+
"vocab_path": "/scratch/ssd004/datasets/cellxgene/scFormer/scformer/tokenizer/default_census_vocab.json",
|
| 23 |
+
"rank": 0,
|
| 24 |
+
"batch_size": 32,
|
| 25 |
+
"eval_batch_size": 64,
|
| 26 |
+
"epochs": 6,
|
| 27 |
+
"lr": 0.0001,
|
| 28 |
+
"scheduler_interval": 100,
|
| 29 |
+
"scheduler_factor": 0.99,
|
| 30 |
+
"warmup_ratio_or_step": 10000.0,
|
| 31 |
+
"no_cls": true,
|
| 32 |
+
"no_cce": true,
|
| 33 |
+
"fp16": true,
|
| 34 |
+
"fast_transformer": true,
|
| 35 |
+
"nlayers": 12,
|
| 36 |
+
"nheads": 8,
|
| 37 |
+
"embsize": 512,
|
| 38 |
+
"d_hid": 512,
|
| 39 |
+
"dropout": 0.2,
|
| 40 |
+
"n_layers_cls": 3,
|
| 41 |
+
"log_interval": 9000,
|
| 42 |
+
"save_interval": 27000,
|
| 43 |
+
"mask_value": -1,
|
| 44 |
+
"pad_value": -2,
|
| 45 |
+
"USE_CLS": false,
|
| 46 |
+
"USE_CCE": false,
|
| 47 |
+
"MVC": true,
|
| 48 |
+
"USE_GENERATIVE_TRAINING": true,
|
| 49 |
+
"world_size": 16,
|
| 50 |
+
"distributed": true,
|
| 51 |
+
"local_rank": 0,
|
| 52 |
+
"gpu": 0
|
| 53 |
+
}
|
best_model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6cb5d451ab5c4b33eb673adbe4fddc61d2389df1b89b7651a9fe2e557572b922
|
| 3 |
+
size 205385258
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|