Run this model with HF Jobs
Run LuongNam/ppy-doc-parser 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/LuongNam/ppy-doc-parser. 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/LuongNam/ppy-doc-parser 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/LuongNam/ppy-doc-parser. 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/LuongNam/ppy-doc-parser. 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 LuongNam/ppy-doc-parser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LuongNam/ppy-doc-parser with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="LuongNam/ppy-doc-parser")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("LuongNam/ppy-doc-parser") model = AutoModelForMultimodalLM.from_pretrained("LuongNam/ppy-doc-parser", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LuongNam/ppy-doc-parser with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LuongNam/ppy-doc-parser" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LuongNam/ppy-doc-parser", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/LuongNam/ppy-doc-parser
- SGLang
How to use LuongNam/ppy-doc-parser 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 "LuongNam/ppy-doc-parser" \ --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": "LuongNam/ppy-doc-parser", "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 "LuongNam/ppy-doc-parser" \ --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": "LuongNam/ppy-doc-parser", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use LuongNam/ppy-doc-parser with Docker Model Runner:
docker model run hf.co/LuongNam/ppy-doc-parser
Commit History
-
Training done
e63736c -
Training done
c8fbb79 -
Training in progress, epoch 9
6613c70 -
Training in progress, epoch 9
05ae568 -
Training in progress, epoch 8
71365fa -
Training in progress, epoch 8
de251bb -
Training in progress, epoch 7
62aeb1a -
Training in progress, epoch 7
c449362 -
Training in progress, epoch 6
25be0bd -
Training in progress, epoch 6
b3d0c42 -
Training in progress, epoch 5
83cb688 -
Training in progress, epoch 5
634e955 -
Training in progress, epoch 4
8f0a983 -
Training in progress, epoch 4
37dbdfe -
Training in progress, epoch 3
3cb6116 -
Training in progress, epoch 3
8576d11 -
Training in progress, epoch 2
c4d4aab -
Training in progress, epoch 2
bc071fc -
Training in progress, epoch 1
c5c19b7 -
Training in progress, epoch 1
45039a3 -
Training in progress, epoch 0
8e2d66b -
Training in progress, epoch 0
a4e562a -
Training in progress, epoch 0
d682f62 -
Training in progress, epoch 2
1905b0c -
Training in progress, epoch 2
ee34832 -
Training in progress, epoch 1
09555b6 -
Training in progress, epoch 1
0a31da2 -
Training in progress, epoch 0
fd52402 -
Training in progress, epoch 0
7a8bf85 -
Training done
d494582 -
Training done
2328ed7 -
Training in progress, epoch 9
880d81f -
Training in progress, epoch 9
c7293e1 -
Training in progress, epoch 8
1927367 -
Training in progress, epoch 8
8030349 -
Training in progress, epoch 7
33829f1 -
Training in progress, epoch 7
b98cc2e -
Training in progress, epoch 6
aa53f09 -
Training in progress, epoch 6
0a34157 -
Training in progress, epoch 5
3aa08f1 -
Training in progress, epoch 5
f375e6f -
Training in progress, epoch 4
412a797 -
Training in progress, epoch 4
8822891 -
Training in progress, epoch 3
45807d1 -
Training in progress, epoch 3
e0c272f -
Training in progress, epoch 2
fd6644d -
Training in progress, epoch 2
6b82749 -
Training in progress, epoch 1
85afc56 -
Training in progress, epoch 1
ccedca4 -
Training in progress, epoch 0
e4588b7