forbiddensoul90
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -60,8 +60,19 @@ model, tokenizer = FastLanguageModel.from_pretrained(
|
|
60 |
dtype = dtype,
|
61 |
load_in_4bit = load_in_4bit,
|
62 |
)
|
63 |
-
|
64 |
FastLanguageModel.for_inference(model) # Enable native 2x faster inference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
inputs = tokenizer(
|
66 |
[
|
67 |
alpaca_prompt.format(
|
|
|
60 |
dtype = dtype,
|
61 |
load_in_4bit = load_in_4bit,
|
62 |
)
|
|
|
63 |
FastLanguageModel.for_inference(model) # Enable native 2x faster inference
|
64 |
+
|
65 |
+
alpaca_prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
|
66 |
+
|
67 |
+
### Instruction:
|
68 |
+
{}
|
69 |
+
|
70 |
+
### Input:
|
71 |
+
{}
|
72 |
+
|
73 |
+
### Response:
|
74 |
+
{}"""
|
75 |
+
|
76 |
inputs = tokenizer(
|
77 |
[
|
78 |
alpaca_prompt.format(
|