Text Generation
Transformers
Safetensors
Russian
English
ppai
pacperlar
mixture-of-experts
russian
code
small-language-model
custom_code
Instructions to use AdminHugging/PP-Hydrogen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AdminHugging/PP-Hydrogen with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AdminHugging/PP-Hydrogen", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("AdminHugging/PP-Hydrogen", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AdminHugging/PP-Hydrogen with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AdminHugging/PP-Hydrogen" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AdminHugging/PP-Hydrogen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AdminHugging/PP-Hydrogen
- SGLang
How to use AdminHugging/PP-Hydrogen 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 "AdminHugging/PP-Hydrogen" \ --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": "AdminHugging/PP-Hydrogen", "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 "AdminHugging/PP-Hydrogen" \ --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": "AdminHugging/PP-Hydrogen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AdminHugging/PP-Hydrogen with Docker Model Runner:
docker model run hf.co/AdminHugging/PP-Hydrogen
Commit History
Today
-
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signaturebc37c3b -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature018795f -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signaturede24726 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature663d145 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signatureb330982 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signatured512345 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature286d1e4 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature5ede8e5 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature10310cd -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature001bae7 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature47e635c -
Upload ckpt/config.json with huggingface_hub
Verified signatureb30c578 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature27cfe0a -
clean: ckpt/config.json
Verified signature2b3fff3 -
Upload ckpt/last.pt with huggingface_hub
Verified signature8664cdf -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature9aab88e -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signatureb55fcba -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature31d7aa7 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signaturef09c52d -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature231c8ee -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature44815c5 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature3307ac1 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signaturef6c12d0 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature32e6da9 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature2137670 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signaturec5d9a86
Yesterday
-
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signatureadbcb51 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signatureb218fba -
Upload ckpt/config.json with huggingface_hub
Verified signature0e44fb0 -
Upload ckpt/weights_bf16.pt with huggingface_hub
Verified signature087b8d8