-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Commented out arguments.py file and hardcoded constants for now; -Resolve issue with bad naming and location of the db_get_incomplete_completion_tasks function
- Loading branch information
Showing
6 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
import argparse | ||
# import argparse | ||
|
||
parser = argparse.ArgumentParser() | ||
parser.add_argument( | ||
"-H", | ||
"--use-hugging-face", | ||
dest="use_hugging_face", | ||
action="store_true", | ||
help="Use Hugging Face as the model provider", | ||
) | ||
parser.add_argument( | ||
"-M", | ||
"--pick-model", | ||
type=str, | ||
dest="model_choice", | ||
choices=[ | ||
"ollama_medium", | ||
"ollama_small", | ||
"ollama_large", | ||
"hugging_face_medium", | ||
"hugging_face_small", | ||
"hugging_face_large", | ||
], | ||
default="ollama_medium", | ||
help="Select model configuration", | ||
) | ||
# parser = argparse.ArgumentParser() | ||
# parser.add_argument( | ||
# "-H", | ||
# "--use-hugging-face", | ||
# dest="use_hugging_face", | ||
# action="store_true", | ||
# help="Use Hugging Face as the model provider", | ||
# ) | ||
# parser.add_argument( | ||
# "-M", | ||
# "--pick-model", | ||
# type=str, | ||
# dest="model_choice", | ||
# choices=[ | ||
# "ollama_medium", | ||
# "ollama_small", | ||
# "ollama_large", | ||
# "hugging_face_medium", | ||
# "hugging_face_small", | ||
# "hugging_face_large", | ||
# ], | ||
# default="ollama_medium", | ||
# help="Select model configuration", | ||
# ) | ||
|
||
args = parser.parse_args() | ||
# args = parser.parse_args() | ||
|
||
USE_HUGGING_FACE = args.use_hugging_face | ||
MODEL_CHOICE = args.model_choice | ||
USE_HUGGING_FACE = True | ||
MODEL_CHOICE = "ollama_medium" | ||
#TODO: Handle the arguments parsing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
from __future__ import annotations | ||
|
||
from pydantic import BaseModel | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.