Instructions to use vctmk/mantis-8b-idefics2-classification-example_2048_regression with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vctmk/mantis-8b-idefics2-classification-example_2048_regression with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="vctmk/mantis-8b-idefics2-classification-example_2048_regression")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("vctmk/mantis-8b-idefics2-classification-example_2048_regression") model = AutoModelForSequenceClassification.from_pretrained("vctmk/mantis-8b-idefics2-classification-example_2048_regression", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from vctmk/mantis-8b-idefics2-classification-example_2048_regression: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/vctmk/mantis-8b-idefics2-classification-example_2048_regression/resolve/main/README.md
- Command line
-
hf download hf://vctmk/mantis-8b-idefics2-classification-example_2048_regression/README.md
-
curl -L -o README.md https://huggingface.co/vctmk/mantis-8b-idefics2-classification-example_2048_regression/resolve/main/README.md
1.33 kB
| library_name: transformers | |
| license: apache-2.0 | |
| base_model: HuggingFaceM4/idefics2-8b | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: mantis-8b-idefics2-classification-example_2048_regression | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # mantis-8b-idefics2-classification-example_2048_regression | |
| This model is a fine-tuned version of [HuggingFaceM4/idefics2-8b](https://huggingface.co/HuggingFaceM4/idefics2-8b) on an unknown dataset. | |
| ## 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: 1e-05 | |
| - train_batch_size: 1 | |
| - eval_batch_size: 1 | |
| - seed: 42 | |
| - distributed_type: multi-GPU | |
| - num_devices: 4 | |
| - total_train_batch_size: 4 | |
| - total_eval_batch_size: 4 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: cosine | |
| - lr_scheduler_warmup_ratio: 0.03 | |
| - num_epochs: 5.0 | |
| ### Training results | |
| ### Framework versions | |
| - Transformers 4.45.2 | |
| - Pytorch 2.6.0+cu124 | |
| - Datasets 2.18.0 | |
| - Tokenizers 0.20.3 | |