Instructions to use vanyamironov/git-base-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vanyamironov/git-base-pokemon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="vanyamironov/git-base-pokemon")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("vanyamironov/git-base-pokemon") model = AutoModelForMultimodalLM.from_pretrained("vanyamironov/git-base-pokemon", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use vanyamironov/git-base-pokemon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "vanyamironov/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": "vanyamironov/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/vanyamironov/git-base-pokemon
- SGLang
How to use vanyamironov/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 "vanyamironov/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": "vanyamironov/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 "vanyamironov/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": "vanyamironov/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use vanyamironov/git-base-pokemon with Docker Model Runner:
docker model run hf.co/vanyamironov/git-base-pokemon
Commit History
-
Training in progress, step 500
1191252 -
Training in progress, step 450
d66d472 -
Training in progress, step 400
51b893a -
Training in progress, step 350
dbb3a28 -
Training in progress, step 300
39913fc -
Training in progress, step 250
20db657 -
Training in progress, step 200
8aaf060 -
Training in progress, step 150
11d5d52 -
Training in progress, step 100
661399d -
Training in progress, step 50
ac37de1 -
Training in progress, step 300
72d0d0c -
Training in progress, step 250
785e5e3 -
Training in progress, step 200
a365e5a -
Training in progress, step 150
1363f8d -
Training in progress, step 50
09038f3 -
Training in progress, step 550
09ad82e -
Training in progress, step 500
051b602 -
Training in progress, step 450
b73cc94 -
Training in progress, step 400
dfb6c5c -
Training in progress, step 350
b91ef8a -
Training in progress, step 300
549bbb4 -
Training in progress, step 250
587b945 -
Training in progress, step 200
724aa13 -
Training in progress, step 150
9ec6422 -
Training in progress, step 100
e638cb8 -
Training in progress, step 50
76787fc -
Training in progress, step 350
02ee1d5 -
Training in progress, step 300
aba9366 -
Training in progress, step 250
028df50 -
Training in progress, step 200
e5d1de2 -
Training in progress, step 150
7942d8b -
Training in progress, step 100
1e14229 -
Training in progress, step 50
e047e67