Skip to content

Commit

Permalink
further test of open source embeddigns
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovico Mori committed Nov 3, 2023
1 parent 137ce7c commit ed98c24
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev-ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- dev-root
jobs:
deploy-dev-system:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions config/dev-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interfaces:
PORT: 7861
EXTERNAL_PORT: 7682
HOST: "0.0.0.0" # either "0.0.0.0" (for public) or "127.0.0.1" (for internal)
HOSTNAME: "t3desk019.mit.edu" # careful, this is used for the chat service
HOSTNAME: "submit06.mit.edu" # careful, this is used for the chat service
template_folder: "/root/A2rchi/A2rchi/interfaces/chat_app/templates"
static_folder: "/root/A2rchi/A2rchi/interfaces/chat_app/static"
num_responses_until_feedback: 3 #the number of responses given by A2rchi until she asks for feedback.
Expand Down Expand Up @@ -105,7 +105,7 @@ utils:
HuggingFaceEmbeddings:
class: HuggingFaceEmbeddings
kwargs:
model_name: sentence-transformers/multi-qa-mpnet-base-dot-v1 #sentence-transformers/all-MiniLM-L6-v2
model_name: sentence-transformers/multi-qa-mpnet-base-dot-v1 #sentence-transformers/all-MiniLM-L6-v2 #sentence-transformers/multi-qa-mpnet-base-dot-v1 #sentence-transformers/all-mpnet-base-v2 are better but currently not working
model_kwargs:
device: 'cpu'
encode_kwargs:
Expand Down
2 changes: 1 addition & 1 deletion config/prod-meta-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ chains:
#logging within base chain
logging:
#name of .log logfile to be saved in data folder.
input_output_filename: chain_input_output.log
input_output_filename: chain_input_output.log
prompts:
# prompt that serves to condense a history and a question into a single question
CONDENSING_PROMPT: config/prompts/condense.prompt
Expand Down

0 comments on commit ed98c24

Please sign in to comment.