Sergidev commited on
Commit
640dd11
1 Parent(s): 94530e2

Update modules/pmbl.py

Browse files
Files changed (1) hide show
  1. modules/pmbl.py +1 -1
modules/pmbl.py CHANGED
@@ -147,7 +147,7 @@ class PMBL:
147
  conn.close()
148
 
149
  def generate_topic(self, prompt, response):
150
- llm = Llama(model_path=self.model_path, n_ctx=n_ctx, n_threads=4, n_gpu_layers=-1, offload_kqv=True, flash_attn=True, use_mlock=True)
151
 
152
  system_prompt = f"Based on the following interaction between a user and an AI assistant, generate a concise topic for the conversation in 2-4 words:\n\nUser: {prompt}\nAssistant: {response}\n\nTopic:"
153
 
 
147
  conn.close()
148
 
149
  def generate_topic(self, prompt, response):
150
+ llm = Llama(model_path=self.model_path, n_ctx=2960, n_threads=4, n_gpu_layers=-1, offload_kqv=True, flash_attn=True, use_mlock=True)
151
 
152
  system_prompt = f"Based on the following interaction between a user and an AI assistant, generate a concise topic for the conversation in 2-4 words:\n\nUser: {prompt}\nAssistant: {response}\n\nTopic:"
153