Instructions to use yizhilll/git-base-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yizhilll/git-base-pokemon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="yizhilll/git-base-pokemon")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("yizhilll/git-base-pokemon") model = AutoModelForMultimodalLM.from_pretrained("yizhilll/git-base-pokemon", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use yizhilll/git-base-pokemon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "yizhilll/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": "yizhilll/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/yizhilll/git-base-pokemon
- SGLang
How to use yizhilll/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 "yizhilll/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": "yizhilll/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 "yizhilll/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": "yizhilll/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use yizhilll/git-base-pokemon with Docker Model Runner:
docker model run hf.co/yizhilll/git-base-pokemon
Commit History
-
Training in progress, step 1000
3dcc6ae -
Training in progress, step 950
f4d08db -
Training in progress, step 900
d6b22c2 -
Training in progress, step 850
31a0c7e -
Training in progress, step 800
88ca2be -
Training in progress, step 750
eafcd9a -
Training in progress, step 700
66510f5 -
Training in progress, step 650
b91217e -
Training in progress, step 600
06f64e2 -
Training in progress, step 550
e76ba25 -
Training in progress, step 500
c9b2f2c -
Training in progress, step 450
5020288 -
Training in progress, step 400
2fcd074 -
Training in progress, step 350
66118be -
Training in progress, step 300
9ac59d6 -
Training in progress, step 250
17ae699 -
Training in progress, step 200
3b90207 -
Training in progress, step 150
ca30d7a -
Training in progress, step 100
b4b785c -
Training in progress, step 50
e63938a -
initial commit
4476118