Feature Extraction
Transformers
Safetensors
English
mosaic
computational-pathology
multimodal
survival-analysis
custom_code
Instructions to use Astaxanthin/MOSAIC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Astaxanthin/MOSAIC with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Astaxanthin/MOSAIC", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Astaxanthin/MOSAIC", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -24,7 +24,7 @@ pip install "torch>=2.6" "transformers==4.57.1" "nystrom-attention==0.0.14" "saf
|
|
| 24 |
|
| 25 |
## Usage
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
```python
|
| 30 |
import h5py
|
|
|
|
| 24 |
|
| 25 |
## Usage
|
| 26 |
|
| 27 |
+
WSI patch features should be extracted using [KEEP](https://huggingface.co/Astaxanthin/KEEP).
|
| 28 |
|
| 29 |
```python
|
| 30 |
import h5py
|