Instructions to use jinggu/jing-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jinggu/jing-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jinggu/jing-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCausalLM processor = AutoProcessor.from_pretrained("jinggu/jing-model") model = AutoModelForCausalLM.from_pretrained("jinggu/jing-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jinggu/jing-model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jinggu/jing-model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jinggu/jing-model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jinggu/jing-model
- SGLang
How to use jinggu/jing-model 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 "jinggu/jing-model" \ --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": "jinggu/jing-model", "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 "jinggu/jing-model" \ --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": "jinggu/jing-model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jinggu/jing-model with Docker Model Runner:
docker model run hf.co/jinggu/jing-model
Commit History
-
Upload 4 files
Verified signaturec2c41f0
-
Delete great-13b
Verified signatureb0fb749 -
Upload folder using huggingface_hub
Verified signature9276176
-
Delete VILA_copy.zip
Verified signatured4b011a -
Delete VILA.zip
Verified signatureb89fca6 -
Delete great-40b-av
Verified signaturea4a17ee -
Delete great-40b
Verified signaturec1e5c24 -
Upload folder using huggingface_hub
Verified signature90e02ba -
Upload folder using huggingface_hub
Verified signaturef1197e1 -
Upload folder using huggingface_hub
Verified signaturee9f23a1 -
Upload folder using huggingface_hub
Verified signature72dff27
-
Delete 20bn-something-something-v2-19.zip
Verified signaturecd53763 -
Delete 20bn-something-something-v2-18.zip
Verified signaturebc06678 -
Delete 20bn-something-something-v2-17.zip
Verified signature620a0eb -
Delete 20bn-something-something-v2-16.zip
Verified signature15a43b4 -
Delete 20bn-something-something-v2-15.zip
Verified signaturebf4c9b6
-
Delete 20bn-something-something-v2-14.zip
Verified signaturef4b911a -
Delete 20bn-something-something-v2-13.zip
Verified signatureaa71268 -
Delete 20bn-something-something-v2-12.zip
Verified signature24fd987 -
Delete 20bn-something-something-v2-11.zip
Verified signatureb259fc9 -
Delete 20bn-something-something-v2-10.zip
Verified signatured1c11c1 -
Delete 20bn-something-something-v2-09.zip
Verified signaturecb03580 -
Delete 20bn-something-something-v2-08.zip
Verified signature35fc52a -
Delete 20bn-something-something-v2-07.zip
Verified signatureb43b70c -
Delete 20bn-something-something-v2-06.zip
Verified signature1fb1b9c -
Delete 20bn-something-something-v2-05.zip
Verified signature7497635 -
Delete 20bn-something-something-v2-04.zip
Verified signature6d1c2fb -
Delete 20bn-something-something-v2-03.zip
Verified signature0751602 -
Delete 20bn-something-something-v2-02.zip
Verified signatureb58d2d4 -
Delete 20bn-something-something-v2-01.zip
Verified signature01d6d3b -
Delete 20bn-something-something-v2-00.zip
Verified signatureed46206 -
Upload folder using huggingface_hub
Verified signatureffa2c78
-
Upload folder using huggingface_hub
Verified signature19d3fc6
-
Upload folder using huggingface_hub
Verified signaturebce83a7
-
Upload folder using huggingface_hub
Verified signatureada4310 -
Upload folder using huggingface_hub
Verified signaturea52d2e6 -
Upload folder using huggingface_hub
Verified signature17cba65 -
Upload folder using huggingface_hub
Verified signature72fdc00
-
Upload folder using huggingface_hub
Verified signature24e2d39 -
Upload folder using huggingface_hub
Verified signaturea988773
-
Upload folder using huggingface_hub
Verified signaturee741a35
-
Upload folder using huggingface_hub
Verified signature7947602 -
Upload folder using huggingface_hub
Verified signaturea7743e8 -
Upload folder using huggingface_hub
Verified signature69bf0c8 -
Upload folder using huggingface_hub
Verified signaturefc10edb -
Upload folder using huggingface_hub
Verified signaturede651ee
-
Upload folder using huggingface_hub
Verified signatureb01fa58 -
Upload folder using huggingface_hub
Verified signature5c67576 -
Upload folder using huggingface_hub
Verified signaturea18b9c6 -
Delete editing_results_6_14_0.zip
Verified signature8401751