Instructions to use Btechproject/git-base-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Btechproject/git-base-pokemon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Btechproject/git-base-pokemon")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Btechproject/git-base-pokemon") model = AutoModelForMultimodalLM.from_pretrained("Btechproject/git-base-pokemon", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Btechproject/git-base-pokemon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Btechproject/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": "Btechproject/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Btechproject/git-base-pokemon
- SGLang
How to use Btechproject/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 "Btechproject/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": "Btechproject/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 "Btechproject/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": "Btechproject/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Btechproject/git-base-pokemon with Docker Model Runner:
docker model run hf.co/Btechproject/git-base-pokemon
Commit History
-
Training in progress, step 165
6d32337 -
Training in progress, step 160
3d2129e -
Training in progress, step 155
1a8fefa -
Training in progress, step 150
d38e741 -
Training in progress, step 145
1c26d3d -
Training in progress, step 140
4928dbb -
Training in progress, step 135
9931d60 -
Training in progress, step 130
e39dd8d -
Training in progress, step 125
0b1d692 -
Training in progress, step 120
cf5c2d2 -
Training in progress, step 115
c1bb2f7 -
Training in progress, step 110
b5e9e10 -
Training in progress, step 105
475793a -
Training in progress, step 100
c11d23d -
Training in progress, step 95
942cd6d -
Training in progress, step 90
6d59e59 -
Training in progress, step 85
6e940b3 -
Training in progress, step 80
515e604 -
Training in progress, step 75
8f1d537 -
Training in progress, step 70
166cc2f -
Training in progress, step 65
cfa77c9 -
Training in progress, step 60
a7b7e44 -
Training in progress, step 55
b696ce0 -
Training in progress, step 50
0003147 -
Training in progress, step 45
1137b7c -
Training in progress, step 40
1dd4446 -
Training in progress, step 35
848692d -
Training in progress, step 30
6e7da05 -
Training in progress, step 25
a93fc43 -
Training in progress, step 20
39602a4 -
Training in progress, step 15
c26d144 -
Training in progress, step 10
e610d6c -
Training in progress, step 5
a9308ae -
Training in progress, step 5
b245762 -
Training in progress, step 5
28624de
-
Training in progress, step 100
7495108 -
Training in progress, step 50
77ae354
-
initial commit
d3566f0