Instructions to use ThisIs-Developer/Llama-2-GGML-Medical-Chatbot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ThisIs-Developer/Llama-2-GGML-Medical-Chatbot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="ThisIs-Developer/Llama-2-GGML-Medical-Chatbot") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ThisIs-Developer/Llama-2-GGML-Medical-Chatbot", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update requirements.txt
Browse files- requirements.txt +4 -2
requirements.txt
CHANGED
|
@@ -1,11 +1,13 @@
|
|
| 1 |
pypdf==3.15.5
|
| 2 |
accelerate==0.22.0
|
| 3 |
bitsandbytes==0.41.1
|
| 4 |
-
chainlit==0.6.402
|
| 5 |
ctransformers==0.2.26
|
| 6 |
faiss-cpu==1.7.4
|
| 7 |
huggingface-hub==0.16.4
|
| 8 |
langchain==0.0.281
|
| 9 |
sentence-transformers==2.2.2
|
| 10 |
torch==2.0.1
|
| 11 |
-
transformers==4.33.0
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
pypdf==3.15.5
|
| 2 |
accelerate==0.22.0
|
| 3 |
bitsandbytes==0.41.1
|
|
|
|
| 4 |
ctransformers==0.2.26
|
| 5 |
faiss-cpu==1.7.4
|
| 6 |
huggingface-hub==0.16.4
|
| 7 |
langchain==0.0.281
|
| 8 |
sentence-transformers==2.2.2
|
| 9 |
torch==2.0.1
|
| 10 |
+
transformers==4.33.0
|
| 11 |
+
|
| 12 |
+
chainlit==1.0.0
|
| 13 |
+
streamlit==1.29.0
|