mitulagr2 commited on
Commit
e5402d5
·
1 Parent(s): 7bfaa43

Update to qwen:0.5b

Browse files
Files changed (2) hide show
  1. app/rag.py +1 -1
  2. start_service.sh +1 -1
app/rag.py CHANGED
@@ -15,7 +15,7 @@ class ChatPDF:
15
  chain = None
16
 
17
  def __init__(self):
18
- self.model = ChatOllama(model="qwen:1.8b")
19
  self.text_splitter = RecursiveCharacterTextSplitter(chunk_size=256, chunk_overlap=16)
20
  self.prompt = PromptTemplate.from_template(
21
  """
 
15
  chain = None
16
 
17
  def __init__(self):
18
+ self.model = ChatOllama(model="qwen:0.5b")
19
  self.text_splitter = RecursiveCharacterTextSplitter(chunk_size=256, chunk_overlap=16)
20
  self.prompt = PromptTemplate.from_template(
21
  """
start_service.sh CHANGED
@@ -7,7 +7,7 @@ ollama serve &
7
  sleep 5
8
 
9
  # Pull and run <YOUR_MODEL_NAME>
10
- ollama pull qwen:1.8b
11
 
12
  #
13
  fastapi run /code/app/main.py --port 7860
 
7
  sleep 5
8
 
9
  # Pull and run <YOUR_MODEL_NAME>
10
+ ollama pull qwen:0.5b
11
 
12
  #
13
  fastapi run /code/app/main.py --port 7860