Instructions to use MohamedExperio/Classification75 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MohamedExperio/Classification75 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="MohamedExperio/Classification75")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("MohamedExperio/Classification75") model = AutoModelForMultimodalLM.from_pretrained("MohamedExperio/Classification75", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MohamedExperio/Classification75 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MohamedExperio/Classification75" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MohamedExperio/Classification75", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MohamedExperio/Classification75
- SGLang
How to use MohamedExperio/Classification75 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/Classification75" \ --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/Classification75", "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/Classification75" \ --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/Classification75", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MohamedExperio/Classification75 with Docker Model Runner:
docker model run hf.co/MohamedExperio/Classification75
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.d7030fc
-
Training done
876913e -
Training done
a1f144b -
Training in progress, epoch 4
dd157be -
Training in progress, epoch 3
e8937a1 -
Training in progress, epoch 2
d0ef20e -
Training in progress, epoch 1
f80b4f4 -
Training in progress, epoch 0
a2c59aa
-
Training done
2cbd719 -
Training done
c93b59a -
Training in progress, epoch 6
ab394cf -
Training in progress, epoch 5
f68f1a8 -
Training in progress, epoch 4
afe998d -
Training in progress, epoch 3
88bafee -
Training in progress, epoch 2
b6bcfb0 -
Training in progress, epoch 1
95f3c74 -
Training in progress, epoch 0
3867343 -
Training done
4b2f5bd -
Training done
01cf344 -
Training in progress, epoch 5
45e611f -
Training in progress, epoch 4
a2ed000 -
Training in progress, epoch 3
cf354f9 -
Training in progress, epoch 2
1ff0200 -
Training in progress, epoch 1
cfbaa7c -
Training in progress, epoch 0
edba007 -
Training done
79e6dd2 -
Training done
c8f182b -
Training in progress, epoch 2
41f9383 -
Training in progress, epoch 1
3cd7dc5 -
Training in progress, epoch 0
8adb32b -
Training done
af80012 -
Training done
4b4bec0 -
Training in progress, epoch 4
5e615bb -
Training in progress, epoch 3
b1c52fa -
Training in progress, epoch 2
eb01ac8 -
Training in progress, epoch 1
03cd122 -
Training in progress, epoch 0
3d8d63f -
Training done
d8351b4 -
Training done
3b279f8 -
Training in progress, epoch 0
3e10736 -
initial commit
5559254