Text Generation
Transformers
Safetensors
English
gpt_neox
biology
scRNAseq
text-generation-inference
Instructions to use vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation") model = AutoModelForCausalLM.from_pretrained("vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation
- SGLang
How to use vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation with Docker Model Runner:
docker model run hf.co/vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation
Download training_args.bin from vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation: direct link, hf CLI and curl.
- Browser
- Download file 5.37 kB
-
https://huggingface.co/vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation/resolve/main/training_args.bin
- Command line
-
hf download hf://vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/vandijklab/C2S-Pythia-410m-cell-type-conditioned-cell-generation/resolve/main/training_args.bin
5.37 kB
- Xet hash:
- bef27459ee21c294b9764731dc5d90c6534a38b93fa0a96f7d70bd154b9b989d
- Size of remote file:
- 5.37 kB
- SHA256:
- 0aaabad18018a1e9d309cf888aa604baa9f9a0b564776b67697d9675fde47834
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.