SherryLiu пре 7 месеци
родитељ
комит
5f06b5d6c7
3 измењених фајлова са 0 додато и 36 уклоњено
  1. 0 1
      Modelfile
  2. 0 20
      README_docker.md
  3. 0 15
      dockerfile

+ 0 - 1
Modelfile

@@ -1 +0,0 @@
-FROM /Users/sherry/Documents/_Personal/ChoozeMo/notebooks/carbon/llm/ollama/taide-7b-a.2-q4_k_m.gguf

+ 0 - 20
README_docker.md

@@ -1,20 +0,0 @@
-# Run TAIDE RAG in VM
-
-## Prerequisites
-- Docker and Docker Compose
-- Ollama (for creating the taide-local model)
-- Download TAIDE .gguf file. https://huggingface.co/taide/TAIDE-LX-7B-Chat-4bit/tree/main?show_file_info=taide-7b-a.2-q4_k_m.gguf Update the file path in `Modelfile`
-
-## Setting up taide-local
-
-1. Install Ollama on your VM 
-`curl -fsSL https://ollama.com/install.sh | sh`
-2. Create the taide-local model
-`ollama create taide-local -f Modelfile`
-
-## Running the Applciation
-1. Clone this repository.
-`git clone -b public https://github.com/yourusername/your-repo.git`
-2. Create a `.env` file in the project root with your API keys.
-3. Run `docker-compose up --build` 
-4. The application will be available at `http://localhost:8000`.

+ 0 - 15
dockerfile

@@ -1,15 +0,0 @@
-FROM python:3.9
-
-WORKDIR /app
-
-COPY requirements.txt .
-RUN pip install --no-cache-dir -r requirements.txt
-
-# Copy application files
-COPY RAG_strategy.py .
-COPY RAG_app_copy.py .
-COPY add_vectordb.py .
-COPY Indexing_Split.py
-COPY Documents/ ./Documents/
-
-CMD ["python", "RAG_app_copy.py"]