Instructions to use tmoroder/qwen2-7b-instruct-amazon-description-clone with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tmoroder/qwen2-7b-instruct-amazon-description-clone with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-VL-7B-Instruct") model = PeftModel.from_pretrained(base_model, "tmoroder/qwen2-7b-instruct-amazon-description-clone") - Notebooks
- Google Colab
- Kaggle
qwen2-7b-instruct-amazon-description-clone
This model is a fine-tuned version of Qwen/Qwen2-VL-7B-Instruct on an unknown dataset.
Clone of philschmid/qwen2-2b-instruct-amazon-description. See his blog How to Fine-Tune Multimodal Models or VLMs with Hugging Face TRL for more details.
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: 0.0002
- train_batch_size: 4
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: constant
- lr_scheduler_warmup_ratio: 0.03
- num_epochs: 3
Training results
Framework versions
- PEFT 0.13.0
- Transformers 4.45.1
- Pytorch 2.4.1+cu124
- Datasets 3.0.1
- Tokenizers 0.20.0
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2-VL-7B-Instruct") model = PeftModel.from_pretrained(base_model, "tmoroder/qwen2-7b-instruct-amazon-description-clone")