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 100
6cc1ef6
-
End of training
e685dd9 -
Training in progress, step 50000
8403782 -
Training in progress, step 49500
28b87e6 -
Training in progress, step 49000
b060b99 -
Training in progress, step 48500
e479a52 -
Training in progress, step 48000
d70ee13 -
Training in progress, step 47500
aab0a8c -
Training in progress, step 47000
3d5b1d1 -
Training in progress, step 46500
5df4c85 -
Training in progress, step 46000
df3f837 -
Training in progress, step 45500
4bf4040 -
Training in progress, step 45000
f9ce0ab -
Training in progress, step 44500
52f6a50 -
Training in progress, step 44000
4649986 -
Training in progress, step 43500
31d93a1 -
Training in progress, step 43000
6a0fcde -
Training in progress, step 42500
b0bb90e -
Training in progress, step 42000
daaabee -
Training in progress, step 41500
aff5246 -
Training in progress, step 41000
b751cb7 -
Training in progress, step 40500
921d8cf -
Training in progress, step 40000
23760a2 -
Training in progress, step 39500
72c464b -
Training in progress, step 39000
4acbce2 -
Training in progress, step 38500
8e067dd -
Training in progress, step 38000
d4d2e1f -
Training in progress, step 37500
e2f1290 -
Training in progress, step 37000
06e5416 -
Training in progress, step 36500
836ded4 -
Training in progress, step 36000
c5edcf5 -
Training in progress, step 35500
be11a26 -
Training in progress, step 35000
ff1bf24 -
Training in progress, step 34500
2b411ac -
Training in progress, step 34000
8bda0de -
Training in progress, step 33500
50d10c9 -
Training in progress, step 33000
71d55ed -
Training in progress, step 32500
37f5391 -
Training in progress, step 32000
911ea70 -
Training in progress, step 31500
4f6c6ae -
Training in progress, step 31000
fc5be48 -
Training in progress, step 30500
ba5e25d -
Training in progress, step 30000
b9e9a0c -
Training in progress, step 29500
2f86449 -
Training in progress, step 29000
62405ed -
Training in progress, step 28500
a634362 -
Training in progress, step 28000
82d0118 -
Training in progress, step 27500
9e1d778 -
Training in progress, step 27000
e3c28f2 -
Training in progress, step 26500
7082623