Run this model with HF Jobs
Run MohamedExperio/Classification76 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/MohamedExperio/Classification76. 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/MohamedExperio/Classification76 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/MohamedExperio/Classification76. 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/MohamedExperio/Classification76. 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 MohamedExperio/Classification76 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MohamedExperio/Classification76 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="MohamedExperio/Classification76")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("MohamedExperio/Classification76") model = AutoModelForMultimodalLM.from_pretrained("MohamedExperio/Classification76", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MohamedExperio/Classification76 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MohamedExperio/Classification76" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MohamedExperio/Classification76", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MohamedExperio/Classification76
- SGLang
How to use MohamedExperio/Classification76 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 "MohamedExperio/Classification76" \ --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": "MohamedExperio/Classification76", "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 "MohamedExperio/Classification76" \ --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": "MohamedExperio/Classification76", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MohamedExperio/Classification76 with Docker Model Runner:
docker model run hf.co/MohamedExperio/Classification76
Commit ·
021974b
1
Parent(s): 229b547
Training done
Browse filesFiles changed (6)
- added_tokens.jsonAdded+24
- preprocessor_config.jsonAdded+26
- sentencepiece.bpe.modelAdded+3
- special_tokens_map.jsonAdded+19
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+21
123456789101112131415161718192021222324{ "</s_class>": 57542, "<advertisement/>": 57525, "<budget/>": 57526, "<email/>": 57527, "<file_folder/>": 57528, "<form/>": 57529, "<handwritten/>": 57530, "<invoice/>": 57531, "<letter/>": 57532, "<memo/>": 57533, "<news_article/>": 57534, "<presentation/>": 57535, "<questionnaire/>": 57536, "<resume/>": 57537, "<s_class>": 57541, "<s_iitcdip>": 57523, "<s_rvlcdip>": 57543, "<s_synthdog>": 57524, "<scientific_publication/>": 57538, "<scientific_report/>": 57539, "<sep/>": 57522, "<specification/>": 57540}1234567891011121314151617181920212223242526{ "do_align_long_axis": false, "do_normalize": true, "do_pad": true, "do_rescale": true, "do_resize": true, "do_thumbnail": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "DonutImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "processor_class": "DonutProcessor", "resample": 2, "rescale_factor": 0.00392156862745098, "size": [ 960, 1280 ]}123version https://git-lfs.github.com/spec/v1oid sha256:cb9e3dce4c326195d08fc3dd0f7e2eee1da8595c847bf4c1a9c78b7a82d47e2dsize 129624512345678910111213141516171819{ "additional_special_tokens": [ "<s_iitcdip>", "<s_synthdog>" ], "bos_token": "<s>", "cls_token": "<s>", "eos_token": "</s>", "mask_token": { "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "pad_token": "<pad>", "sep_token": "</s>", "unk_token": "<unk>"}123456789101112131415161718192021{ "bos_token": "<s>", "clean_up_tokenization_spaces": true, "cls_token": "<s>", "eos_token": "</s>", "mask_token": { "__type": "AddedToken", "content": "<mask>", "lstrip": true, "normalized": true, "rstrip": false, "single_word": false }, "model_max_length": 1000000000000000019884624838656, "pad_token": "<pad>", "processor_class": "DonutProcessor", "sep_token": "</s>", "sp_model_kwargs": {}, "tokenizer_class": "XLMRobertaTokenizer", "unk_token": "<unk>"}added_tokens.jsonAdded+24
preprocessor_config.jsonAdded+26
sentencepiece.bpe.modelAdded+3
special_tokens_map.jsonAdded+19
tokenizer.jsonAdded
tokenizer_config.jsonAdded+21