macpaw-research/Screen2AX-Task
Viewer • Updated • 5.93k • 102 • 1
How to use itsnotacreativeuser/SmolVLM-256M-ScreenTask with PEFT:
Task type is invalid.
How to use itsnotacreativeuser/SmolVLM-256M-ScreenTask with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="itsnotacreativeuser/SmolVLM-256M-ScreenTask") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("itsnotacreativeuser/SmolVLM-256M-ScreenTask", dtype="auto")How to use itsnotacreativeuser/SmolVLM-256M-ScreenTask with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "itsnotacreativeuser/SmolVLM-256M-ScreenTask"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "itsnotacreativeuser/SmolVLM-256M-ScreenTask",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/itsnotacreativeuser/SmolVLM-256M-ScreenTask
How to use itsnotacreativeuser/SmolVLM-256M-ScreenTask with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "itsnotacreativeuser/SmolVLM-256M-ScreenTask" \
--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": "itsnotacreativeuser/SmolVLM-256M-ScreenTask",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "itsnotacreativeuser/SmolVLM-256M-ScreenTask" \
--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": "itsnotacreativeuser/SmolVLM-256M-ScreenTask",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use itsnotacreativeuser/SmolVLM-256M-ScreenTask with Docker Model Runner:
docker model run hf.co/itsnotacreativeuser/SmolVLM-256M-ScreenTask
Configuration Parsing Warning:In adapter_config.json: "peft.task_type" must be a string
This model is a fine-tuned version of HuggingFaceTB/SmolVLM-256M-Instruct on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.857 | 0.0599 | 20 | 2.7762 |
| 1.8633 | 0.1199 | 40 | 1.8233 |
| 1.1164 | 0.1798 | 60 | 1.0640 |
| 0.8947 | 0.2397 | 80 | 0.8909 |
| 0.8471 | 0.2996 | 100 | 0.8402 |
Base model
HuggingFaceTB/SmolLM2-135M