Run this model with HF Jobs
Run YingxuHe/git-base-test3 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/YingxuHe/git-base-test3. 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/YingxuHe/git-base-test3 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/YingxuHe/git-base-test3. 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/YingxuHe/git-base-test3. 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 YingxuHe/git-base-test3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YingxuHe/git-base-test3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="YingxuHe/git-base-test3")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("YingxuHe/git-base-test3") model = AutoModelForMultimodalLM.from_pretrained("YingxuHe/git-base-test3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use YingxuHe/git-base-test3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "YingxuHe/git-base-test3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "YingxuHe/git-base-test3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/YingxuHe/git-base-test3
- SGLang
How to use YingxuHe/git-base-test3 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 "YingxuHe/git-base-test3" \ --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": "YingxuHe/git-base-test3", "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 "YingxuHe/git-base-test3" \ --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": "YingxuHe/git-base-test3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use YingxuHe/git-base-test3 with Docker Model Runner:
docker model run hf.co/YingxuHe/git-base-test3
Training in progress, step 100
Browse filesFiles changed (8)
- pytorch_model.bin+2-2
- runs/Oct22_12-11-50_fd952a682328/1697976887.6354241/events.out.tfevents.1697976887.fd952a682328.1886.1Added+3
- runs/Oct22_12-11-50_fd952a682328/events.out.tfevents.1697976887.fd952a682328.1886.0Added+3
- runs/Oct22_12-20-07_fd952a682328/1697977216.0069437/events.out.tfevents.1697977216.fd952a682328.6933.1Added+3
- runs/Oct22_12-20-07_fd952a682328/events.out.tfevents.1697977215.fd952a682328.6933.0Added+3
- runs/Oct22_12-21-53_fd952a682328/1697977318.2946665/events.out.tfevents.1697977318.fd952a682328.7813.1Added+3
- runs/Oct22_12-21-53_fd952a682328/events.out.tfevents.1697977318.fd952a682328.7813.0Added+3
- training_args.bin+2-2
123version https://git-lfs.github.com/spec/v1oid sha256:615ae4ef5c0df875a3a160150a3629f92b90cd3610f5da471f1cc47c59471defsize 706594713123version https://git-lfs.github.com/spec/v1oid sha256:e007e2e709671598f0bdde2837de6c1fca326674c3cee5f3290d2aa744f23e9asize 706595158
123version https://git-lfs.github.com/spec/v1oid sha256:b7d53a8cb574fddcf1ac4bf1069bcf0e6483468775df2320049d9db11d2464e3size 5880123version https://git-lfs.github.com/spec/v1oid sha256:948eb187030762282e1c5ec241f7b0825a1325d7a82c0642b7719efa18b86eafsize 6408123version https://git-lfs.github.com/spec/v1oid sha256:d6a7acc5a36660d64e7bda5a2f55045d375c0a56658180cbdc736c62b4d04954size 5880123version https://git-lfs.github.com/spec/v1oid sha256:ccb998f57e0a472a577e8cd0434f32b4d722942b064984aea38c64a412a33006size 6405123version https://git-lfs.github.com/spec/v1oid sha256:75a575b943ac951ee13c954400326d86e7e8237bb4c06897d3aa4c7c08ccda4bsize 5880123version https://git-lfs.github.com/spec/v1oid sha256:b3bc4ed7e9931c3efb878193e8a59b5992126073b653d43bfd8c57d71424436esize 6830123version https://git-lfs.github.com/spec/v1oid sha256:acffb6d43566e7ac182f5282604eba2a79d2ef080f0977a0e493eb93587ebcf4size 3579123version https://git-lfs.github.com/spec/v1oid sha256:b4f7874112f4bf4d019f8c5a5cb3cfa6a4e3f8046c2822fd952809eb1fdd8721size 4024
pytorch_model.bin+2-2
runs/Oct22_12-11-50_fd952a682328/1697976887.6354241/events.out.tfevents.1697976887.fd952a682328.1886.1Added+3
runs/Oct22_12-11-50_fd952a682328/events.out.tfevents.1697976887.fd952a682328.1886.0Added+3
runs/Oct22_12-20-07_fd952a682328/1697977216.0069437/events.out.tfevents.1697977216.fd952a682328.6933.1Added+3
runs/Oct22_12-20-07_fd952a682328/events.out.tfevents.1697977215.fd952a682328.6933.0Added+3
runs/Oct22_12-21-53_fd952a682328/1697977318.2946665/events.out.tfevents.1697977318.fd952a682328.7813.1Added+3
runs/Oct22_12-21-53_fd952a682328/events.out.tfevents.1697977318.fd952a682328.7813.0Added+3
training_args.bin+2-2