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

Adds markdown-link-check and fixes a broken link #165

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

codefromthecrypt
Copy link
Contributor

@codefromthecrypt codefromthecrypt commented Oct 1, 2024

Note the image here is a bad link, but I don't have content for it:


2.4 Prompt Format

You can even run llama model prompt-format see all of the templates and their tokens:

llama model prompt-format -m Llama3.2-3B-Instruct

image

Signed-off-by: Adrian Cole <adrian.cole@elastic.co>
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 1, 2024
rev: v3.11.2
hooks:
- id: markdown-link-check
args: ['--quiet']
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't really related to your PR since you're just adding to where these checks are already, but it would be nice to add all of this to CI using github actions. If the maintainers support it, I can file an issue to track it.

Copy link
Contributor

Choose a reason for hiding this comment

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

This feels like it is related to the PR? The title says they are adding a link check.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, my comment wasn't clear. I mean MY comment isn't related to the PR. In other words, I'm not suggesting this PR should change, but just sharing a thought for the future (that we should also run these checks in CI)

Copy link
Contributor

Choose a reason for hiding this comment

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

Ohhh! yes, absolutely. Let's file an issue for it. We have CI landing shortly on this repository but having an issue to make sure we don't forget this specific bit would be useful.

Copy link
Contributor

Choose a reason for hiding this comment

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

Filed #172 to come back and see if all the pre-commit checks are running in CI at some point

pip_packages=[
"boto3"
],
pip_packages=["boto3"],
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like you have a couple of Python changes (this one and another in augment_messages.py) that are unrelated to markdown linting.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I think it just feels like they ran pre-commit and ended up doing formatting. Seems OK.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, makes sense.

Copy link
Contributor

@ashwinb ashwinb left a comment

Choose a reason for hiding this comment

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

lgtm thank you!

pip_packages=[
"boto3"
],
pip_packages=["boto3"],
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I think it just feels like they ran pre-commit and ended up doing formatting. Seems OK.

rev: v3.11.2
hooks:
- id: markdown-link-check
args: ['--quiet']
Copy link
Contributor

Choose a reason for hiding this comment

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

This feels like it is related to the PR? The title says they are adding a link check.

Copy link
Contributor

@russellb russellb left a comment

Choose a reason for hiding this comment

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

lgtm

@ashwinb ashwinb merged commit 01d93be into meta-llama:main Oct 2, 2024
3 checks passed
@codefromthecrypt
Copy link
Contributor Author

thanks for resolving this on own! cheers

@codefromthecrypt codefromthecrypt deleted the markdown-link-check branch October 3, 2024 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants