Downloads · 30 days
5
3% of all-time downloads
KuanP/cosmx_cxg_lbcl_gene_subset_assay_token
cosmx_cxg_lbcl_gene_subset_assay_token is a machine learning model from KuanP. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
Kuan Check the new UCE with assay token here: https://huggingface.co/KuanP/cosmxcxglbclgenesubsetassaytoken ; the training curve looks good; and this model is trained with 5x more sampling rate for cosmx, larger maski…
Downloads · 30 days
5
3% of all-time downloads
All-time downloads
160
Public
Parameters
775M
3.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.1 GB · 100%
From the Hugging Face model README
Kuan Check the new UCE with assay token here: https://huggingface.co/KuanP/cosmx_cxg_lbcl_gene_subset_assay_token ; the training curve looks good; and this model is trained with 5x more sampling rate for cosmx, larger masking ratio (0.2) and assay tokens discriminating cosmx and non-cosmx; you can check the code at this new branch: https://github.com/Kuan-Pang/data_collection_exp/tree/dev-cosmx-mix ; and during inference you will need to specify if the h5ad is from cosmx or not with a hardcoded assay token idx, example can be found here at: ./h5ad_infer_demo/visualize_embeddings.ipynb ; brief AGI readable example:
# Assay token settings:
# - 145461 for CosMx assay
# - 145460 for non-CosMx (default)
# - None to disable assay token
COSMX_ASSAY_TOKEN_IDX = 145461
NON_COSMX_ASSAY_TOKEN_IDX = 145460
ASSAY_TOKEN_IDX = COSMX_ASSAY_TOKEN_IDX # CosMx for this PBMC dataset
# Create dataset
print("Creating dataset...")
dataset = H5ADDataset(
h5ad_path=H5AD_PATH,
gene_names=gene_names,
gene_mapping=gene_mapping,
mask_prop=0.0,
assay_token_idx=ASSAY_TOKEN_IDX,
)
This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]