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")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Adrien35/git-base-pokemon") model = AutoModelForMultimodalLM.from_pretrained("Adrien35/git-base-pokemon") - 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
Training in progress, step 50
Browse files- model.safetensors +1 -1
- runs/Jun14_11-17-05_9b4ed111dfb3/events.out.tfevents.1718364677.9b4ed111dfb3.422.0 +3 -0
- runs/Jun14_11-17-05_9b4ed111dfb3/events.out.tfevents.1718367974.9b4ed111dfb3.422.1 +3 -0
- runs/Jun14_11-17-05_9b4ed111dfb3/events.out.tfevents.1718368009.9b4ed111dfb3.422.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:9b35ab047c4aea7507414652927800115dbaf91e208ada0b8f1df1c37a665e66
|
| 3 |
size 706516040
|
runs/Jun14_11-17-05_9b4ed111dfb3/events.out.tfevents.1718364677.9b4ed111dfb3.422.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bceb98d61ead28fd0de4ecf43ba5e8a4438527e5365a1983e7a55ebe534e3a4c
|
| 3 |
+
size 5029
|
runs/Jun14_11-17-05_9b4ed111dfb3/events.out.tfevents.1718367974.9b4ed111dfb3.422.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cab0767ee91b077abf4db5f5c7cf2bad1222beeb1921ac0dad54e9def36cb6c
|
| 3 |
+
size 4184
|
runs/Jun14_11-17-05_9b4ed111dfb3/events.out.tfevents.1718368009.9b4ed111dfb3.422.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31af0ac704d3cfa53c58dfb6ee2da4d3199ecc414c5b8bf4c7830f94b9edac03
|
| 3 |
+
size 5554
|
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:a0cb816a8adad2317e94c960080027952471ae84ab05868636233adb18265fb4
|
| 3 |
size 5176
|