Skip to content

Commit

Permalink
Tweak requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
ProbablyFaiz committed Jun 4, 2024
1 parent 066e1b8 commit 0267bbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,24 @@ dependencies = [
"python-dotenv",
"matplotlib",
"pandas",
"torch",
"pyspark",
"unidecode",
"anthropic",
"transformers",
"openai",
]

[project.optional-dependencies]
llm = [
"vllm>=0.4.0; platform_system == 'Linux'",
"flash-attn; platform_system == 'Linux'",
"transformers",
"torch",
"peft",
"trl",
"datasets",
"wandb",
"huggingface_hub",
"modal",
"anthropic",
"openai",
]
dev = [
"build",
Expand Down
1 change: 1 addition & 0 deletions rl/utils/locate_passage.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class DocumentFragment:
text: str


# TODO: This is very slow, and should be optimized.
def get_best_ngram_match(
passage: str,
document: str,
Expand Down

0 comments on commit 0267bbc

Please sign in to comment.