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

Fixed bug: changed to correct model name #186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ByteWrite
Copy link

@ByteWrite ByteWrite commented Aug 6, 2024

Description

changed model name from meta/llama3.1-405b-instruct and stg/meta/llama3.1-405b-instruct to meta/llama-3.1-405b-instruct.

Usage

# Add snippet demonstrating usage
async def generate_subtopics(client, topic, n_subtopics):
    prompt = TOPIC_GENERATION_PROMPT_TEMPLATE.format(topic=topic, n_subtopics=n_subtopics)
    response = await client.chat.completions.create(
        model="meta/llama-3.1-405b-instruct",
        messages=[
            {"role" : "user",
             "content" : prompt}
        ],
        temperature=0.2,
        top_p=0.7,
        max_tokens=1024,
    )
    return response

Checklist

  • I am familiar with the Contributing Guide.
  • New or Existing tests cover these changes.
  • The documentation is up to date with these changes.

@ByteWrite
Copy link
Author

Fixed bug: Previous given model names "meta/llama3.1-405b-instruct" and "stg/meta/llama3.1-405b-instruct" was not working. So, changed model name from "meta/llama3.1-405b-instruct" and "stg/meta/llama3.1-405b-instruct" to "meta/llama-3.1-405b-instruct" and this is working nicely.

@ByteWrite ByteWrite closed this Aug 6, 2024
@ByteWrite ByteWrite reopened this Aug 6, 2024
@ayushdg
Copy link
Collaborator

ayushdg commented Aug 6, 2024

Thanks for opening @ByteWrite. To pass the DCO and merge requirements, NeMo-Curator requires all commits to be signed and signed-off.
More information on how to do so is described in the section here: https://github.com/NVIDIA/NeMo-Curator/blob/main/CONTRIBUTING.md#pull-requests-pr-guidelines

Happy to followup if you run into any issues with commit signing.

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