Instructions to use GaryYang123/Meme-Qwen-7B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use GaryYang123/Meme-Qwen-7B-Instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct") model = PeftModel.from_pretrained(base_model, "GaryYang123/Meme-Qwen-7B-Instruct") - Notebooks
- Google Colab
- Kaggle
Download training_info.json from GaryYang123/Meme-Qwen-7B-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/GaryYang123/Meme-Qwen-7B-Instruct/resolve/main/training_info.json
- Command line
-
hf download hf://GaryYang123/Meme-Qwen-7B-Instruct/training_info.json
-
curl -L -o training_info.json https://huggingface.co/GaryYang123/Meme-Qwen-7B-Instruct/resolve/main/training_info.json
493 Bytes
| { | |
| "base_model": "Qwen/Qwen2.5-7B-Instruct", | |
| "training_method": "LoRA", | |
| "lora_config": { | |
| "r": 16, | |
| "lora_alpha": 32, | |
| "lora_dropout": 0.05, | |
| "target_modules": [ | |
| "q_proj", | |
| "k_proj", | |
| "v_proj", | |
| "o_proj", | |
| "gate_proj", | |
| "up_proj", | |
| "down_proj" | |
| ] | |
| }, | |
| "training_params": { | |
| "learning_rate": 0.0001, | |
| "num_epochs": 3, | |
| "batch_size": 8, | |
| "gradient_accumulation_steps": 2, | |
| "max_length": 512, | |
| "warmup_ratio": 0.05 | |
| } | |
| } |