Question Answering
Transformers
English
conversational, spiritual, quantum , self-help, poetry
Eval Results (legacy)
Instructions to use Jason4Cheese/Quantum-Christian with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jason4Cheese/Quantum-Christian with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Jason4Cheese/Quantum-Christian")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Jason4Cheese/Quantum-Christian", dtype="auto") - Notebooks
- Google Colab
- Kaggle
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'])
|