moinnadeem / codellama-34b-instruct-vllm

  • Public
  • 78 runs
  • A100 (80GB)
Iterate in playground
  • Prediction

    moinnadeem/codellama-34b-instruct-vllm:c97256d55db03f10b73fd058087165a47821eb2f776c851901da46293e952153
    ID
    dlmoz6lb6vjarv2ydqiecszm2e
    Status
    Succeeded
    Source
    Web
    Hardware
    A100 (80GB)
    Total duration
    Created
    by @moinnadeem

    Input

    debug
    top_k
    50
    top_p
    0.9
    prompt
    Write a Python function downloads a html page from the internet and extracts the text of the h1 elements
    temperature
    0.75
    system_prompt
    You are a helpful assistant.
    max_new_tokens
    509
    min_new_tokens
    -1

    Output

    ``` import requests from bs4 import BeautifulSoup def download_h1_text(url): response = requests.get(url) soup = BeautifulSoup(response.content, 'html.parser') h1_elements = soup.find_all('h1') text = [element.text for element in h1_elements] return text ```
    Generated in

Want to make some of these yourself?

Run this model