Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msmarco passage yaml read from fatjar resources #2469

Merged
merged 5 commits into from
Apr 28, 2024
Merged

msmarco passage yaml read from fatjar resources #2469

merged 5 commits into from
Apr 28, 2024

Conversation

16BitNarwhal
Copy link
Member

Resolves issue #2427
Added msmarco-v1-passage.yaml to resources directory
Reads the yaml resource within the fatjar when running io.anserini.reproduce.RunMsMarco

@16BitNarwhal 16BitNarwhal marked this pull request as ready for review April 28, 2024 13:37
@@ -0,0 +1,300 @@
conditions:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have src/main/java/io/anserini/reproduce/msmarco-v1-passage.yaml right? Can't we just use that?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe all the files in src/main/resources/ can be read within a fatjar. To read files from src/main/java/io/anserini/reproduce/msmarco-v1-passage.yaml we would need to specify that directory as a resource in pom.xml.

@lintool lintool self-requested a review April 28, 2024 17:36
@lintool lintool merged commit 8e2344f into castorini:master Apr 28, 2024
1 check passed
@lintool lintool deleted the self-contain-yaml branch April 28, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants