Update README.md
Browse files
README.md
CHANGED
|
@@ -7,6 +7,10 @@ tags:
|
|
| 7 |
- pytorch_model_hub_mixin
|
| 8 |
---
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
## Website
|
| 11 |
|
| 12 |
<https://gsfm.maayanlab.cloud/>
|
|
@@ -14,6 +18,7 @@ tags:
|
|
| 14 |
## Usage
|
| 15 |
|
| 16 |
```bash
|
|
|
|
| 17 |
GIT_LFS_SKIP_SMUDGE=1 pip install git+https://huggingface.co/maayanlab/gsfm
|
| 18 |
```
|
| 19 |
|
|
@@ -21,6 +26,7 @@ GIT_LFS_SKIP_SMUDGE=1 pip install git+https://huggingface.co/maayanlab/gsfm
|
|
| 21 |
import torch
|
| 22 |
from gsfm import Vocab, GSFM
|
| 23 |
|
|
|
|
| 24 |
vocab = Vocab.from_pretrained('maayanlab/gsfm')
|
| 25 |
model = GSFM.from_pretrained('maayanlab/gsfm')
|
| 26 |
|
|
|
|
| 7 |
- pytorch_model_hub_mixin
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# GSFM
|
| 11 |
+
|
| 12 |
+
Trained on millions of gene sets automatically extracted from literature and raw RNA-seq data, GSFM learns to recover held-out genes from gene sets. The resulting model exhibits state of the art performance on gene function prediction.
|
| 13 |
+
|
| 14 |
## Website
|
| 15 |
|
| 16 |
<https://gsfm.maayanlab.cloud/>
|
|
|
|
| 18 |
## Usage
|
| 19 |
|
| 20 |
```bash
|
| 21 |
+
# install gsfm python library from its source on huggingface
|
| 22 |
GIT_LFS_SKIP_SMUDGE=1 pip install git+https://huggingface.co/maayanlab/gsfm
|
| 23 |
```
|
| 24 |
|
|
|
|
| 26 |
import torch
|
| 27 |
from gsfm import Vocab, GSFM
|
| 28 |
|
| 29 |
+
# load gsfm vocabulary and model weights
|
| 30 |
vocab = Vocab.from_pretrained('maayanlab/gsfm')
|
| 31 |
model = GSFM.from_pretrained('maayanlab/gsfm')
|
| 32 |
|