Instructions to use MohamedExperio/CORDV2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MohamedExperio/CORDV2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="MohamedExperio/CORDV2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("MohamedExperio/CORDV2") model = AutoModelForMultimodalLM.from_pretrained("MohamedExperio/CORDV2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MohamedExperio/CORDV2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MohamedExperio/CORDV2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MohamedExperio/CORDV2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MohamedExperio/CORDV2
- SGLang
How to use MohamedExperio/CORDV2 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/CORDV2" \ --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/CORDV2", "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/CORDV2" \ --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/CORDV2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MohamedExperio/CORDV2 with Docker Model Runner:
docker model run hf.co/MohamedExperio/CORDV2
Commit History
-
Training done
6f890b9 -
Training done
75051ce -
Training in progress, epoch 8
a651e86
-
Training in progress, epoch 7
ad55e50 -
Training in progress, epoch 6
1785e57 -
Training in progress, epoch 5
1ad55c6 -
Training in progress, epoch 4
e54e9fd -
Training in progress, epoch 3
efccd1d -
Training in progress, epoch 2
d35ff85 -
Training in progress, epoch 1
dc5544a -
Training in progress, epoch 0
c6f84b6 -
Training done
6fa7d91 -
Training done
9a2bae9 -
Training in progress, epoch 1
6a758c5 -
Training in progress, epoch 0
5f57eb5
-
Training done
5c29ec9 -
Training done
7e83271 -
Training in progress, epoch 1
0393039 -
Training in progress, epoch 0
05c33a9 -
Training done
bafb8b9 -
Training done
c20e93b -
Training in progress, epoch 3
6b5a421 -
Training in progress, epoch 2
32aa4f1 -
Training in progress, epoch 1
2aa97f1 -
Training in progress, epoch 0
075a113 -
initial commit
f921797