Instructions to use cyttic/exp22-exp2warm-directfit-frozen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cyttic/exp22-exp2warm-directfit-frozen with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="cyttic/exp22-exp2warm-directfit-frozen")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("cyttic/exp22-exp2warm-directfit-frozen") model = AutoModelForMultimodalLM.from_pretrained("cyttic/exp22-exp2warm-directfit-frozen", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cyttic/exp22-exp2warm-directfit-frozen with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cyttic/exp22-exp2warm-directfit-frozen" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cyttic/exp22-exp2warm-directfit-frozen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/cyttic/exp22-exp2warm-directfit-frozen
- SGLang
How to use cyttic/exp22-exp2warm-directfit-frozen 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 "cyttic/exp22-exp2warm-directfit-frozen" \ --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": "cyttic/exp22-exp2warm-directfit-frozen", "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 "cyttic/exp22-exp2warm-directfit-frozen" \ --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": "cyttic/exp22-exp2warm-directfit-frozen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use cyttic/exp22-exp2warm-directfit-frozen with Docker Model Runner:
docker model run hf.co/cyttic/exp22-exp2warm-directfit-frozen
exp22-exp2warm-directfit-frozen
This model is a fine-tuned version of cyttic/exp2-frozen-benyehuda-cont on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 2.1297
- Cer: 0.3778
- Wer: 0.6417
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 1
Training results
| Training Loss | Epoch | Step | Validation Loss | Cer | Wer |
|---|---|---|---|---|---|
| 4.2535 | 0.0424 | 2500 | 4.0293 | 0.5853 | 0.9267 |
| 3.9333 | 0.0848 | 5000 | 3.7887 | 0.5726 | 0.8929 |
| 3.6213 | 0.1272 | 7500 | 3.5803 | 0.5651 | 0.8790 |
| 3.4868 | 0.1696 | 10000 | 3.3773 | 0.5311 | 0.8327 |
| 3.3527 | 0.2120 | 12500 | 3.1992 | 0.5351 | 0.8564 |
| 3.1115 | 0.2544 | 15000 | 3.0351 | 0.5111 | 0.8155 |
| 3.0133 | 0.2968 | 17500 | 2.9684 | 0.4989 | 0.8017 |
| 2.9912 | 0.3392 | 20000 | 2.8219 | 0.4779 | 0.7641 |
| 2.7412 | 0.3816 | 22500 | 2.7620 | 0.4674 | 0.7536 |
| 2.7557 | 0.4240 | 25000 | 2.6708 | 0.4679 | 0.7715 |
| 2.5890 | 0.4664 | 27500 | 2.5944 | 0.4513 | 0.7387 |
| 2.5486 | 0.5088 | 30000 | 2.5384 | 0.4516 | 0.7473 |
| 2.4118 | 0.5512 | 32500 | 2.5486 | 0.4366 | 0.7155 |
| 2.4716 | 0.5936 | 35000 | 2.4179 | 0.4275 | 0.7106 |
| 2.3330 | 0.6360 | 37500 | 2.3872 | 0.4195 | 0.6971 |
| 2.3490 | 0.6784 | 40000 | 2.3459 | 0.4183 | 0.6916 |
| 2.2743 | 0.7208 | 42500 | 2.3037 | 0.4060 | 0.6711 |
| 2.2935 | 0.7632 | 45000 | 2.2736 | 0.3963 | 0.6663 |
| 2.1905 | 0.8056 | 47500 | 2.2180 | 0.3912 | 0.6601 |
| 2.1904 | 0.8480 | 50000 | 2.2066 | 0.3943 | 0.6596 |
| 2.1409 | 0.8904 | 52500 | 2.1880 | 0.3843 | 0.6442 |
| 2.0804 | 0.9328 | 55000 | 2.1549 | 0.3825 | 0.6480 |
| 2.1063 | 0.9752 | 57500 | 2.1368 | 0.3830 | 0.6486 |
| 2.0607 | 1.0 | 58962 | 2.1297 | 0.3778 | 0.6417 |
Framework versions
- Transformers 5.12.1
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 11