Update README.md
Browse files
README.md
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
---
|
2 |
language:
|
3 |
-
-
|
4 |
license: mit
|
5 |
datasets:
|
6 |
-
-
|
|
|
7 |
---
|
8 |
|
9 |
-
This repo contains a low-rank adapter for LLaMA-7b fit on the
|
10 |
|
11 |
### How to use (8-bit)
|
12 |
|
@@ -24,11 +25,11 @@ model = LLaMAForCausalLM.from_pretrained(
|
|
24 |
)
|
25 |
|
26 |
|
27 |
-
model = PeftModel.from_pretrained(model, "Aspik101/
|
28 |
|
29 |
|
30 |
def get_answer(question, model_version = model):
|
31 |
-
PROMPT =f'''
|
32 |
|
33 |
### Instruction:
|
34 |
{question}
|
|
|
1 |
---
|
2 |
language:
|
3 |
+
- en
|
4 |
license: mit
|
5 |
datasets:
|
6 |
+
- OllieStanley/humaneval-mbpp-codegen-qa
|
7 |
+
- OllieStanley/humaneval-mbpp-testgen-qa
|
8 |
---
|
9 |
|
10 |
+
This repo contains a low-rank adapter for LLaMA-7b fit on the data containing a request to write a python function.
|
11 |
|
12 |
### How to use (8-bit)
|
13 |
|
|
|
25 |
)
|
26 |
|
27 |
|
28 |
+
model = PeftModel.from_pretrained(model, "Aspik101/Alpaca7b_python_assistant")
|
29 |
|
30 |
|
31 |
def get_answer(question, model_version = model):
|
32 |
+
PROMPT =f'''Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
|
33 |
|
34 |
### Instruction:
|
35 |
{question}
|