Instructions to use andstor/Qwen-Qwen2.5-Coder-7B-unit-test-prompt-tuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use andstor/Qwen-Qwen2.5-Coder-7B-unit-test-prompt-tuning with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-7B") model = PeftModel.from_pretrained(base_model, "andstor/Qwen-Qwen2.5-Coder-7B-unit-test-prompt-tuning") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from andstor/Qwen-Qwen2.5-Coder-7B-unit-test-prompt-tuning: direct link, hf CLI and curl.
- Browser
- Download file 1.95 kB
-
https://huggingface.co/andstor/Qwen-Qwen2.5-Coder-7B-unit-test-prompt-tuning/resolve/main/README.md
- Command line
-
hf download hf://andstor/Qwen-Qwen2.5-Coder-7B-unit-test-prompt-tuning/README.md
-
curl -L -o README.md https://huggingface.co/andstor/Qwen-Qwen2.5-Coder-7B-unit-test-prompt-tuning/resolve/main/README.md
1.95 kB
metadata
license: apache-2.0
base_model: Qwen/Qwen2.5-Coder-7B
tags:
- generated_from_trainer
datasets:
- andstor/methods2test_small
metrics:
- accuracy
library_name: peft
model-index:
- name: output
results:
- task:
type: text-generation
name: Causal Language Modeling
dataset:
name: andstor/methods2test_small fm+fc+c+m+f+t+tc
type: andstor/methods2test_small
args: fm+fc+c+m+f+t+tc
metrics:
- type: accuracy
value: 0.733010457290466
name: Accuracy
output
This model is a fine-tuned version of Qwen/Qwen2.5-Coder-7B on the andstor/methods2test_small fm+fc+c+m+f+t+tc dataset. It achieves the following results on the evaluation set:
- Loss: 0.7599
- Accuracy: 0.7330
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.003
- train_batch_size: 1
- eval_batch_size: 1
- seed: 42
- distributed_type: multi-GPU
- num_devices: 2
- gradient_accumulation_steps: 8
- total_train_batch_size: 16
- total_eval_batch_size: 2
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 3.0
Training results
Framework versions
- PEFT 0.10.0
- Transformers 4.41.0
- Pytorch 2.8.0+cu128
- Datasets 4.1.1
- Tokenizers 0.19.1