Instructions to use tdc/scGPT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tdc/scGPT with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tdc/scGPT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The TDC Model Hub Transformers API is under development. In the meantime, we highly recommend using the native HF Transformers library and original Geneformer repo to run inference.
|
| 2 |
+
|
| 3 |
+
```python
|
| 4 |
+
# Load model directly
|
| 5 |
+
from transformers import AutoModel
|
| 6 |
+
model = AutoModel.from_pretrained("metehergul/scgpt")
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
For further details see: https://huggingface.co/metehergul/scgpt
|