Instructions to use Adrien35/git-base-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Adrien35/git-base-pokemon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Adrien35/git-base-pokemon")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Adrien35/git-base-pokemon") model = AutoModelForMultimodalLM.from_pretrained("Adrien35/git-base-pokemon", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Adrien35/git-base-pokemon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Adrien35/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": "Adrien35/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Adrien35/git-base-pokemon
- SGLang
How to use Adrien35/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 "Adrien35/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": "Adrien35/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 "Adrien35/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": "Adrien35/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Adrien35/git-base-pokemon with Docker Model Runner:
docker model run hf.co/Adrien35/git-base-pokemon
Commit History
-
Training in progress, step 2350
Verified signatureace2671 -
Training in progress, step 2300
Verified signature77179ec -
Training in progress, step 2250
Verified signature3eba6aa -
Training in progress, step 2200
Verified signature66d3118 -
Training in progress, step 2150
Verified signature7ffb5a3 -
Training in progress, step 2100
Verified signature0790ca4 -
Training in progress, step 2050
Verified signaturee091d7a -
Training in progress, step 2000
Verified signatureecf2371 -
Training in progress, step 1950
Verified signature190429f -
Training in progress, step 1900
Verified signature44f2d8e -
Training in progress, step 1850
Verified signature9fc66ed -
Training in progress, step 1800
Verified signaturefc814a0 -
Training in progress, step 1750
Verified signature5d74bce -
Training in progress, step 1700
Verified signature7a4f48e -
Training in progress, step 1650
Verified signature60fd4af -
Training in progress, step 1600
Verified signaturea434eb7 -
Training in progress, step 1550
Verified signature475bfef -
Training in progress, step 1500
Verified signaturee9e7385 -
Training in progress, step 1450
Verified signatured96b5cd -
Training in progress, step 1400
Verified signature7322155 -
Training in progress, step 1350
Verified signaturebbd481b -
Training in progress, step 1300
Verified signature8b3711e -
Training in progress, step 1250
Verified signature5cd8ac4 -
Training in progress, step 1200
Verified signature7bd7032 -
Training in progress, step 1150
Verified signature702f4da -
Training in progress, step 1100
Verified signaturec0fac0d -
Training in progress, step 1050
Verified signature1d9029a -
Training in progress, step 1000
Verified signature12710e3 -
Training in progress, step 950
Verified signatureee0c99b -
Training in progress, step 900
Verified signature1e01e99 -
Training in progress, step 850
Verified signature96ca3d0 -
Training in progress, step 800
Verified signaturef86b684 -
Training in progress, step 750
Verified signature56c9ef7 -
Training in progress, step 700
Verified signature8ece738 -
Training in progress, step 650
Verified signature4bf047f -
Training in progress, step 600
Verified signature737be20 -
Training in progress, step 550
Verified signaturefe9f1ae -
Training in progress, step 500
Verified signatured38283d -
Training in progress, step 450
Verified signaturec82d283 -
Training in progress, step 400
Verified signature5e82f9e -
Training in progress, step 350
Verified signatureabe3b99 -
Training in progress, step 300
Verified signatured46ac63 -
Training in progress, step 250
Verified signature5476441 -
Training in progress, step 200
Verified signaturea7cec2b -
Training in progress, step 150
Verified signature091298b -
Training in progress, step 100
Verified signature62b3073 -
Training in progress, step 50
Verified signature201ba5e -
Training in progress, step 200
Verified signaturec87a55e -
Training in progress, step 150
Verified signature80b3e66 -
Training in progress, step 100
Verified signature10db2d3