Instructions to use mihai145/git-base-pokemon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mihai145/git-base-pokemon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="mihai145/git-base-pokemon")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("mihai145/git-base-pokemon") model = AutoModelForImageTextToText.from_pretrained("mihai145/git-base-pokemon") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use mihai145/git-base-pokemon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mihai145/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": "mihai145/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/mihai145/git-base-pokemon
- SGLang
How to use mihai145/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 "mihai145/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": "mihai145/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 "mihai145/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": "mihai145/git-base-pokemon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use mihai145/git-base-pokemon with Docker Model Runner:
docker model run hf.co/mihai145/git-base-pokemon
Training in progress, step 20
Browse files- model.safetensors +1 -1
- runs/Apr16_19-17-23_0c52c8edda71/events.out.tfevents.1713295047.0c52c8edda71.2618.0 +2 -2
- runs/Apr16_19-19-59_0c52c8edda71/events.out.tfevents.1713295202.0c52c8edda71.2618.1 +3 -0
- runs/Apr16_19-21-04_0c52c8edda71/events.out.tfevents.1713295269.0c52c8edda71.2618.2 +3 -0
- runs/Apr16_19-25-49_0c52c8edda71/events.out.tfevents.1713295564.0c52c8edda71.2618.3 +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:da22fa34c33add27ef5abb8f72b7238ab2ad16cbe46536dad49d85e253bccedc
|
| 3 |
size 706516040
|
runs/Apr16_19-17-23_0c52c8edda71/events.out.tfevents.1713295047.0c52c8edda71.2618.0
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:692736c7c5bbd36fc8f00527a1e853f657c22c426a53e66f73051a81c4675663
|
| 3 |
+
size 5517
|
runs/Apr16_19-19-59_0c52c8edda71/events.out.tfevents.1713295202.0c52c8edda71.2618.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06fa7b28dc76fd83798a55dd8eda82f324c81dbb0a1360916952fa3c74a91e7d
|
| 3 |
+
size 4993
|
runs/Apr16_19-21-04_0c52c8edda71/events.out.tfevents.1713295269.0c52c8edda71.2618.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:661d4e0413c2b8cf99d4ace4ac574843662a4ef3fb843b2fd6bbf1375c91cad3
|
| 3 |
+
size 4994
|
runs/Apr16_19-25-49_0c52c8edda71/events.out.tfevents.1713295564.0c52c8edda71.2618.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d339d160c886073039eeaa0b90055ccc88f79051b459be6513e29c9d344c121
|
| 3 |
+
size 4990
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4920
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3760f55b1ef7a7702ece29f8f479efd86e0ff9e04bda7a36dfa4f4c1e782529f
|
| 3 |
size 4920
|