Instructions to use wangjin2000/git-base-finetune-Aug112023_05 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wangjin2000/git-base-finetune-Aug112023_05 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="wangjin2000/git-base-finetune-Aug112023_05")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("wangjin2000/git-base-finetune-Aug112023_05") model = AutoModelForMultimodalLM.from_pretrained("wangjin2000/git-base-finetune-Aug112023_05", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use wangjin2000/git-base-finetune-Aug112023_05 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "wangjin2000/git-base-finetune-Aug112023_05" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "wangjin2000/git-base-finetune-Aug112023_05", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/wangjin2000/git-base-finetune-Aug112023_05
- SGLang
How to use wangjin2000/git-base-finetune-Aug112023_05 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 "wangjin2000/git-base-finetune-Aug112023_05" \ --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": "wangjin2000/git-base-finetune-Aug112023_05", "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 "wangjin2000/git-base-finetune-Aug112023_05" \ --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": "wangjin2000/git-base-finetune-Aug112023_05", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use wangjin2000/git-base-finetune-Aug112023_05 with Docker Model Runner:
docker model run hf.co/wangjin2000/git-base-finetune-Aug112023_05
Commit History
-
Training in progress, epoch 48
bed2b3f -
Training in progress, epoch 48
ce3f5c7 -
Training in progress, epoch 46
739ee87 -
Training in progress, epoch 46
2a76965 -
Training in progress, epoch 44
48682d4 -
Training in progress, epoch 44
786c966 -
Training in progress, epoch 42
c910f61 -
Training in progress, epoch 42
19bc252 -
Training in progress, epoch 40
594e1ab -
Training in progress, epoch 40
e3c1377 -
Training in progress, epoch 38
24498f2 -
Training in progress, epoch 38
4bf2315 -
Training in progress, epoch 36
837294e -
Training in progress, epoch 36
257162c -
Training in progress, epoch 34
fca57da -
Training in progress, epoch 34
02cf0d4 -
Training in progress, epoch 32
53d14e7 -
Training in progress, epoch 32
46f3eeb -
Training in progress, epoch 30
6cdca07 -
Training in progress, epoch 30
80a659f -
Training in progress, epoch 28
e4c3342 -
Training in progress, epoch 28
ef2677a -
Training in progress, epoch 26
6f5bdaf -
Training in progress, epoch 26
ea6903f -
Training in progress, epoch 24
050c6ac -
Training in progress, epoch 24
ef7f2cf -
Training in progress, epoch 22
a9642f3 -
Training in progress, epoch 22
8298b2a -
Training in progress, epoch 20
df03055 -
Training in progress, epoch 20
e21a4c5 -
Training in progress, epoch 18
0e929a3 -
Training in progress, epoch 18
00a738a -
Training in progress, epoch 16
6fb3da5 -
Training in progress, epoch 16
ea0e9fe -
Training in progress, epoch 14
fd305d0 -
Training in progress, epoch 14
a800bb5 -
Training in progress, epoch 12
795521d -
Training in progress, epoch 12
632b8e1 -
Training in progress, epoch 10
fcd3700 -
Training in progress, epoch 10
7616498 -
Training in progress, epoch 8
7ba9176 -
Training in progress, epoch 8
0504efe -
Training in progress, epoch 6
8448e58 -
Training in progress, epoch 6
a4705cd -
Training in progress, epoch 4
e61de98 -
Training in progress, epoch 4
ca2c50c -
Training in progress, epoch 2
82a6ff9 -
Training in progress, epoch 2
1c9d902 -
Training in progress, epoch 0
43222bc