Spaces:
Sleeping
Sleeping
Removed old context data
Browse files
app.py
CHANGED
|
@@ -5,15 +5,6 @@ from transformers import pipeline
|
|
| 5 |
qa_pipeline = pipeline("question-answering", model="microsoft/Phi-3-mini-4k-instruct")
|
| 6 |
st.title("Adrega AI Help")
|
| 7 |
context = dataset[0]["text"]
|
| 8 |
-
"""context = """
|
| 9 |
-
Adrega PI Help AI is Adregas fourth attempt to generate AI based help
|
| 10 |
-
content for the users. First we tried Gemini, but it was not very cost
|
| 11 |
-
effective and we werent able to use if for reading help docuemntation
|
| 12 |
-
and answer based on it. Then we tried GPT-4all, but it was very slow and since
|
| 13 |
-
running locally it ate up a lot of precious resources. Finally we tried
|
| 14 |
-
Hugging Face, and this far, it seems to be working.
|
| 15 |
-
"""
|
| 16 |
-
"""
|
| 17 |
|
| 18 |
dataset = load_dataset("andreska/adregadocs", split="train")
|
| 19 |
|
|
|
|
| 5 |
qa_pipeline = pipeline("question-answering", model="microsoft/Phi-3-mini-4k-instruct")
|
| 6 |
st.title("Adrega AI Help")
|
| 7 |
context = dataset[0]["text"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
dataset = load_dataset("andreska/adregadocs", split="train")
|
| 10 |
|