Instructions to use EPINOIALabs/ob-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EPINOIALabs/ob-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("EPINOIALabs/ob-lora", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use EPINOIALabs/ob-lora with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for EPINOIALabs/ob-lora to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for EPINOIALabs/ob-lora to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for EPINOIALabs/ob-lora to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="EPINOIALabs/ob-lora", max_seq_length=2048, )
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
preprocessor_config.json
CHANGED
|
@@ -7,6 +7,7 @@
|
|
| 7 |
"do_center_crop": null,
|
| 8 |
"do_convert_rgb": true,
|
| 9 |
"do_normalize": true,
|
|
|
|
| 10 |
"do_rescale": true,
|
| 11 |
"do_resize": true,
|
| 12 |
"image_mean": [
|
|
@@ -24,6 +25,7 @@
|
|
| 24 |
"max_pixels": 12845056,
|
| 25 |
"merge_size": 2,
|
| 26 |
"min_pixels": 3136,
|
|
|
|
| 27 |
"patch_size": 14,
|
| 28 |
"processor_class": "Qwen2_5_VLProcessor",
|
| 29 |
"resample": 3,
|
|
|
|
| 7 |
"do_center_crop": null,
|
| 8 |
"do_convert_rgb": true,
|
| 9 |
"do_normalize": true,
|
| 10 |
+
"do_pad": null,
|
| 11 |
"do_rescale": true,
|
| 12 |
"do_resize": true,
|
| 13 |
"image_mean": [
|
|
|
|
| 25 |
"max_pixels": 12845056,
|
| 26 |
"merge_size": 2,
|
| 27 |
"min_pixels": 3136,
|
| 28 |
+
"pad_size": null,
|
| 29 |
"patch_size": 14,
|
| 30 |
"processor_class": "Qwen2_5_VLProcessor",
|
| 31 |
"resample": 3,
|
video_preprocessor_config.json
CHANGED
|
@@ -28,6 +28,7 @@
|
|
| 28 |
"min_frames": 4,
|
| 29 |
"min_pixels": 3136,
|
| 30 |
"num_frames": null,
|
|
|
|
| 31 |
"patch_size": 14,
|
| 32 |
"processor_class": "Qwen2_5_VLProcessor",
|
| 33 |
"resample": 3,
|
|
|
|
| 28 |
"min_frames": 4,
|
| 29 |
"min_pixels": 3136,
|
| 30 |
"num_frames": null,
|
| 31 |
+
"pad_size": null,
|
| 32 |
"patch_size": 14,
|
| 33 |
"processor_class": "Qwen2_5_VLProcessor",
|
| 34 |
"resample": 3,
|