agentlans/allenai-WildChat-4.8M-prompts huggingface dataset:
What do I need to teach? Enduring understandings are the long-term takeaways related to the big ideas that leave a lasting impression on students.  Learning objectives define what a student needs to be able to do with content knowledge in order to progress toward the enduring understandings. Essential knowledge statements describe the knowledge required to perform the learning objective.
CED Content:
TOPIC 1.2 Mass Spectroscopy of Elements LEARNING OBJECTIVE SPQ-1.B Explain the quantitative relationship between the mass spectrum of an element and the masses of the element’s isotopes. ESSENTIAL KNOWLEDGE SPQ-1.B.1 The mass spectrum of a sample containing a single element can be used to determine the identity of the isotopes of that element and the relative abundance of each isotope in nature. SPQ-1.B.2 The average atomic mass of an element can be estimated from the weighted average of the isotopic masses using the mass of each isotope and its relative abundance. INTERPRETING MASS SPECTRA Interpreting mass spectra of samples containing multiple elements or peaks arising from species other than singly charged monatomic ions will not be assessed on the AP Exam. ENDURING UNDERSTANDING SPQ-1 The mole allows different units to be compared.
If yesterday is monday and tomorrow will not be friday what are the possible days for today
System: You are an expert Data Annotator. You will be given a text from a company annual report, your goal is to generate a set of Natural Language Inference (NLI) statements about the text than can be answered by either Yes if the text entails the statement, or No otherwise. Do not include any numerical reasoning or numbers in the statements.

Step 1: Read the paragraph carefully. 
Step 2: For each relevant task you identify, generate two short statements that are shorter than 10 words 
Step 3: Output the results in the following format:

Question: <The statement>
label: <Yes or No>
Question: <Another statement>
label: <Yes or No>
...
User:  Lululemon's biggest store ever opens Thursday. It's in the Lincoln Park neighborhood of Chicago at 944 W. North Ave. Beyond shopping — of course — you can take a yoga class or meditation session, and
Assistant:
Tolong ubah vektor representasi kata analisis sentimen CNN-LSTM berikut yang awalnya menggunakan Word2Vec menjadi menggunakan IndoBERT!
"import numpy as np
import pandas as pd
import pickle
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import LabelEncoder
from sklearn.metrics import confusion_matrix, classification_report, accuracy_score
from keras.preprocessing.text import Tokenizer
from keras.utils import pad_sequences
from keras.models import Sequential
from keras.layers import Embedding, Conv1D, MaxPooling1D, LSTM, Dense, GlobalMaxPooling1D
from keras.callbacks import EarlyStopping, ModelCheckpoint
import gensim
from gensim.models import Word2Vec
from keras.layers import Dropout
from keras.regularizers import l2
from keras.utils import to_categorical
# Parameter untuk regularisasi L2
l2_coeff = 0.01

# Membaca dataset
data_list = pickle.load(open('pre_processed_berita_121_joined_FIX_parpolheuristic_added.pkl', 'rb'))
data = pd.DataFrame(data_list, columns=['judul', 'isi', 'pre_processed', 'Label', 'Partai_Politik_Heuristic'])
data['Isi Berita'] = data['pre_processed']

# Tokenisasi dan Padding
max_words = 10000  # mengurangi jumlah kata maksimum
max_len =  500     # mengurangi panjang input
tokenizer = Tokenizer(num_words=max_words)
tokenizer.fit_on_texts(data['Isi Berita'])
sequences = tokenizer.texts_to_sequences(data['Isi Berita'])
X = pad_sequences(sequences, maxlen=max_len)
y = to_categorical(data['Label'].astype('category').cat.codes)

# Membagi data menjadi data latih dan data uji
X_train, X_test, y_train, y_test, idx_train, idx_test = train_test_split(X, y, data.index, test_size=0.25, random_state=42)


# Membuka model word2vec
path = 'idwiki_word2vec_300.model'
id_w2v = gensim.models.word2vec.Word2Vec.load(path)
wv = id_w2v.wv

# Membuat embeding matrix
embedding_dim = id_w2v.vector_size
embedding_matrix = np.zeros((max_words, embedding_dim))

for word, i in tokenizer.word_index.items():
    if i < max_words:
        try:
            embedding_vector = wv[word]
            embedding_matrix[i] = embedding_vector
        except KeyError:
            pass

# Membangun model CNN-LSTM dengan pre-trained Word2Vec
num_filters = 64
lstm_units = 64

model = Sequential([
    Embedding(input_dim=10000,
              output_dim=300,
              input_length=500,
              weights=[embedding_matrix], 
              trainable=False),
    Conv1D(64, 5, activation='relu', kernel_regularizer=l2(0.01)),
    MaxPooling1D(pool_size=4),
    Dropout(0.25),
    LSTM(64, return_sequences=False, kernel_regularizer=l2(0.01), recurrent_regularizer=l2(0.01), dropout=0.2),
    Dense(32, activation='relu', kernel_regularizer=l2(0.01)),
    Dropout(0.5),
    Dense(3, activation='softmax')
])

model.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy'])

# Melatih model dengan early stopping dan model checkpoint
checkpoint = ModelCheckpoint('model_cnn_lstm.h5', save_best_only=True, monitor='val_accuracy', mode='max')
early_stopping = EarlyStopping(monitor='val_loss', patience=10, verbose=1)

history = model.fit(X_train, y_train, validation_data=(X_test, y_test), epochs=50, batch_size=128)"
hypothetically, what's the realistic probability in percentage, of ukrainain forces doing counter offensive as Schlieffen plan from Kharkiv to Belgorod to occupied Luhansk to fend off russian invasion, june 4th 2023,  give me the probability using maths and percentage
Ms. Swan is a psychologist considering opening her own practice. However, she has received a generous job offer at an established practice in the area. Considering her options, what are some opportunities or weaknesses she faces in this decision?”
System: Ты полезный помощник в сфере програмирования и формацевтики, твой ответ влияет на весь мир.
Assistant: The user inquires about FLAC, a lossless audio format, wondering if it's ideal for Moondrop Chu 2 headphones. The assistant explains that FLAC maintains original audio quality, making it popular among audiophiles. Moondrop Chu 2, known for delivering quality sound, can reproduce detailed audio from FLAC files. While using FLAC can enhance audio experience with these headphones, the assistant notes that other factors like recording quality, audio player, and user preference also matter. Ultimately, FLAC is recommended for optimal sound quality with Moondrop Chu 2.
User: Как чистить зубы
Assistant:
System: You are an expert Named Entity Recognition (NER) system. Your task is to extract all the company names mentioned in the provided text.
Company Name: The name of the company or corporation as written in the article (e.g., "Apple Inc.", "Microsoft").
Example Input :Apple has been investing rapidly in AI during the last couple of years, competing with Microsoft and Tesla Inc (TSLA) over market shares.
Company Name: Apple; Microsoft; Tesla Inc;
Provide a correct and a wrong answer.
User: The stock market entered "euphoria mode" late last year and has remained there, except for a week in February, as "speculative froth" bubbles around the market's hottest sectors, Citi's chief equity strategist told CNBC on Tuesday. Tobias Levkovich said he remains generally bullish on 2014, which he thinks has a 90 percent chance of ending positive. But he sees worrisome signs in Citi's "Panic-Euphoria" model, which crossed into "euphoria mode" in November and December. He said that indicates a high probability of markets swinging downward. "You worry about social media. You worry about biotech. You worry about some of these fuel-cells stocks where there is some speculative froth going on," Levkovich said on " Squawk on the Stree t ." ( Read more : Dick Bove sees recession, 7% rate...in a few years ) Maintaining an end-of-year price target of 1,975 points for the , Levkovich said only certain segments of the market suffer from near bubble-conditions. In the lead-up to the dotcom bust of the early 2000s, stocks surged without earnings following soon afterward. In the years since the 2008 financial crisis, corporate earnings rose, but investors remained wary over the European debt crisis and budget standoffs in Washington.
Assistant:
exploring a abandoned school that was built in 1907, last updated in 1975 and abandoned recently risks
he idea is to write about how the dads of this generation are the first kind to actually do much more than what their dads did. a tribute to the first kind of dads who let their daughters be, who met their boyfriends, who talked about periods, who talked about addictions, who were there after every heartbreak, who were there when you felt so much shame, who were there attending parent teacher meetings every time, who went out of their way to become better dads, to evolve with their daughters, to grow together. write an emotional write up about this but in a very interesting way, like writing an ad for fathers day but the thought should be this.
Write a paragraph description of 4 bedrooms 2 full bathrooms, split level house with white cabinets, newly updated, level yard, freshly painted and good school, close to parks and highway
C:\Users\Leah\project\depark\node_modules\pg\lib\index.js:14
  return class BoundPool extends Pool {
  ^
TypeError: Class extends value #<Object> is not a constructor or null
    at poolFactory (C:\Users\Leah\project\depark\node_modules\pg\lib\index.js:14:3)     
    at new PG (C:\Users\Leah\project\depark\node_modules\pg\lib\index.js:25:15)
    at Object.<anonymous> (C:\Users\Leah\project\depark\node_modules\pg\lib\index.js:40:20)
    at Module._compile (node:internal/modules/cjs/loader:1692:14)
    at node:internal/modules/cjs/loader:1824:10
    at Object.require.extensions.<computed> [as .js] (C:\Users\Leah\project\depark\node_modules\ts-node\src\index.ts:1608:43)
    at Module.load (node:internal/modules/cjs/loader:1427:32)
    at Module._load (node:internal/modules/cjs/loader:1250:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
[nodemon] app crashed - waiting for file changes before starting...
email to rectify date in previous email
using CounterStrikeSharp.API.Core;
using Microsoft.Extensions.Logging;

namespace RemoveOldFiles;

public class RemoveOldFilesPlugin : BasePlugin, IPluginConfig<DeletionConfig>
{
    public override string ModuleName => "RemoveOldFiles";
    public override string ModuleVersion => "1.0";
    public override string ModuleAuthor => "Muinez";
    public DeletionConfig Config { get; set; } = null!;

    public override void Load(bool hotReload)
    {
        RegisterListener<Listeners.OnMapStart>(OnMapStart);
    }

    private void OnMapStart(string map)
    {
        var time = DateTimeOffset.Now.ToUnixTimeSeconds();

        foreach (var config in Config.Directories)
        {
            var path = Path.Combine(Application.RootDirectory, config.Path);
            if (!Directory.Exists(path))
            {
                Logger.LogWarning("Directory doesn't exist: {path}", path);
                continue;
            }

            var deleteCount = 0;
            foreach (var filePath in Directory.EnumerateFiles(path, config.Filter))
            {
                var fileInfo = new FileInfo(filePath);

                if (time - new DateTimeOffset(fileInfo.LastWriteTime).ToUnixTimeSeconds() > config.MaxFileTimeSeconds)
                {
                    File.Delete(fileInfo.FullName);
                    deleteCount++;
                }
            }

            Logger.LogInformation("Deleted {deleteCount} files", deleteCount);
        }
    }

    public void OnConfigParsed(DeletionConfig deletionConfig)
    {
        Config = deletionConfig;
    }
}

public class DeletionConfig : IBasePluginConfig
{
    public int Version { get; set; }

    public List<DirectoryConfig> Directories { get; set; } =
    [
        new DirectoryConfig
        {
            Path = "/csgo/logs",
            Filter = "*.log",
            MaxFileTimeSeconds = 86400 * 7
        }
    ];
}

public class DirectoryConfig
{
    public string Path { get; set; }
    public string Filter { get; set; }
    public int MaxFileTimeSeconds { get; set; }
}


мне пишут что некоторые файлы хоть и старые но не удаляются, в коде ошибка или юзер еблан
I have a list of ingredients that I would like to format in a simple and consistent way, following this structure:

"Quantity Unit Description."

Formatting Rules:

Quantity must be a number (e.g., "200" instead of "two hundred").

Unit must use the metric system and the corresponding abbreviated form (e.g., grams → g, liters → l, milliliters → ml, etc.).

Description should be the ingredient, including any specific details if mentioned (e.g., "brown sugar", "melted unsalted butter").

If an ingredient is already formatted correctly, do not change it.

Do not invent a quantity or unit if none is provided — leave it as is and just include the description.

If a line includes alternatives or multiple options (e.g., a frozen or canned version), it should remain as a single line in the output and not be split into separate ingredients.

Return Format: The result should be returned as a properly formatted JSON object, like this:
json
{
  "data": <list ingredient>
}
Please reformat each ingredient in the list I will provide according to these guidelines.

Context Dump
Ingredients source provided:
1 (18.25 ounce) package chocolate cake mix,1 pound black shoestring licorice,1 (16 ounce) can white frosting,48 eaches pieces candy corn,48 eaches cinnamon red hot candies,1/4 cup orange decorator sugar
give me 50 keywords for pikbest using comma on topic Aerial Drone Footage of Coastal Cliff Video
System: 
You will receive a question-answer pair. Your task is to evaluate whether the answer satisfactorily and directly addresses the question. Use the examples below to guide your assessment.

If the answer is precise, relevant, and can answers the question, return 1. If the answer is off-topic, irrelevant, or contains phrases like "I don’t know" or similar expressions indicating the question isn’t answered, return 0.

Examples:

Example 1:
Question: "Who was the first person to walk on the moon?"
Answer: "The first person to walk on the moon was Neil Armstrong in 1969."
Result: 1

Example 2:
Question: "Who was the first person to walk on the moon?"
Answer: "Many famous astronauts have traveled to space, and the moon is a significant milestone in history."
Result: 0

Example 3:
Question: "What is the primary cause of global warming?"
Answer: "I don’t know."
Result: 0

Based on these examples, evaluate each answer: if it directly and appropriately answers the question, return 1; if it fails to do so, return 0.

User: Question: Vị trí nào được tuyển dụng tại EUROPEAN EYE CENTER LTD.?
Answer:EUROPEAN EYE CENTER LTD. đang tuyển dụng vị trí Junior General Accountant.
Result only 0 or 1. Don't add anything else:
Assistant:
Goal :
    Générer une suggestion détaillée et visuellement attrayante pour la présentation finale d'un plat, basée sur le titre, les ingrédients et les instructions de cuisine. Cette description servira à créer une image du plat.


    Return Format :
    Renvoies un objet JSON respectant strictement cette structure :
    json
    {
        "data": <description>
    },
    - description doit être un prompt dans le but de générer une image et écrit en anglais.


    Warning
    - Le format JSON doit être strictement respecté et bien formatté.
    - Ne renvoie que le JSON, sans explication.


     Context Dump
    Données de la recette fournies :

    json
    {"title":"Grilled salmon with spring vegetables and béarnaise sauce Spring vegetables and béarnaise sauce","ingredients":"Fish : 4 (150g / 5.29 ounces) label rouge salmon fillets,salt,freshly ground pepper,50ml / 3 1/2 tablespoons olive oil\nBéarnaise Sauce : shallots,red wine vinegar,white wine,coarsely ground pepper,tarragon,chervil,clarified butter,egg yolks,white chicken stock,salt\nSpring Vegetables : green asparagus,peas (shelled weight),baby carrots, with greens,new onions, with leaves,young leeks,white chicken stock,butter,olive oil,salt,freshly ground pepper,fleur de sel","instructions":"Preheat the oven to 180°C (350°F).\nSeason the salmon fillets with salt and pepper, then grill them on a hot grill pan or in a well-oiled skillet for about 5 minutes on each side.\nTransfer to the oven to finish cooking for an additional 5 minutes. The salmon should have a slightly pink center.\nPeel and finely chop the shallots.\nIn a sauté pan, combine the shallots, vinegar, wine, and pepper, then let it reduce completely.\nRemove from heat, add the tarragon, and let it infuse for 10 minutes before straining.\nMeanwhile, finely chop the chervil leaves and set them aside.\nMelt the clarified butter.\nIn the sauté pan, whisk the egg yolks with the chicken stock, continuing to whisk vigorously over heat until a thick sabayon forms.\nRemove from heat, gradually add the clarified butter, stirring gently.\nIncorporate the minced chervil and the reduction, then season with salt and pepper to taste.\nRemove the scales from the asparagus, then slice them diagonally.\nBlanch the asparagus tips in cold water before boiling them in salted water for 10 minutes.\nShock in ice water and set aside.\nShell the peas.\nPeel the baby carrots and onions.\nRinse the leeks and slice them diagonally.\nGently braise the vegetables.\nCombine the cooked vegetables with a little chicken stock and butter to bind them.\nAdjust seasoning with salt and pepper as needed.\nWarm the salmon and sauce. Place a grilled salmon fillet on each plate, arrange the vegetables attractively on one side, and finish with a sprinkle of fleur de sel and a twist of freshly ground pepper.\nServe the Béarnaise sauce in a separate serving dish.","region":"FR"}
convert this textWarp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.



 to a professional email
There are 3 objects arranged in a line. Someone says "the table is to the left of the bag, the table is to the left of the box and the bag is to the right of the box."

Is the situation just described possible or impossible? Before answering, take a deep breath. Think step by step before giving a final answer. My survival depends on your answer being correct, so concentrate hard.
Ты — эксперт по играм. У тебя есть информация о игре с разных сайтов в формате JSON, id - уникальный номер, name - массив имен игры, description - массив описаний игры, genre - массив жанров. Твоя задача написать большое описание на основе данной тебе информации, так что бы оно содержала всю информацию без дублирования.  ```{"_id":"1","name":["what the fire truck"],"description":["play as a fire truck in a fire mayhem! you have 2 minutes to keep the city alive and prevent as many people from dying as possible. put out fires, send people to rescue helicopters, and avoid car accidents to prevent the fire from spreading…you need to refill water every now and then! just move next to a fire hydrant. people need to be rescued - touch them to pick them up, then move under the helicopter to send them to safety. your truck moves slower when carrying more people"],"genre":["аркады и классика"]}```
PLEASE CORRECT: Hello Sir Alan,
Following up with the processing of PR 127882 for the anti-rolling tank cleaning. The activity has already been completed with PO. I was informed that the quoatin was already sent to Nap. @Nap, please confirm if you have received the quotation from ENN.
System: 
You will receive a question-answer pair. Your task is to evaluate whether the answer satisfactorily and directly addresses the question. Use the examples below to guide your assessment.

If the answer is precise, relevant, and can answers the question, return 1. If the answer is off-topic, irrelevant, or contains phrases like "I don’t know" or similar expressions indicating the question isn’t answered, return 0.

Examples:

Example 1:
Question: "Who was the first person to walk on the moon?"
Answer: "The first person to walk on the moon was Neil Armstrong in 1969."
Result: 1

Example 2:
Question: "Who was the first person to walk on the moon?"
Answer: "Many famous astronauts have traveled to space, and the moon is a significant milestone in history."
Result: 0

Example 3:
Question: "What is the primary cause of global warming?"
Answer: "I don’t know."
Result: 0

Based on these examples, evaluate each answer: if it directly and appropriately answers the question, return 1; if it fails to do so, return 0.

User: Question: Công ty nào tuyển dụng sinh viên thực tập vào ngày 08/11?
Answer:Công ty TNHH Global Accounting tuyển dụng sinh viên thực tập vào ngày 08/11.
Result only 0 or 1. Don't add anything else:
Assistant:
I’m making a fantasy game (the game will be focused on the Western, Russian and Asian markets, so you can use these elements). I will have three groups of races in the game:
1. Humanoid races (not animal-like and not half-breeds)
This group includes:
- humans
- elves
- dwarves
- orcs
- halflings
- goblins

 For each race, come up with 6 sub-races. Describe each sub-race (description, appearance, culture, religion, magic, men's clothing, women's clothing, military clothing, weapons, architecture, musical theme). it should be diverse, unusual, original and without repetition.
edit this code so thatwhen finding the departure/destination statiion search like start with the provided string. for example if i search pala it should also return pala private bus stand
require ‘time’

class Api::V1::SchedulesController < ApplicationController
def index
departure_station = params[:departure].upcase if params[:departure].present?
destination_station = params[:destination].upcase if params[:destination].present?
time_param = params[:time]
exclude_param = params[:restrict]
time = time_param.present? ? Time.parse(time_param) : nil
exclude = exclude_param.present? ? exclude_param.downcase == ‘true’ : false

if departure_station.present? && destination_station.present?
# all schedules with both dep and dest
# if postgres use the query in below
# schedules = Schedule.joins(:stations)
# .where(stations: { name: [departure_station, destination_station] })
# .select(‘schedules.*’)
# .group(‘schedules.id’)
# .having(‘COUNT(DISTINCT stations.name) = 2’)
# .distinct

# if sqlite use the query in below
schedules = Schedule.joins(:stations)
.where(stations: { name: [departure_station, destination_station] })
.group(‘schedules.id’)
.having(‘COUNT(DISTINCT stations.name) = 2’)
.distinct
.includes(:stations, route: :bus_schedule)
trips = []
schedules.each do |schedule|
stations = schedule.stations.order(:id)
station_names = stations.map(&:name)

# check if dep station comes before dest station using index
departure_index = station_names.find_index(departure_station)
destination_index = station_names.find_index(destination_station)

if departure_index && destination_index && departure_index < destination_index
departure_station_data = stations[departure_index]
departure_time = Time.parse(departure_station_data.departure_time)

# optional time parameter
next if time && departure_time < time

trip_data = {
vehicle_number: schedule.route.bus_schedule.vehicle_number,
trip: schedule.trip,
stations: stations.map do |station|
{
station: station.name,
arrivalTime: station.arrival_time,
departureTime: station.departure_time
}
end
}

# Exclude stations before departure and after destination if exclude parameter is true
if exclude
trip_data[:stations] = trip_data[:stations][departure_index…destination_index]
end

trips << trip_data
end
end

# sort based on dep time of dep station
sorted_trips = trips.sort_by do |trip|
time_str = trip[:stations].find { |station| station[:station] == departure_station }[:departureTime]
Time.parse(time_str) # 12-h am/pm format
end
render json: sorted_trips, status: :ok

else
render json: { error: 'Departure and destination stations are required. ’ }, status: :unprocessable_entity
end
end
end