Instructions to use schuler/experimental-JP47D20 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use schuler/experimental-JP47D20 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="schuler/experimental-JP47D20", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("schuler/experimental-JP47D20", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use schuler/experimental-JP47D20 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "schuler/experimental-JP47D20" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "schuler/experimental-JP47D20", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/schuler/experimental-JP47D20
- SGLang
How to use schuler/experimental-JP47D20 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 "schuler/experimental-JP47D20" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "schuler/experimental-JP47D20", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "schuler/experimental-JP47D20" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "schuler/experimental-JP47D20", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use schuler/experimental-JP47D20 with Docker Model Runner:
docker model run hf.co/schuler/experimental-JP47D20
Commit History
-
Update README.md
Verified signatureb943434
-
Update README.md
Verified signature931f5e1 -
Update README.md
Verified signatureb1aa907 -
Upload KPhi3ForCausalLM
Verified signature7b29192 -
Upload KPhi3ForCausalLM
Verified signatureba86d63 -
Upload KPhi3ForCausalLM
Verified signaturee0d6a8c -
Upload KPhi3ForCausalLM
Verified signature937f303 -
Upload KPhi3ForCausalLM
Verified signatured41c024 -
Upload KPhi3ForCausalLM
Verified signature6e4f146 -
Upload KPhi3ForCausalLM
Verified signaturea22b097 -
Update README.md
Verified signature05faa3c -
Update README.md
Verified signatureb3f30eb -
Upload KPhi3ForCausalLM
Verified signature6363bc9 -
Upload KPhi3ForCausalLM
Verified signature1ac4e4d -
Upload KPhi3ForCausalLM
Verified signature898f680
-
Upload KPhi3ForCausalLM
Verified signature6ba9b68
-
Upload KPhi3ForCausalLM
Verified signaturec1d6ce2
-
Upload KPhi3ForCausalLM
Verified signature44ed91c -
Upload KPhi3ForCausalLM
Verified signatureaa5d3c2 -
Upload KPhi3ForCausalLM
Verified signaturef95b651 -
Upload KPhi3ForCausalLM
Verified signaturee938b2f -
Upload KPhi3ForCausalLM
Verified signature4de1344 -
Upload KPhi3ForCausalLM
Verified signature953668a -
Upload KPhi3ForCausalLM
Verified signature1bd9a68 -
Upload KPhi3ForCausalLM
Verified signatureda2f2df -
Upload KPhi3ForCausalLM
Verified signature7554daf -
Upload KPhi3ForCausalLM
Verified signature6a79e2d -
Update config.json
Verified signature815db1b -
Update tokenizer_config.json
Verified signaturea59c641 -
Update tokenizer_config.json
Verified signature5edef54
-
Update tokenizer_config.json
Verified signature5196e90 -
Update tokenizer_config.json
Verified signatureno \ncee47a6
-
Upload KPhi3ForCausalLM
Verified signatured6a3caa -
Upload KPhi3ForCausalLM
Verified signatureabb8e3e -
Upload KPhi3ForCausalLM
Verified signature8ca974b -
Upload KPhi3ForCausalLM
Verified signaturee8b5b7f -
Upload KPhi3ForCausalLM
Verified signature31a796e -
Upload KPhi3ForCausalLM
Verified signaturece4728c -
Upload KPhi3ForCausalLM
Verified signatured5e15ac -
Upload KPhi3ForCausalLM
Verified signature8445b70 -
Update config.json
Verified signature774ce23 -
Upload KPhi3ForCausalLM
Verified signature984aa88 -
Upload README.md
Verified signaturef5878fa -
Upload KPhi3ForCausalLM
Verified signaturecd31f85 -
Upload KPhi3ForCausalLM
Verified signature8b3d37e -
Upload KPhi3ForCausalLM
Verified signature668834b
-
Upload KPhi3ForCausalLM
Verified signaturea0c0507 -
Upload KPhi3ForCausalLM
Verified signaturead26165 -
Upload KPhi3ForCausalLM
Verified signatureaeeb310 -
Upload KPhi3ForCausalLM
Verified signaturec06bb3e