Instructions to use gnkr/git-base-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gnkr/git-base-pokemon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="gnkr/git-base-pokemon")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("gnkr/git-base-pokemon") model = AutoModelForMultimodalLM.from_pretrained("gnkr/git-base-pokemon", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use gnkr/git-base-pokemon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gnkr/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": "gnkr/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/gnkr/git-base-pokemon
- SGLang
How to use gnkr/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 "gnkr/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": "gnkr/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 "gnkr/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": "gnkr/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use gnkr/git-base-pokemon with Docker Model Runner:
docker model run hf.co/gnkr/git-base-pokemon
Commit History
-
Training in progress, step 3450
b21edf2 -
Training in progress, step 3400
65e3d1f -
Training in progress, step 3350
137d2eb -
Training in progress, step 3300
3a1c5d5 -
Training in progress, step 3250
6299809 -
Training in progress, step 3200
3641e5f -
Training in progress, step 3150
aa162bc -
Training in progress, step 3100
028d80f -
Training in progress, step 3050
6a3694a -
Training in progress, step 3000
74e6fc5 -
Training in progress, step 2950
151d847 -
Training in progress, step 2900
f0cdb5d -
Training in progress, step 2850
c8ed79d -
Training in progress, step 2800
8469043 -
Training in progress, step 2750
c9ebd23 -
Training in progress, step 2700
17c62a2 -
Training in progress, step 2650
14b45dc -
Training in progress, step 2600
90ea243 -
Training in progress, step 2550
8acbd75 -
Training in progress, step 2500
8c36538 -
Training in progress, step 2450
af51264 -
Training in progress, step 2400
7ab672e -
Training in progress, step 2350
610cf64 -
Training in progress, step 2300
3e18497 -
Training in progress, step 2250
0501b2d -
Training in progress, step 2200
ce71310 -
Training in progress, step 2150
e77070d -
Training in progress, step 2100
12ef886 -
Training in progress, step 2050
291d5c1 -
Training in progress, step 2000
0b3a9b6 -
Training in progress, step 1950
35bbe00 -
Training in progress, step 1900
8fd872b -
Training in progress, step 1850
72caf55 -
Training in progress, step 1800
f522bb4 -
Training in progress, step 1750
7b3153f -
Training in progress, step 1700
88f5181 -
Training in progress, step 1650
244d29e -
Training in progress, step 1600
355aa2b -
Training in progress, step 1550
9bc43e0 -
Training in progress, step 1500
3a3f6c3 -
Training in progress, step 1450
3c97da4 -
Training in progress, step 1400
55473c9 -
Training in progress, step 1350
104f1c3 -
Training in progress, step 1300
42a02c0 -
Training in progress, step 1250
0929457 -
Training in progress, step 1200
4f7e3bd -
Training in progress, step 1150
75570b5 -
Training in progress, step 1100
d6e6af9 -
Training in progress, step 1050
bad285f -
Training in progress, step 1000
3ace6fc