Instructions to use YingxuHe/git-base-test3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YingxuHe/git-base-test3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="YingxuHe/git-base-test3")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("YingxuHe/git-base-test3") model = AutoModelForMultimodalLM.from_pretrained("YingxuHe/git-base-test3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use YingxuHe/git-base-test3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "YingxuHe/git-base-test3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "YingxuHe/git-base-test3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/YingxuHe/git-base-test3
- SGLang
How to use YingxuHe/git-base-test3 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 "YingxuHe/git-base-test3" \ --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": "YingxuHe/git-base-test3", "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 "YingxuHe/git-base-test3" \ --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": "YingxuHe/git-base-test3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use YingxuHe/git-base-test3 with Docker Model Runner:
docker model run hf.co/YingxuHe/git-base-test3
Commit History
-
Training in progress, step 24600
125e4dd -
Training in progress, step 24500
cffbe76 -
Training in progress, step 24400
7bc7e6c -
Training in progress, step 24300
bed2f31 -
Training in progress, step 24200
5ac2895 -
Training in progress, step 24100
08da015 -
Training in progress, step 24000
5c33c4b -
Training in progress, step 23900
a67e9ab -
Training in progress, step 23800
c3aca4a -
Training in progress, step 23700
d0f7d4e -
Training in progress, step 23600
be7b4ee -
Training in progress, step 23500
40c0e2b -
Training in progress, step 23400
61354f2 -
Training in progress, step 23300
3db4e43 -
Training in progress, step 23200
fbf5ad0 -
Training in progress, step 23100
59c6a35 -
Training in progress, step 23000
3c18a80 -
Training in progress, step 22900
6a96d15 -
Training in progress, step 22800
d0ab899 -
Training in progress, step 22700
5156b67 -
Training in progress, step 22600
a5ac5d1 -
Training in progress, step 22500
12684b3 -
Training in progress, step 22400
e033650 -
Training in progress, step 22300
5b47ef5 -
Training in progress, step 22200
6e85a99 -
Training in progress, step 22100
34e2b2d -
Training in progress, step 22000
c8ad5a1 -
Training in progress, step 21900
4fb8ff6 -
Training in progress, step 21800
6cdaf8d -
Training in progress, step 21700
323155e -
Training in progress, step 21600
73f62b9 -
Training in progress, step 21500
0e9d971 -
Training in progress, step 21400
06e4a23 -
Training in progress, step 21300
afc0169 -
Training in progress, step 21200
3667c63 -
Training in progress, step 21100
4baeca9 -
Training in progress, step 21000
748d279 -
Training in progress, step 20900
1d06b2d -
Training in progress, step 20800
b701c62 -
Training in progress, step 20700
e40934a -
Training in progress, step 20600
55f9fa9 -
Training in progress, step 20500
a9c5b30 -
Training in progress, step 20400
4f27c9b -
Training in progress, step 20300
430996a -
Training in progress, step 20200
ff51810 -
Training in progress, step 20100
42d1cff -
Training in progress, step 20000
a4b3603 -
Training in progress, step 19900
6c54cd1 -
Training in progress, step 19800
3deb028 -
Training in progress, step 19700
8963736