andstor/methods2test_small
Viewer • Updated • 132k • 1.68k
How to use andstor/Salesforce-codegen2-7B_P-unit-test-lora with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("Salesforce/codegen2-7B_P")
model = PeftModel.from_pretrained(base_model, "andstor/Salesforce-codegen2-7B_P-unit-test-lora")This model is a fine-tuned version of Salesforce/codegen2-7B_P on the andstor/methods2test_small fm+fc+c+m+f+t+tc dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
Salesforce/codegen2-7B_P