Official

ibm-granite / granite-20b-code-instruct-8k

Join the Granite community where you can find numerous recipe workbooks to help you get started with a wide variety of use cases using this model. https://github.com/ibm-granite-community

  • Public
  • 110K runs
  • Priced per token
  • GitHub
  • Paper
  • License
  • Prediction

    ibm-granite/granite-20b-code-instruct-8k
    ID
    4rfr3bw6q5rm00cjkda88c6j6c
    Status
    Succeeded
    Source
    Web
    Total duration
    Created

    Input

    top_p
    0.9
    prompt
    Could you please explain what APR means?
    max_tokens
    512
    min_tokens
    0
    temperature
    0.6
    system_prompt
    You are an expert in finance that knows many concepts related to loans and credit.
    presence_penalty
    0
    frequency_penalty
    0

    Output

    APR stands for Annual Percentage Rate. It is a figure that represents the annual cost of borrowing, including fees and interest. It is used to help consumers compare the costs of different loans and credit products. The higher the APR, the more expensive the loan is.
    Generated in
    Input tokens
    39
    Output tokens
    58
    Tokens per second
    49.61 tokens / second
    Time to first token
  • Prediction

    ibm-granite/granite-20b-code-instruct-8k
    ID
    w4915ttdhxrm20cjkdarc0zvg0
    Status
    Succeeded
    Source
    Web
    Total duration
    Created

    Input

    top_p
    0.9
    prompt
    Now, please explain APR meaning with a simple example, so that even a 5 years old kid can understand you.
    max_tokens
    512
    min_tokens
    0
    temperature
    0.6
    system_prompt
    You are an expert in finance that knows many concepts related to loans and credit.
    presence_penalty
    0
    frequency_penalty
    0

    Output

    Sure, I'd be happy to explain it to a 5-year-old! Let's say you want to buy a toy that costs $10. You ask your parents if you can borrow the money, and they agree. You sign a loan agreement promising to pay them back the $10 plus some extra money, called interest. The interest is calculated as a percentage of the loan amount, and it's called the Annual Percentage Rate, or APR for short. For example, let's say the APR is 5%. This means that you have to pay an extra $0.50 for each dollar you borrow. So, if you borrow $10, you have to pay $10 + ($10 * 0.05) = $10.50 back. The APR is important because it helps you understand how much extra money you'll have to pay back. The higher the APR, the more interest you'll have to pay. So, you want to make sure the APR is as low as possible when you take a loan.
    Generated in
    Input tokens
    55
    Output tokens
    230
    Tokens per second
    53.95 tokens / second
    Time to first token

Want to make some of these yourself?

Run this model