Instructions to use apoorvdixit/git-base-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apoorvdixit/git-base-pokemon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="apoorvdixit/git-base-pokemon")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("apoorvdixit/git-base-pokemon") model = AutoModelForImageTextToText.from_pretrained("apoorvdixit/git-base-pokemon") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use apoorvdixit/git-base-pokemon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "apoorvdixit/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": "apoorvdixit/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/apoorvdixit/git-base-pokemon
- SGLang
How to use apoorvdixit/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 "apoorvdixit/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": "apoorvdixit/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 "apoorvdixit/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": "apoorvdixit/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use apoorvdixit/git-base-pokemon with Docker Model Runner:
docker model run hf.co/apoorvdixit/git-base-pokemon
Commit ·
f16701b
1
Parent(s): d57a8bb
Training in progress, step 1
Browse files- pytorch_model.bin +1 -1
- runs/May29_13-30-05_3557630d3d40/1685367342.751914/events.out.tfevents.1685367342.3557630d3d40.2028.9 +3 -0
- runs/May29_13-30-05_3557630d3d40/events.out.tfevents.1685367016.3557630d3d40.2028.6 +2 -2
- runs/May29_13-30-05_3557630d3d40/events.out.tfevents.1685367342.3557630d3d40.2028.8 +3 -0
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 706594713
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12dd0f2a4a9ffef351684f48bd7fae4bd06a0df7a63ec652e52f9760a42d3614
|
| 3 |
size 706594713
|
runs/May29_13-30-05_3557630d3d40/1685367342.751914/events.out.tfevents.1685367342.3557630d3d40.2028.9
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e2f9f3df44df134963399ccf016e51d74700f5097205df31c426b70ed03e40c
|
| 3 |
+
size 5883
|
runs/May29_13-30-05_3557630d3d40/events.out.tfevents.1685367016.3557630d3d40.2028.6
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29f3e6a0d267b16c88a979b9388ea9ece6922178056d835b47f4e92af84d2d07
|
| 3 |
+
size 7351
|
runs/May29_13-30-05_3557630d3d40/events.out.tfevents.1685367342.3557630d3d40.2028.8
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e82a4c1d500823b308db73b01909f10adb67aaa39c6513288d2bb208fd6b409
|
| 3 |
+
size 6725
|