nateraw / nous-hermes-llama2-awq

TheBloke/Nous-Hermes-Llama2-AWQ served with vLLM

  • Public
  • 7.2K runs
  • L40S
  • GitHub
  • Prediction

    nateraw/nous-hermes-llama2-awq:b3f3f012
    ID
    yz4olqdbhgfthfilc6c3bhdogi
    Status
    Succeeded
    Source
    Web
    Hardware
    A40
    Total duration
    Created

    Input

    top_k
    50
    top_p
    0.95
    prompt
    give me a 🔥 weeknight recipe for a Japanese curry
    temperature
    0.8
    max_new_tokens
    512
    prompt_template
    Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: {prompt} ### Response:
    presence_penalty
    0
    frequency_penalty
    0

    Output

    Here is a simple and delicious weeknight recipe for Japanese curry: Ingredients: - 1 lb boneless, skinless chicken thighs, cut into bite-sized pieces - 1 tablespoon vegetable oil - 1 tablespoon curry powder - 2 onions, diced - 2 cloves garlic, minced - 1 can (14 oz) Japanese-style curry roux - 1 can (14 oz) coconut milk - 2 cups water - 1 cup chopped carrots - 1 cup chopped potatoes - 1/2 teaspoon sugar - Salt and pepper to taste - 2 tablespoons chopped fresh cilantro leaves Instructions: 1. In a large bowl, mix the curry powder with the chicken and toss to coat. 2. Heat the oil in a large pot over medium-high heat. Add the chicken and cook until browned on all sides, 5-7 minutes. 3. Add the onions and garlic and cook until softened, about 5 minutes. 4. Stir in the curry roux and cook for 2 minutes. 5. Add the coconut milk, water, carrots, and potatoes and bring to a boil. Reduce the heat to low and simmer, covered, for 20-25 minutes, or until the chicken is cooked through and the vegetables are tender. 6. Season with sugar, salt, and pepper to taste. 7. Serve hot, garnished with cilantro leaves. Enjoy!
    Generated in
  • Prediction

    nateraw/nous-hermes-llama2-awq:b3f3f012
    ID
    hyaxjo3bchc56mxzlexzgztwba
    Status
    Succeeded
    Source
    Web
    Hardware
    A40
    Total duration
    Created

    Input

    top_k
    50
    top_p
    0.95
    prompt
    Write a short script that uses the PRAW library to download the top 3 posts of all time from /r/pics and save the image attachments.
    temperature
    0.8
    max_new_tokens
    512
    prompt_template
    Below is an instruction that describes a task. Write a response that appropriately completes the request. ### Instruction: {prompt} ### Response:
    presence_penalty
    0
    frequency_penalty
    0

    Output

    ```python import praw def get_top_posts(reddit, subreddit): posts = reddit.subreddit(subreddit).top(limit=100) top_posts = [] for post in posts: if post.score >= 1000: top_posts.append(post) return top_posts def save_image_attachments(posts, image_dir): for post in posts: for comment in post.comments: if 'image' in comment.body.lower() or 'jpg' in comment.body.lower() or 'png' in comment.body.lower(): try: comment.crop((0, 0, 1080, 1920)) comment.download(os.path.join(image_dir, f"{post.id}-{comment.name}")) except Exception as e: print(f"Failed to download image for post {post.id}: {e}") if __name__ == "__main__": # Create PRAW client client_id, client_secret, user_agent = "your_client_id", "your_client_secret", "pic-downloader" reddit = praw.Reddit(client_id=client_id, client_secret=client_secret, user_agent=user_agent) # Get top 3 posts of all time from /r/pics and save the image attachments image_dir = "images" top_posts = get_top_posts(reddit, "pics") save_image_attachments(top_posts, image_dir) # Close PRAW client reddit.close() ``` Replace "your_client_id", "your_client_secret", and "pic-downloader" with your own PRAW client ID, client secret, and user agent string. This script will download the top 3 posts of all time from /r/pics and save their image attachments to a folder named "images" in the same directory as the script.
    Generated in

Want to make some of these yourself?

Run this model