Spaces:
Runtime error
Runtime error
zetavg
commited on
Commit
•
6177a27
1
Parent(s):
9bf05f8
fix
Browse files- README.md +1 -0
- llama_lora/utils/data.py +0 -1
README.md
CHANGED
@@ -15,6 +15,7 @@ Making evaluating and fine-tuning LLaMA models with low-rank adaptation (LoRA) e
|
|
15 |
* Fine-tune LLaMA models with different prompt templates and training dataset format.<br /><a href="https://youtu.be/5Db9U8PsaUk"><img width="640px" src="https://user-images.githubusercontent.com/3784687/230277315-9a91d983-1690-4594-9d54-912eda8963ee.gif" /></a>
|
16 |
* Load JSON and JSONL datasets from your folder, or even paste plain text directly into the UI.
|
17 |
* Supports Stanford Alpaca [seed_tasks](https://github.com/tatsu-lab/stanford_alpaca/blob/main/seed_tasks.jsonl), [alpaca_data](https://github.com/tatsu-lab/stanford_alpaca/blob/main/alpaca_data.json) and [OpenAI "prompt"-"completion"](https://platform.openai.com/docs/guides/fine-tuning/data-formatting) format.
|
|
|
18 |
|
19 |
|
20 |
## How to Start
|
|
|
15 |
* Fine-tune LLaMA models with different prompt templates and training dataset format.<br /><a href="https://youtu.be/5Db9U8PsaUk"><img width="640px" src="https://user-images.githubusercontent.com/3784687/230277315-9a91d983-1690-4594-9d54-912eda8963ee.gif" /></a>
|
16 |
* Load JSON and JSONL datasets from your folder, or even paste plain text directly into the UI.
|
17 |
* Supports Stanford Alpaca [seed_tasks](https://github.com/tatsu-lab/stanford_alpaca/blob/main/seed_tasks.jsonl), [alpaca_data](https://github.com/tatsu-lab/stanford_alpaca/blob/main/alpaca_data.json) and [OpenAI "prompt"-"completion"](https://platform.openai.com/docs/guides/fine-tuning/data-formatting) format.
|
18 |
+
* Use prompt templates to keep your dataset DRY.
|
19 |
|
20 |
|
21 |
## How to Start
|
llama_lora/utils/data.py
CHANGED
@@ -11,7 +11,6 @@ def init_data_dir():
|
|
11 |
parent_directory_path = os.path.dirname(current_file_path)
|
12 |
project_dir_path = os.path.abspath(
|
13 |
os.path.join(parent_directory_path, "..", ".."))
|
14 |
-
os.makedirs(os.path.join(Global.data_dir, "lora_models"), exist_ok=True)
|
15 |
copy_sample_data_if_not_exists(os.path.join(project_dir_path, "templates"),
|
16 |
os.path.join(Global.data_dir, "templates"))
|
17 |
copy_sample_data_if_not_exists(os.path.join(project_dir_path, "datasets"),
|
|
|
11 |
parent_directory_path = os.path.dirname(current_file_path)
|
12 |
project_dir_path = os.path.abspath(
|
13 |
os.path.join(parent_directory_path, "..", ".."))
|
|
|
14 |
copy_sample_data_if_not_exists(os.path.join(project_dir_path, "templates"),
|
15 |
os.path.join(Global.data_dir, "templates"))
|
16 |
copy_sample_data_if_not_exists(os.path.join(project_dir_path, "datasets"),
|