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 34600
1323171 -
Training in progress, step 34500
009b8dc -
Training in progress, step 34400
bef0ab9 -
Training in progress, step 34300
a85ba97 -
Training in progress, step 34200
5d07a27 -
Training in progress, step 34100
1181548 -
Training in progress, step 34000
f5f7c96 -
Training in progress, step 33900
c2c4243 -
Training in progress, step 33800
ab671d3 -
Training in progress, step 33700
ca2a4c1 -
Training in progress, step 33600
91667e7 -
Training in progress, step 33500
a5c92ec -
Training in progress, step 33400
67d0689 -
Training in progress, step 33300
3220e85 -
Training in progress, step 33200
2b6fd9e -
Training in progress, step 33100
da7ab5b -
Training in progress, step 33000
e61a4fb -
Training in progress, step 32900
ad9da50 -
Training in progress, step 32800
b487e93 -
Training in progress, step 32700
ba987da -
Training in progress, step 32600
640f9a6 -
Training in progress, step 32500
d2c731d -
Training in progress, step 32400
c4a1e64 -
Training in progress, step 32300
fd03e59 -
Training in progress, step 32200
a6d7b30 -
Training in progress, step 32100
f24cb50 -
Training in progress, step 32000
6914d58 -
Training in progress, step 31900
e460e76 -
Training in progress, step 31800
cbbf716 -
Training in progress, step 31700
7fb7af2 -
Training in progress, step 31600
796961c -
Training in progress, step 31500
1827fa7 -
Training in progress, step 31400
197f6ac -
Training in progress, step 31300
9c021d3 -
Training in progress, step 31200
dfa358c -
Training in progress, step 31100
48efb07 -
Training in progress, step 31000
3addb0a -
Training in progress, step 30900
4984820 -
Training in progress, step 30800
38b35c4 -
Training in progress, step 30700
c16a448 -
Training in progress, step 30600
cf67fb0 -
Training in progress, step 30500
d04eaec -
Training in progress, step 30400
cd88bec -
Training in progress, step 30300
886beb0 -
Training in progress, step 30200
44dd96c -
Training in progress, step 30100
b3baebd -
Training in progress, step 30000
399037b -
Training in progress, step 29900
58751dc -
Training in progress, step 29800
28135b0 -
Training in progress, step 29700
5122097