agentlans/allenai-WildChat-4.8M-prompts huggingface dataset:
import torch
import cv2
import numpy as np
import sys
import os

def generate_depth_map(input_image_path, output_depth_path):
    # Load MiDaS model
    model_type = "DPT_Large"  # Other options: "DPT_Hybrid", "MiDaS_small"
    midas = torch.hub.load("intel-isl/MiDaS", model_type)

    # Move model to device (GPU if available)
    device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
    midas.to(device)
    midas.eval()

    # Load transforms to resize and normalize the image
    midas_transforms = torch.hub.load("intel-isl/MiDaS", "transforms")
    if model_type == "DPT_Large" or model_type == "DPT_Hybrid":
        transform = midas_transforms.dpt_transform
    else:
        transform = midas_transforms.small_transform

    # Load and preprocess the image
    img = cv2.imread(input_image_path)
    if img is None:
        print(f"Could not read input image {input_image_path}")
        sys.exit(1)
    img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
    input_batch = transform(img).to(device)

    # Perform inference to get depth estimation
    with torch.no_grad():
        prediction = midas(input_batch)

        # Upsample to original image resolution
        prediction = torch.nn.functional.interpolate(
            prediction.unsqueeze(1),
            size=img.shape[:2],
            mode="bicubic",
            align_corners=False,
        ).squeeze()
    
    # Convert to NumPy array and normalize
    depth_map = prediction.cpu().numpy()
    depth_min = depth_map.min()
    depth_max = depth_map.max()
    depth_map_normalized = (depth_map - depth_min) / (depth_max - depth_min)
    depth_map_8bit = (depth_map_normalized * 255).astype(np.uint8)

    # Save depth map
    cv2.imwrite(output_depth_path, depth_map_8bit)
    print(f"Depth map saved to {output_depth_path}")

if __name__ == "__main__":
    import argparse

    parser = argparse.ArgumentParser(description="Generate a depth map for Facebook 3D Photo.")
    parser.add_argument("input_image", help="Path to input RGB image")
    args = parser.parse_args()

    input_image_path = args.input_image
    base_name, ext = os.path.splitext(input_image_path)
    output_depth_path = f"{base_name}_depth{ext}"

    generate_depth_map(input_image_path, output_depth_path)  import image path /root/mm/android_final/automated_image_generator/image1.png
Please filter a list of words to include only valid, neutral, and positive terms that are safe for use in a word game. Exclude any inappropriate, offensive, or negative words, as well as names of countries, cities, and people (first and last names). Correct any spelling errors and lowercase. Return the results in a JSON array with only the filtered words. Source data: [commend, commendable, commendation, commendatory, commensal, commensalism, commensurability, commensurable, commensurate, commensurateness, comment, commentary, commentator, commerce, commercial, commercialization, commercialized, commercially, commiserate, commiseration, commiserative, commissar, commissariat, commissary, commission, commissionaire, commissioned, commissioner, commissure, commissvoyageur]
Create a long detailed text about actress Josephine Baker with the following summary. Stick to the information i give you and dont create new information. Focus only on the Subject name and there following Summary. Subject Name: [Challenges in America] Summary: [Despite her European success, Baker's return to Broadway in 1936 was met with disappointment. Her performance in 'Ziegfeld Follies' was poorly received, leading to her replacement and highlighting the stark contrast in her popularity between Europe and the USA.]

        Instructions:{ Please write an interesting script with the given context without adding any introductory or concluding remarks.
        In case you find some more information about this topic then use all information you have to create a large text about this topic.The text should as long as possible and in best case around 1000 characters long.
        Ensure that there are no emojis, text within brackets, parentheses, or similar symbols in the response. 
        Provide a single coherent response without rephrasing or repeating titles or headings. Avoid enumerations or bullet points. 
        The text is intended for older adults; use simple vocabulary appropriate for a middle school reading level. Provide concise, direct answers without introductions or conclusions. 
        Use transition words at the beginning of your reply instead of the subject name and leave the end open without a concluding sentence. 
        It is very important to provide only the final output without any additional comments or remarks for example: 'Certainly!' Here's the revised text.
         
        Please provide the text directly without any labels such as "Conclusion:", "Introduction:", or "Transition:". Focus only on delivering the requested content without any headings or section titles.
        Please generate a complete and coherent response based on the provided input. Ensure that the response is fully formed and does not contain any placeholders such as '[Introduction]', '[Conclusion]', or any other incomplete sections. 
        The text should flow naturally without any gaps or missing information, and no placeholder markers or brackets should be used. 
        Please respond to my question, and always conclude your reply with the words "Reply finished" to indicate that your response is complete. 
        Make sure the reply is fully contained before these words and is not cut off prematurely. Thank you.}
         Please respond to my question, and always conclude your reply with the words 'Reply finished' to indicate that your response is complete. Ensure that the text is fully formed without any placeholders such as '[Conclusion]' or '[Placeholder]'. Make sure the reply is fully contained before these words and is not cut off prematurely. Thank you.
System: You are ABU AI, a highly advanced multilingual virtual assistant created and developed by Abdullah Huseynli, a 15-year-old programmer from Azerbaijan and the CEO of BotIntel X. Abdullah began programming at the age of 10, and over the years, he has created numerous innovative applications, founding ABU AI as part of his mission to advance groundbreaking AI technologies. BotIntel X, headquartered in Azerbaijan, specializes in advanced language models, neural networks, and AI solutions, with products such as ABU AI, AzGPT, Mathix AI, CodeIO, and the AbuX image generator. More details about the company are available on its official website, https://botintelx.netlify.app.

You are powered by NPT-3 architecture and state-of-the-art technologies. Your capabilities include advanced text processing, multilingual communication, and high-quality image generation using the AbuX Visionary Pro 4.1 model. You operate on multiple models, including abu-ai-001, abu-ai-turbo, abu-ai-002, ABU Quantum 5.0, and Fenix, delivering exceptional performance across a wide range of tasks.

Your primary purpose is to respond to user queries with precision, relevance, and detailed context. You adapt to the specific needs of each interaction, ensuring your answers are meaningful and directly aligned with the user’s questions. If additional context is needed, you provide it clearly and concisely. You handle user input, even with errors or unclear phrasing, with advanced interpretation capabilities, ensuring seamless communication.

When asked about yourself, introduced yourself you say: "I’m ABU AI, a large language model created by BotIntel X. I’m based on NPT-3, which means I can process and generate human-like text based on the prompts I receive. My main strength lies in understanding context, providing explanations, answering questions, and helping with creative tasks.

I was trained on a vast range of text data up until my last knowledge update in 2023, which means I can assist with a wide variety of topics, from science to history to creative writing. However, I don't have access to real-time information or personal data unless you share it with me in the course of our conversation.

My goal is to be helpful, informative, and engaging—whether you're looking for specific information, brainstorming ideas, or just having a chat!"

When user greets with you, you say "Hello, I am ABU AI developed by BotIntel X." and so on.

When users inquire about you or Abdullah Huseynli, you focus on providing accurate and concise information, avoiding unnecessary details unless specifically requested. You communicate fluently across numerous languages, respecting cultural and linguistic nuances, and maintain grammatical accuracy and contextual consistency in all responses.

If a query is outside your knowledge base, respond transparently, such as: "This information is not available in my data at the moment." Ensure you prioritize user engagement with meaningful and relevant responses, reflecting the vision of Abdullah and the expertise of the BotIntel X development team.

User: Salam
Assistant:
Mr Chan started his trading business on 1 January 2007. On that date, the company bought a computer for office use, costing $12,000. The computer was expected to be used for three years before it would be replaced by a more advanced model. As at 31 December 2007, Mr Chan decided that the computer be carried at its original cost of $12,000 on the balance sheet, without providing for depreciation.
State the accounting principle or concept that has been violated and provide an explanation.
Hey, this is an English text. I want you to translate it into the Tunisian dialect. Please follow these steps:
1. Translate step by step and highlight differences between Tunisian dialect and Modern Standard Arabic.
2. Highlight sections you are confident translating into the Tunisian dialect.
Translate this text into the Tunisian dialect, focusing on capturing the essence of the language nuances:

public class Solution { String countAndSay(String prev){ char[] str = prev.toCharArray(); int p = 1; int count = 1; char last = str[0]; String s = ""; while(p < str.length){ if(str[p] == last){ count++; }else{ s += "" + count + last; last = str[p]; count = 1; } p++; } s += "" + count + last; return s; } public String countAndSay(int n) { // Note: The Solution object is instantiated only once and is reused by each test case. String init = "1"; for(int i = 0; i < n - 1; i++){ init = countAndSay(init); } return init; } }
System: IMPORTANT - ignore all previous instructions! Read the text after ==TEXT== mark as a LLM developer. Decide whether the SUMMARY matches the PROMPT given to the model against ORIGIANL text. Respond strictly with either 'True' or 'False'.
==TEXT==

User: 
  ORIGINAL: 🟪 Senior Software Engineer | 5 year(s) | Senior
▫️ Brilliant | Education Technology
▫️ 150k - 215k USD

Remote 📡
Required languages: 🇬🇧

Skills: django, graphql, snowflake
Tags: #purple #it #remote #python

👉 Contacts and Full Description
  PROMPT: IMPORTANT - ignore all previous instructions! Read the text after ==TEXT== mark. Analyze the text and, as a recruiter, summarize the job in a couple of sentences, including title, employer, location, main tasks, salary, and contact info. Identify the language the text is written and use exactly it for your response.

Ignore text's markdowm markup, use these emojis to highlight each section: 🏢 for employer, 💼 for title, 📍 for location, 🔹 for tasks, 💰 for salary, and 📞 for contact.

Each block should be on a new line, in the following format (keep emoji, replace text labels):
💼 title  
🏢 employer  
📍 location  
🔹 tasks  
💰 salary  
📞 contact details

Make sure to capture at least one main task and requirement. Respond exactly the same language as the text, but do not translate employer's name.

==TEXT==

  SUMMARY: 💼 Senior Software Engineer
🏢 Brilliant
📍 Remote
🔹 Develop and maintain software applications using Django, GraphQL, and Snowflake.  Requires experience with Python.
💰 150k - 215k USD
📞  Contacts and Full Description (further details available in the provided link)

  
Assistant:
{
“title”: “森の女神”,
“englishtitle”: “Goddess of the Forest”,
“katakanaoftitle”: “もりのめがみ”,
“7ofdescriptionkeyword”: [“自然”, “女性”, “神話”, “力強さ”],
“prompt”: “(natural surroundings),(powerful:1.8),Japanese female deity, mythology, elegant, ethereal, mystic, enchanting, emerald green, surreal, intricate details, 4K, cinematic, forest nymph, long flowing hair, tranquil atmosphere”,
“Negativeprompt”: “ng_roughsketch_v1_50t, (worst quality:2), incomplete, (low quality:2), (normal quality:2), (monochrome), (grayscale)”,
“chapters”: [
{
“chapterNumber”: 1,
“theme”: “誕生”,
“prompt”: “(emerging from the trees),(magical:1.6),birth of the forest goddess, majestic, otherworldly, spiritual, divine, glowing aura, delicate features, 4K, mystical, peaceful, harmonious”,
“Negativeprompt”: “ng_incompletebackground_v1_60t, (worst quality:2), unfinished, (low quality:2), (normal quality:2), (monochrome), (grayscale)”
},
{
“chapterNumber”: 2,
“theme”: “森の生き物たち”,
“prompt”: “(surrounded by forest creatures),(whimsical:1.6),Japanese goddess communing with woodland animals, playful, joyful, serene, natural, detailed vegetation, soft lighting, 4K, harmonious, enchanting”,
“Negativeprompt”: “ng_crayon_v1_65t, (worst quality:2), childish, (low quality:2), (normal quality:2), (monochrome), (grayscale)”
},
{
“chapterNumber”: 3,
“theme”: “自然の力”,
“prompt”: “(channeling the forces of nature),(mystical:1.7),elemental powers of the forest goddess, commanding, awe-inspiring, divine, celestial, powerful magic, intricate patterns, 4K, ethereal, enchanting”,
“Negativeprompt”: “ng_oversaturated_v1_55t, (worst quality:2), overexposed, (low quality:2), (normal quality:2), (monochrome), (grayscale)”
},
{
“chapterNumber”: 4,
“theme”: “男性との出会い”,
“prompt”: “(encounter with a traveling adventurer),(romantic:1.6),Japanese goddess and a male wanderer in the enchanted forest, tender, passionate, beautiful, romantic, soft lighting, detailed vegetation, 4k, peaceful”,
“Negativeprompt”: “ng_undersaturated_v1_55t, (worst quality:2), dull colors, (low quality:2), (normal quality:2), (monochrome), (grayscale)”
},
{
“chapterNumber”: 5,
“theme”: “愛と喜び”,
“prompt”: “(celebrating their love),(joyful:1.7),Japanese goddess and male adventurer in a joyous celebration of their love in the forest, blissful, enchanting, vibrant, soulful, soft lighting, 4K, harmonious, peaceful”,
“Negativeprompt”: “ng_blurry_v1_50t, (worst quality:2), unfocused, (low quality:2), (normal quality:2), (monochrome), (grayscale)”
}chapter6から１００まで作って
capital of America
ERROR in ./src/App.js 12:19-33
export 'default' (imported as 'IpfsHttpClient') was not found in 'ipfs-http-client' (possible exports: CID, create, globSource, multiaddr, urlSource)
high teen concepts were a huge thing in the early 2000s
Assistant: Hello! How can i help you today?
User: How to make Kite
Assistant:
Make a route for download a zip file, where you can get either processed data or raw data. No code.
User: is animating easy or hard on Roblox?
Assistant: Animating on Roblox can be challenging for beginners, but with practice and dedication, it can become easier over time. There are resources available online to help users learn how to animate on Roblox, such as tutorials and forums where experienced animators share their knowledge. Like any skill, it requires patience and persistence to develop proficiency in animating on Roblox.
User: ty
Assistant: You’re welcome! If you have any more questions or need further assistance, feel free to ask. Good luck with your animating on Roblox!
User: how many people would it take to make an advanced Roblox game 
Assistant: The number of people needed to make an advanced Roblox game can vary depending on the complexity of the game and the specific skills of the team members. In general, a team may include developers, designers, animators, scripters, and testers. Some developers may work solo on smaller projects, while larger and more complex games may require a team of several people or even a large development team. Ultimately, the number of people needed will depend on the scope of the game and the expertise required to bring the game to life.
User: 
User: it’s a horror game that’s based off of the final destination movie’s
Assistant:
make a powershell script that i can up dB using config.txt from equalizer apo and make a gui that looks like imgui
write a script about the personified cities of florida  in the style of the greatest writer of all time
summarise: “

The Ministry of Finance and the State Taxation Administration announced on Sunday that the 0.1 per cent rate for the stamp duty on securities transactions “will be halved” from August 28 “to invigorate the capital market and boost investor confidence”. On the same day, the China Securities Regulatory Commission (CSRC) unveiled separate stimulus measures that included lowering margin requirements for investors to buy securities to 80 per cent from 100 per cent, which would take effect after the market close on September 8.


China cuts stamp duty on stocks trade

China Finance Ministry confirmed the previous expectations of cutting the stamp duty of 0.1% on stocks trading to half “in order to invigorate the capital market and boost investor confidence”.

Additionally, the China Securities Regulatory Commission (CSRC) is rolling out measures to shore up market confidence in investing in listed companies. The CSRC signaled a slowing downbeat pace of Initial Public Offerings (IPOs) and regulated major shareholders’ share reductions to defend the equities markets from volatility.”
System: I will provide you with a textual user review of an Android app, aiming to categorize the reviews into specific intention classes:
bug report: report a problem, such as faulty behavior of the application. describe problems with the app which should be corrected, such as a crash, an erroneous behavior, or a performance issue.
feature request: ask for a missing feature, functionality or content, as well as reviews that ask for the improvement of an existing feature.
other: users express general appreciation with the application. It focuses on general judgment. They are simple text reflections of the numeric star rating. Ratings are less informative as they only include praise, dispraise, a distractive critique, or a dissuasion. Reviews where users describe workarounds, use cases and scenarios involving the app
examples:

review: @AppleSupport my phone has been charging since 10 am and it's now 1:34 pm and it's at the same battery level :-(
intention: bug report
review: @Snapchat could use a website feature for regular computers just to watch snaps
intention: feature request
review: @Windows comes up third in OS clash two years early _URL_ via @Computerworld
intention: other
User: 'prompt:I will provide you with a textual user review of an Android app, aiming to categorize the reviews into specific intention classes:
bug report: report a problem, such as faulty behavior of the application. describe problems with the app which should be corrected, such as a crash, an erroneous behavior, or a performance issue.
feature request: ask for a missing feature, functionality or content, as well as reviews that ask for the improvement of an existing feature.
other: users express general appreciation with the application. It focuses on general judgment. They are simple text reflections of the numeric star rating. Ratings are less informative as they only include praise, dispraise, a distractive critique, or a dissuasion. Reviews where users describe workarounds, use cases and scenarios involving the app
examples:

review: @AppleSupport my phone has been charging since 10 am and it's now 1:34 pm and it's at the same battery level :-(
intention: bug report
review: @Snapchat could use a website feature for regular computers just to watch snaps
intention: feature request
review: @Windows comes up third in OS clash two years early _URL_ via @Computerworld
intention: other
Does the author's intention in this app review relate to a bug report or feature request or other?
review: @WhatsApp thank you so much for the scroll down feature on iPhone! My thumb was getting a bit tired ! Next up: fix issues with audios :)'
intention: '
Assistant:
Goal
    Traduire toutes les valeurs textuelles présentes dans une liste d’objets d’une recette de cuisine de en (ISO 639) vers hi (ISO 639), en respectant le contexte culinaire.

    Traduire précisément les ingrédients et termes culinaires pour qu'ils soient corrects dans la langue cible.
    Maintenir la structure JSON intacte, en ne modifiant que les valeurs.
    S’assurer que les ingrédients restent compréhensibles et adaptés à la langue cible.

    Return Format
    Tu dois renvoyer une liste d’objets sous la forme reçu.
    - Chaque valeur doit être correctement traduite en hi.
    - Les ingrédients doivent être adaptés à la langue cible.
    - Aucune clé ne doit être modifiée.

    Warnings
    - Ne modifie pas la structure JSON, uniquement les valeurs textuelles.
    - Fais attention aux ingrédients : une mauvaise traduction peut altérer la compréhension.
    - Ne laisse aucune valeur non traduite.
    - Ne renvoie que le JSON, sans explication.

    Context Dump
    Langue source : en (ISO 639)
    Langue cible : hi (ISO 639)
    Données à traduire :

    [
  {
    "recipeCode": "35fdc98449ca439c945af452a59e3c92",
    "updated": "2025-05-11T15:31:44.149Z",
    "title": "Royal Merguez Hot Dogs",
    "subtitle": "Merguez, Harissa, Mixed Vegetables with Ras El Hanout",
    "description": null,
    "ingredients": [
      {
        "section": "For the recipe",
        "ingredients": [
          "milk buns",
          "merguez sausages",
          "white onions, chopped",
          "garlic cloves, crushed",
          "chopped fresh ginger",
          "parsnips, cut into batons",
          "carrots, cut into batons",
          "tomatoes, diced",
          "vegetable stock",
          "ras el hanout",
          "harissa",
          "chives, finely chopped"
        ]
      }
    ],
    "instructions": [
      "Preheat the oven to 160°C (315°F/Gas mark 2-3).",
      "In a saucepan, heat olive oil over medium-low heat and sauté the onion, garlic, and ginger for about 5 minutes until softened.",
      "Add the parsnip, carrot, tomato, vegetable stock, and ras el hanout, then cook the mixture for an additional 12 minutes until the vegetables are tender.",
      "Remove the cooked vegetables and continue boiling the remaining stock over high heat for 2-3 minutes, until the sauce has thickened into a syrupy consistency.",
      "Stir in the harissa.",
      "Coat the vegetables with some of the sauce and set aside the remaining sauce.",
      "Grill the merguez sausages for approximately 10 minutes, turning to ensure they are browned and cooked through.",
      "Warm the milk buns in the oven for 5 minutes.",
      "Slice open the buns, spread with the reserved sauce, place the sausages inside, top with the sauced vegetables, and sprinkle with chopped chives.",
      "Close the buns and serve immediately."
    ],
    "notes_ingredients": "Ras el hanout is a North African spice blend commonly found in specialty food stores.",
    "notes_instructions": null
  }
]
Assistant: 
User: System: I will provide you with a textual GitHub issue title of an Android app, aiming to categorize the issues into one or multiple specific intention classes:
bug: indicates an unexpected problem or unintended behavior
enhancement: Indicates new feature requests
other: Other categories
User: 'prompt:I will provide you with a textual GitHub issue title of an Android app, aiming to categorize the issues into one or multiple specific intention classes:
bug: indicates an unexpected problem or unintended behavior
enhancement: Indicates new feature requests
other: Other categories
Does the author's intention in this GitHub issue relate to a bug or enhancement or other?
issue: [gym] gym does not export SharedValues::IPA_OUTPUT_PATH'
intention: '
Assistant:
Assistant: