Skip to content

Commit

Permalink
pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
KuuCi committed Jul 30, 2023
1 parent 363ab25 commit 2521f8a
Show file tree
Hide file tree
Showing 1,040 changed files with 39 additions and 154,914 deletions.
8 changes: 3 additions & 5 deletions examples/end-to-end-examples/support_chatbot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'''
from chatbot import ChatBot
from scripts.repo_downloader import RepoDownloader
from .chatbot import ChatBot
from .scripts.repo_downloader import RepoDownloader

__all__ = ['ChatBot',
'RepoDownloader']
'''
'RepoDownloader']
4 changes: 2 additions & 2 deletions examples/end-to-end-examples/support_chatbot/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ def parse_args() -> Namespace:
parser.add_argument(
'--chunk_size',
type=int,
default=2500,
default=750,
required=False,
help='The chunk size when splitting documents')
parser.add_argument(
'--chunk_overlap',
type=int,
default=500,
default=150,
required=False,
help='The overlap between chunks when splitting documents')
parser.add_argument(
Expand Down
2 changes: 1 addition & 1 deletion examples/end-to-end-examples/support_chatbot/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def evaluate_mpt_7b(self,

# Change model endpoint (and save)
save_prev_endpoint = self.model.endpoint_url
self.model.endpoint_url = 'https://mpt-7b-support-bot-pypi-composer-dolly-rg1pfh.inf.hosted-on.mosaicml.hosting/predict'
self.model.endpoint_url = 'https://mpt-7b-support-bot-finetuned-pdx6a9.inf.hosted-on.mosaicml.hosting/predict'

# Prompt template for the query
answer_question_string_template = (
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2521f8a

Please sign in to comment.