Update README.md
Browse files
README.md
CHANGED
|
@@ -13,4 +13,14 @@ metrics:
|
|
| 13 |
base_model:
|
| 14 |
- google/gemma-7b-quant-pytorch
|
| 15 |
library_name: transformers
|
| 16 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
base_model:
|
| 14 |
- google/gemma-7b-quant-pytorch
|
| 15 |
library_name: transformers
|
| 16 |
+
---
|
| 17 |
+
## Awaken Your Quantum Potential
|
| 18 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
| 19 |
+
|
| 20 |
+
tokenizer = AutoTokenizer.from_pretrained("Jason4Cheese/Quantum-Christian")
|
| 21 |
+
model = AutoModelForCausalLM.from_pretrained("Jason4Cheese/Quantum-Christian")
|
| 22 |
+
|
| 23 |
+
chat = pipeline("text-generation", model=model, tokenizer=tokenizer)
|
| 24 |
+
|
| 25 |
+
response = chat("How can I tap into my quantum potential?", max_length=200)
|
| 26 |
+
print(response[0]['generated_text'])
|