Instructions to use akkaro/git-base-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use akkaro/git-base-pokemon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="akkaro/git-base-pokemon")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("akkaro/git-base-pokemon") model = AutoModelForImageTextToText.from_pretrained("akkaro/git-base-pokemon") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use akkaro/git-base-pokemon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "akkaro/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": "akkaro/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/akkaro/git-base-pokemon
- SGLang
How to use akkaro/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 "akkaro/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": "akkaro/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 "akkaro/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": "akkaro/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use akkaro/git-base-pokemon with Docker Model Runner:
docker model run hf.co/akkaro/git-base-pokemon
Training in progress, step 45
Browse files- model.safetensors +1 -1
- runs/Oct01_07-10-04_cbf5861e1559/events.out.tfevents.1727766630.cbf5861e1559.815.0 +3 -0
- runs/Oct01_07-12-01_cbf5861e1559/events.out.tfevents.1727766725.cbf5861e1559.815.1 +3 -0
- runs/Oct01_07-15-18_cbf5861e1559/events.out.tfevents.1727766922.cbf5861e1559.815.2 +3 -0
- training_args.bin +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 706516040
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7c0979b236a2590532843c92f7094f7c9323916917de3f20de385dc8468f5f5
|
| 3 |
size 706516040
|
runs/Oct01_07-10-04_cbf5861e1559/events.out.tfevents.1727766630.cbf5861e1559.815.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbf6845e2d1d043f91723f8f36cc1ee6f61c029a924a9a762dcb14231a357497
|
| 3 |
+
size 5333
|
runs/Oct01_07-12-01_cbf5861e1559/events.out.tfevents.1727766725.cbf5861e1559.815.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:170cdc1c9e6a793b73358638696b9bf2f764324928fd404abb36698264288b2a
|
| 3 |
+
size 5333
|
runs/Oct01_07-15-18_cbf5861e1559/events.out.tfevents.1727766922.cbf5861e1559.815.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dc96fc2c9b647ef3e976235e1f38e1505a34a90dcd7acb7c1182e621eb1f301
|
| 3 |
+
size 5474
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5176
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f1900f2bd9404b17fb00f2c98b1365db5e7fc670a836c7e5abb77c05dcf88a7
|
| 3 |
size 5176
|