Instructions to use rharris117/git-base-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rharris117/git-base-pokemon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="rharris117/git-base-pokemon")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("rharris117/git-base-pokemon") model = AutoModelForMultimodalLM.from_pretrained("rharris117/git-base-pokemon", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use rharris117/git-base-pokemon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "rharris117/git-base-pokemon" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "rharris117/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/rharris117/git-base-pokemon
- SGLang
How to use rharris117/git-base-pokemon 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 "rharris117/git-base-pokemon" \ --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": "rharris117/git-base-pokemon", "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 "rharris117/git-base-pokemon" \ --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": "rharris117/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use rharris117/git-base-pokemon with Docker Model Runner:
docker model run hf.co/rharris117/git-base-pokemon
Commit History
-
Model save
0fc6783 -
Training in progress, step 450
2491816 -
Training in progress, step 400
9815c2c -
Training in progress, step 350
964735a -
Training in progress, step 300
4a59316 -
Training in progress, step 250
115d967 -
Training in progress, step 200
58aa94b -
Training in progress, step 150
95a9c90
-
Training in progress, step 100
69c672c -
Training in progress, step 50
068e7ca -
Model save
4c943ea -
Training in progress, step 600
d398b9a -
Training in progress, step 550
1b2be4c -
Training in progress, step 500
ea7ff0f -
Training in progress, step 450
7b4f6bc -
Training in progress, step 400
0a185a7 -
Training in progress, step 350
e84dc59 -
Training in progress, step 300
258a7d6 -
Training in progress, step 250
6d10e34 -
Training in progress, step 200
0aae634 -
Training in progress, step 150
1e3351c -
Training in progress, step 100
25cec1e -
Training in progress, step 50
2cd2a41
-
Model save
7695d97 -
Training in progress, step 600
6824090 -
Training in progress, step 550
404b988 -
Training in progress, step 500
2e6b59f -
Training in progress, step 450
3ce48cc -
Training in progress, step 400
0b5a12d -
Training in progress, step 350
620bb80 -
Training in progress, step 300
e38a3e5 -
Training in progress, step 250
c80949e -
Training in progress, step 200
537a3fa -
Training in progress, step 150
3509e80 -
Training in progress, step 100
5d16d4c -
Training in progress, step 50
d822544 -
Training in progress, step 100
58f30c4 -
Training in progress, step 50
483f6cd -
Training in progress, step 600
fca0cd1 -
Training in progress, step 550
063acc7 -
Training in progress, step 500
67f5810 -
Training in progress, step 450
976a054 -
Training in progress, step 400
3574977 -
Training in progress, step 350
62a2de2 -
Training in progress, step 300
72b3123 -
Training in progress, step 250
b58e159 -
Training in progress, step 200
68ebffe -
Training in progress, step 150
0f24595 -
Training in progress, step 100
cedaf70 -
Training in progress, step 50
56ab1f9