Run this model with HF Jobs
Run minwook/git-base-cartoon on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/minwook/git-base-cartoon. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/minwook/git-base-cartoon on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/minwook/git-base-cartoon. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/minwook/git-base-cartoon. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use minwook/git-base-cartoon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minwook/git-base-cartoon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="minwook/git-base-cartoon")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("minwook/git-base-cartoon") model = AutoModelForMultimodalLM.from_pretrained("minwook/git-base-cartoon", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use minwook/git-base-cartoon with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "minwook/git-base-cartoon" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "minwook/git-base-cartoon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/minwook/git-base-cartoon
- SGLang
How to use minwook/git-base-cartoon 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 "minwook/git-base-cartoon" \ --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": "minwook/git-base-cartoon", "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 "minwook/git-base-cartoon" \ --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": "minwook/git-base-cartoon", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use minwook/git-base-cartoon with Docker Model Runner:
docker model run hf.co/minwook/git-base-cartoon
Model save
Browse filesFiles changed (4)
14 unmodified lines151617181920212227 unmodified lines5051525354555614 unmodified linesThis model is a fine-tuned version of [microsoft/git-base](https://huggingface.co/microsoft/git-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 6.4422- Bleu Score: 0.0## Model description27 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Bleu Score ||:-------------:|:------:|:----:|:---------------:|:----------:|| 7.925 | 1.7544 | 50 | 6.4422 | 0.0 |### Framework versions14 unmodified lines151617181920212227 unmodified lines5051525354555614 unmodified linesThis model is a fine-tuned version of [microsoft/git-base](https://huggingface.co/microsoft/git-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 6.4119- Bleu Score: 0.0018## Model description27 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Bleu Score ||:-------------:|:------:|:----:|:---------------:|:----------:|| 7.9411 | 1.7544 | 50 | 6.4119 | 0.0018 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:ba737e068683a8028c0c428421b4711a7e84b0a86a8be5716a7397e0f3926bd6size 706516040123version https://git-lfs.github.com/spec/v1oid sha256:08b6290561468fe0abd104f0445aefc3bff610a9572bbd17d804975d7c163a5fsize 706516040
123version https://git-lfs.github.com/spec/v1oid sha256:40a2b9834b3d35f1e4a4d653734db0cb40971fe0861bff15adb93e38b1528301size 5582123version https://git-lfs.github.com/spec/v1oid sha256:07d3a5c68d5cc7f27dcb9a4550287272c7f096244ca6fee5332cd0af17e40d7esize 5930
123version https://git-lfs.github.com/spec/v1oid sha256:ad04a4fcfbec15dd0ab0e1b44991913d62474ec34b3dfd075b0ca43a06d6ed78size 5112123version https://git-lfs.github.com/spec/v1oid sha256:6a028eb71fcb7f4bc9aac3485c59d01e9ffb5649a1529d92647372e591f1189csize 5112
README.md+3-3
model.safetensors+1-1
runs/Aug02_04-44-06_f635b65be40c/events.out.tfevents.1722573847.f635b65be40c.194.1+2-2
training_args.bin+1-1