Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |

|
2 |
|
3 |
# tinyChat: Instruction-Based LLM, <1% the size of GPT-3
|
@@ -44,4 +49,4 @@ peft_model = PeftModel.from_pretrained(base_model, peft_model_id)
|
|
44 |
|
45 |
inputs = tokenizer("""[INSERT INSTRUCTION HERE]""", return_tensors="pt")
|
46 |
outputs = peft_model.generate(**inputs, max_length=300, do_sample=True)
|
47 |
-
print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- databricks/databricks-dolly-15k
|
5 |
+
---
|
6 |

|
7 |
|
8 |
# tinyChat: Instruction-Based LLM, <1% the size of GPT-3
|
|
|
49 |
|
50 |
inputs = tokenizer("""[INSERT INSTRUCTION HERE]""", return_tensors="pt")
|
51 |
outputs = peft_model.generate(**inputs, max_length=300, do_sample=True)
|
52 |
+
print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
|