Skip to content

HubertC1/XLoRA-implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finetune

  • use alpaca prompt tuning
  • modify huggingface dataset in finetune.py
python finetune.py

Evaluation: HumanEval

Installation

git clone https://github.com/openai/human-eval
cd human-eval/
pip install -e human-eval

Generation

Generate samples and save them in the following JSON Lines (jsonl) format, where each sample is formatted into a single line like so:

{"task_id": "Corresponding HumanEval task ID", "completion": "Completion only without the prompt"}

Run this code to generate the JSON files:

python eval_humaneval.py

Evaluation

evaluate_functional_correctness samples.jsonl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages