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.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 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.4222- Bleu Score: 0.0## Model description27 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Bleu Score ||:-------------:|:------:|:----:|:---------------:|:----------:|| 7.9148 | 1.7544 | 50 | 6.4222 | 0.0 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:08b6290561468fe0abd104f0445aefc3bff610a9572bbd17d804975d7c163a5fsize 706516040123version https://git-lfs.github.com/spec/v1oid sha256:ace6d70f5385ede19319c16f014fbfd499b8e25f8ac9d7a4d01a94802ab65000size 706516040
123version https://git-lfs.github.com/spec/v1oid sha256:d7b83e97771f408f56033739da78500a37810b6c07219e4757baa9cb7cdfb4a6size 5582123version https://git-lfs.github.com/spec/v1oid sha256:921735a05d8d0f8746c28ba217a25317664f76993bf54427b7b4bfd7586c6e37size 5930
123version https://git-lfs.github.com/spec/v1oid sha256:d4717f1b88f88bf256461341e6b47752ae71a5ebc32fc16767ee826e578d79dfsize 5112123version https://git-lfs.github.com/spec/v1oid sha256:43b801c80fad02fce831b3fa03be1fd560ed5e732ca802993d27540187595d4asize 5112
README.md+3-3
model.safetensors+1-1
runs/Aug02_05-05-34_f1854a455c6e/events.out.tfevents.1722575149.f1854a455c6e.13969.0+2-2
training_args.bin+1-1