{"id":22327257,"url":"https://github.com/thisis-developer/llama-2-ggml-csv-chatbot","last_synced_at":"2025-07-29T18:30:58.727Z","repository":{"id":254132847,"uuid":"737796145","full_name":"ThisIs-Developer/Llama-2-GGML-CSV-Chatbot","owner":"ThisIs-Developer","description":"The Llama-2-GGML-CSV-Chatbot is a conversational tool leveraging the powerful Llama-2 7B language model. It facilitates multi-turn interactions based on uploaded CSV data, allowing users to engage in seamless conversations.","archived":false,"fork":false,"pushed_at":"2024-04-29T15:00:30.000Z","size":1672,"stargazers_count":9,"open_issues_count":7,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-18T22:12:22.379Z","etag":null,"topics":["all-minilm-l6-v2","csv-format","faiss","llama2","sentence-transformers","streamlit"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/ThisIs-Developer/Llama-2-GGML-CSV-Chatbot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThisIs-Developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-01T14:34:11.000Z","updated_at":"2024-08-24T21:11:08.000Z","dependencies_parsed_at":"2024-08-21T16:53:07.511Z","dependency_job_id":null,"html_url":"https://github.com/ThisIs-Developer/Llama-2-GGML-CSV-Chatbot","commit_stats":null,"previous_names":["thisis-developer/llama-2-ggml-csv-chatbot"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIs-Developer%2FLlama-2-GGML-CSV-Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIs-Developer%2FLlama-2-GGML-CSV-Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIs-Developer%2FLlama-2-GGML-CSV-Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThisIs-Developer%2FLlama-2-GGML-CSV-Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThisIs-Developer","download_url":"https://codeload.github.com/ThisIs-Developer/Llama-2-GGML-CSV-Chatbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228034994,"owners_count":17859245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["all-minilm-l6-v2","csv-format","faiss","llama2","sentence-transformers","streamlit"],"created_at":"2024-12-04T03:08:57.098Z","updated_at":"2024-12-04T03:08:57.749Z","avatar_url":"https://github.com/ThisIs-Developer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦙 Llama-2-GGML-CSV-Chatbot 🤖\n\n## Overview\nThe **Llama-2-GGML-CSV-Chatbot** is a conversational tool powered by a fine-tuned large language model (LLM) known as *Llama-2 7B*. This chatbot utilizes CSV retrieval capabilities, enabling users to engage in multi-turn interactions based on uploaded CSV data.\n\n\u003cimg width=\"2000\" src=\"assets/workflow_1.jpg\"\u003e\n\n## 🚀 Features\n\n- **CSV Data Interaction:** Allows users to engage in conversations based on uploaded CSV data.\n- **Multi-turn Interaction:** Supports seamless multi-turn interactions for a better conversational experience.\n\n## Development Specs\n- Utilizes [Llama-2 7B](https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/tree/main) and [Sentence Transformers](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) for robust functionality.\n- Developed using [Langchain](https://github.com/langchain-ai/langchain) and [Streamlit](https://github.com/streamlit/streamlit) technologies for enhanced performance.\n- Cross-platform compatibility with Linux, macOS, or Windows OS.\n\n## 🛠️ Installation\n\n1. **Clone the Repository:**\n   ```bash\n   git clone https://github.com/ThisIs-Developer/Llama-2-GGML-CSV-Chatbot.git\n   ```\n2. **Install Dependencies:**\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n### Download the Llama 2 Model:\n\nDownload the Llama 2 model file named `llama-2-7b-chat.ggmlv3.q4_0.bin` from the following link:\n\n[🔗Download Llama 2 Model](https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/tree/main)\n\n### Llama 2 Model Information\n\n| Name                           | Quant method | Bits | Size    | Max RAM required |\n|--------------------------------|--------------|------|---------|------------------|\n| llama-2-7b-chat.ggmlv3.q4_0.bin | q4_0         | 4    | 3.79 GB | 6.29 GB          |\n\n**Note:** After downloading the model, add the model file to the `models` directory. The file should be located at `models\\llama-2-7b-chat.ggmlv3.q4_0.bin`, in order to run the code.\n\n## 📝 Usage\n\n1. **Run the Application:**\n   ```bash\n   streamlit run app.py\n   ```\n2. **Access the Application:**\n   - Once the application is running, access it through the provided URL.\n   - \n## System Requirements\n- **CPU:** Intel® Core™ i5 or equivalent.\n- **RAM:** 8 GB.\n- **Disk Space:** 7 GB.\n- **Hardware:** Operates on CPU; no GPU required.\n\n## 🤖 How to Use\n\n- Upon running the application, you'll be presented with a sidebar providing information about the chatbot and an option to upload a CSV file.\n- Upload a CSV file containing the data you want the chatbot to interact with.\n- Enter your query or prompt in the input field provided.\n- The chatbot will process your query and generate a response based on the uploaded CSV data and the Llama-2-7B-Chat-GGML model.\n\n## 📖 ChatBot Conversession\n\n### ⚡Streamlit ver. on [#v2.0.2.dev20240102](https://github.com/ThisIs-Developer/Llama-2-GGML-CSV-Chatbot/releases/tag/v2.0.2.dev20240102)\n![ChatBot Conversession img-1 png](https://github.com/ThisIs-Developer/Llama-2-GGML-CSV-Chatbot/assets/109382325/86102dd9-d078-46c5-aa55-dd9fbd7ed2ea)\n\n## 📌 Important Notes\n\n- While robust, this chatbot is not a substitute for professional advice.\n- Ensure the CSV file adheres to the expected format for optimal performance.\n\n## 🤝 Contributing\n\nContributions and suggestions are welcome! Feel free to fork the repository, make changes, and submit pull requests for improvements or bug fixes.\n\n## 📄 License\n\nThis project is licensed under the [MIT License](https://github.com/ThisIs-Developer/Llama-2-GGML-CSV-Chatbot/blob/main/LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisis-developer%2Fllama-2-ggml-csv-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthisis-developer%2Fllama-2-ggml-csv-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthisis-developer%2Fllama-2-ggml-csv-chatbot/lists"}