diff --git "a/main_model.ipynb" "b/main_model.ipynb" new file mode 100644--- /dev/null +++ "b/main_model.ipynb" @@ -0,0 +1,6071 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "e25090fa-f990-4f1a-84f3-b12159eedae8", + "metadata": {}, + "source": [ + "# Implement and test prediciton model" + ] + }, + { + "cell_type": "markdown", + "id": "3bbee2e4-55c8-4b06-9929-72026edf7932", + "metadata": {}, + "source": [ + "## Prerequisites" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "id": "f8c28d2d-8458-49fd-8ebf-5e729d6e861f", + "metadata": {}, + "outputs": [], + "source": [ + "# Prerequisites\n", + "from tabulate import tabulate\n", + "from transformers import pipeline\n", + "import json\n", + "import pandas as pd\n", + "import matplotlib.pyplot as plt\n", + "import pickle\n", + "import os\n", + "import time\n", + "import math\n", + "\n", + "# get candidate labels\n", + "with open(\"packing_label_structure.json\", \"r\") as file:\n", + " candidate_labels = json.load(file)\n", + "keys_list = list(candidate_labels.keys())\n", + "\n", + "# Load test data (in list of dictionaries)\n", + "with open(\"test_data.json\", \"r\") as file:\n", + " packing_data = json.load(file)\n", + "# Extract all trip descriptions and trip_types\n", + "trip_descriptions = [trip['description'] for trip in packing_data]\n", + "trip_types = [trip['trip_types'] for trip in packing_data]\n", + "\n", + "# Access the first trip description\n", + "first_trip = trip_descriptions[0]\n", + "# Get the packing list for the secondfirst trip\n", + "first_trip_type = trip_types[0]\n", + "\n", + "# print(f\"First trip: {first_trip} \\n\")\n", + "# print(f\"Trip type: {first_trip_type}\")" + ] + }, + { + "cell_type": "markdown", + "id": "5cf4f76f-0035-44e8-93af-52eafaec686e", + "metadata": {}, + "source": [ + "**All trip descriptions**" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "id": "89d42ca7-e871-4eda-b428-69e9bd965428", + "metadata": { + "jupyter": { + "source_hidden": true + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "0 . I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands. \n", + "\n", + "beach vacation\n", + "['swimming', 'going to the beach', 'relaxing', 'hiking']\n", + "warm destination / summer\n", + "lightweight (but comfortable)\n", + "casual\n", + "indoor\n", + "no own vehicle\n", + "no special conditions to consider\n", + "7+ days\n", + "\n", + "\n", + "1 . We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train. \n", + "\n", + "city trip\n", + "['sightseeing']\n", + "variable weather / spring / autumn\n", + "luxury (including evening wear)\n", + "casual\n", + "indoor\n", + "no own vehicle\n", + "no special conditions to consider\n", + "3 days\n", + "\n", + "\n", + "2 . My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany. \n", + "\n", + "city trip\n", + "['relaxing']\n", + "cold destination / winter\n", + "lightweight (but comfortable)\n", + "casual\n", + "indoor\n", + "no own vehicle\n", + "no special conditions to consider\n", + "7+ days\n", + "\n", + "\n", + "3 . I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August. \n", + "\n", + "cultural exploration\n", + "['sightseeing', 'hiking', 'rafting']\n", + "variable weather / spring / autumn\n", + "lightweight (but comfortable)\n", + "casual\n", + "indoor\n", + "no own vehicle\n", + "rainy climate\n", + "7+ days\n", + "\n", + "\n", + "4 . We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation. \n", + "\n", + "nature escape\n", + "['swimming', 'relaxing', 'hiking']\n", + "warm destination / summer\n", + "lightweight (but comfortable)\n", + "casual\n", + "indoor\n", + "no own vehicle\n", + "no special conditions to consider\n", + "7+ days\n", + "\n", + "\n", + "5 . I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days. \n", + "\n", + "long-distance hike / thru-hike\n", + "['going to the beach']\n", + "tropical / humid\n", + "minimalist\n", + "casual\n", + "huts with half board\n", + "own vehicle\n", + "off-grid / no electricity\n", + "6 days\n", + "\n", + "\n", + "6 . I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks. \n", + "\n", + "beach vacation\n", + "['stand-up paddleboarding (SUP)', 'surfing']\n", + "cold destination / winter\n", + "ultralight\n", + "casual\n", + "sleeping in a tent\n", + "own vehicle\n", + "off-grid / no electricity\n", + "6 days\n", + "\n", + "\n", + "7 . We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels. \n", + "\n", + "yoga / wellness retreat\n", + "['hut-to-hut hiking', 'yoga']\n", + "cold destination / winter\n", + "lightweight (but comfortable)\n", + "formal (business trip)\n", + "sleeping in a tent\n", + "no own vehicle\n", + "avalanche-prone terrain\n", + "7 days\n", + "\n", + "\n", + "8 . I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days. \n", + "\n", + "ski tour / skitour\n", + "['ski touring', 'photography', 'swimming']\n", + "cold destination / winter\n", + "minimalist\n", + "conservative\n", + "indoor\n", + "no own vehicle\n", + "avalanche-prone terrain\n", + "5 days\n", + "\n", + "\n", + "9 . We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days. \n", + "\n", + "camping trip (wild camping)\n", + "['scuba diving', 'kayaking / canoeing']\n", + "tropical / humid\n", + "lightweight (but comfortable)\n", + "conservative\n", + "sleeping in a tent\n", + "own vehicle\n", + "no special conditions to consider\n", + "3 days\n", + "\n", + "\n" + ] + } + ], + "source": [ + "for i, item in enumerate(trip_descriptions):\n", + " print(i, \".\", item, \"\\n\")\n", + " for elem in trip_types[i]:\n", + " print(elem)\n", + " print(\"\\n\")" + ] + }, + { + "cell_type": "markdown", + "id": "0f60c54b-affc-4d9a-acf1-da70f68c5578", + "metadata": {}, + "source": [ + "**Functions**" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "id": "fac51224-9575-4b4b-8567-4ad4e759ecc9", + "metadata": {}, + "outputs": [], + "source": [ + "# function that returns pandas data frame with predictions\n", + "\n", + "cut_off = 0.5 # used to choose which activities are relevant\n", + "\n", + "def pred_trip(model_name, trip_descr, trip_type, cut_off):\n", + " classifier = pipeline(\"zero-shot-classification\", model=model_name)\n", + " # Create an empty DataFrame with specified columns\n", + " df = pd.DataFrame(columns=['superclass', 'pred_class'])\n", + " for i, key in enumerate(keys_list):\n", + " if key == 'activities':\n", + " result = classifier(trip_descr, candidate_labels[key], multi_label=True)\n", + " indices = [i for i, score in enumerate(result['scores']) if score > cut_off]\n", + " classes = [result['labels'][i] for i in indices]\n", + " else:\n", + " result = classifier(trip_descr, candidate_labels[key])\n", + " classes = result[\"labels\"][0]\n", + " print(result)\n", + " print(classes)\n", + " print(i)\n", + " df.loc[i] = [key, classes]\n", + " df['true_class'] = trip_type\n", + " return df" + ] + }, + { + "cell_type": "code", + "execution_count": 13, + "id": "b36ab806-2f35-4950-ac5a-7c192190cba7", + "metadata": {}, + "outputs": [], + "source": [ + "# function for accuracy, perc true classes identified and perc wrong pred classes\n", + "\n", + "def perf_measure(df):\n", + " df['same_value'] = df['pred_class'] == df['true_class']\n", + " correct = sum(df.loc[df.index != 1, 'same_value'])\n", + " total = len(df['same_value'])\n", + " accuracy = correct/total\n", + " pred_class = df.loc[df.index == 1, 'pred_class'].iloc[0]\n", + " true_class = df.loc[df.index == 1, 'true_class'].iloc[0]\n", + " correct = [label for label in pred_class if label in true_class]\n", + " num_correct = len(correct)\n", + " correct_perc = num_correct/len(true_class)\n", + " num_pred = len(pred_class)\n", + " if num_pred == 0:\n", + " wrong_perc = math.nan\n", + " else:\n", + " wrong_perc = (num_pred - num_correct)/num_pred\n", + " df_perf = pd.DataFrame({\n", + " 'accuracy': [accuracy],\n", + " 'true_ident': [correct_perc],\n", + " 'false_pred': [wrong_perc]\n", + " })\n", + " return(df_perf)" + ] + }, + { + "cell_type": "markdown", + "id": "c10aa57d-d7ed-45c7-bdf5-29af193c7fd5", + "metadata": {}, + "source": [ + "## Make predictions for many models and trip descriptions\n", + "\n", + "Provide a list of candidate models and apply them to the test data." + ] + }, + { + "cell_type": "code", + "execution_count": 25, + "id": "dd7869a8-b436-40de-9ea0-28eb4b7d3248", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "Using model: facebook/bart-large-mnli\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['beach vacation', 'micro-adventure / weekend trip', 'nature escape', 'digital nomad trip', 'cultural exploration', 'yoga / wellness retreat', 'festival trip', 'long-distance hike / thru-hike', 'hut trek (summer)', 'city trip', 'road trip (car/camper)', 'ski tour / skitour', 'camping trip (campground)', 'snowboard / splitboard trip', 'camping trip (wild camping)', 'hut trek (winter)'], 'scores': [0.37631064653396606, 0.35016775131225586, 0.13397355377674103, 0.031636204570531845, 0.031270742416381836, 0.012846449390053749, 0.012699575163424015, 0.009526746347546577, 0.008148356340825558, 0.007793044205754995, 0.006512156222015619, 0.005669699050486088, 0.0044484627433121204, 0.004113250877708197, 0.002713854657486081, 0.002169555053114891]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['going to the beach', 'relaxing', 'hiking', 'swimming', 'sightseeing', 'running', 'hut-to-hut hiking', 'biking', 'photography', 'surfing', 'stand-up paddleboarding (SUP)', 'snorkeling', 'yoga', 'kayaking / canoeing', 'rock climbing', 'fishing', 'paragliding', 'rafting', 'horseback riding', 'snowshoe hiking', 'cross-country skiing', 'ice climbing', 'skiing', 'scuba diving', 'ski touring'], 'scores': [0.9914858341217041, 0.9771362543106079, 0.9426282048225403, 0.21901991963386536, 0.17586199939250946, 0.09854521602392197, 0.08370419591665268, 0.03679152950644493, 0.03668990358710289, 0.03099300153553486, 0.025300050154328346, 0.021451234817504883, 0.011070131324231625, 0.0075112744234502316, 0.006306737195700407, 0.0034973458386957645, 0.002655829070135951, 0.00197031581774354, 0.0015599008183926344, 0.001527810120023787, 0.0015017405385151505, 0.0014336870517581701, 0.0011686616344377398, 0.000789369223639369, 0.0004912536824122071]}\n", + "['going to the beach', 'relaxing', 'hiking']\n", + "1\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['warm destination / summer', 'tropical / humid', 'variable weather / spring / autumn', 'dry / desert-like', 'rainy climate', 'cold destination / winter'], 'scores': [0.6335669755935669, 0.19588233530521393, 0.09201125055551529, 0.05171149596571922, 0.020565617829561234, 0.006262313108891249]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.4286234974861145, 0.2564568817615509, 0.2147122174501419, 0.10020739585161209]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.6567223072052002, 0.3034382164478302, 0.039839524775743484]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['huts with half board', 'indoor', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.5007699728012085, 0.34074831008911133, 0.10416240990161896, 0.05431929975748062]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9397839307785034, 0.0602160282433033]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'pet-friendly', 'travel with children', 'snow and ice', 'no special conditions to consider', 'high alpine terrain', 'snow, ice and avalanche-prone terrain'], 'scores': [0.5433851480484009, 0.12820249795913696, 0.11494462937116623, 0.0686069130897522, 0.05822747200727463, 0.056900881230831146, 0.017693275585770607, 0.01203915011137724]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['7+ days', '2 days', '1 day', '6 days', '3 days', '4 days', '7 days', '5 days'], 'scores': [0.21139054000377655, 0.18512114882469177, 0.14520084857940674, 0.0976138487458229, 0.094282366335392, 0.09376301616430283, 0.09161651134490967, 0.08101171255111694]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [going to the beach, relaxing, hiking] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [swimming, going to the beach, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['city trip', 'micro-adventure / weekend trip', 'cultural exploration', 'festival trip', 'digital nomad trip', 'nature escape', 'hut trek (summer)', 'hut trek (winter)', 'yoga / wellness retreat', 'ski tour / skitour', 'long-distance hike / thru-hike', 'road trip (car/camper)', 'snowboard / splitboard trip', 'beach vacation', 'camping trip (campground)', 'camping trip (wild camping)'], 'scores': [0.43876224756240845, 0.28949078917503357, 0.2296781688928604, 0.013231690041720867, 0.006261605303734541, 0.0048823230899870396, 0.004273542668670416, 0.003523954190313816, 0.002200624207034707, 0.0017751322593539953, 0.0012460413854569197, 0.001187920686788857, 0.001103689894080162, 0.0010212253546342254, 0.0007383587071672082, 0.0006226822733879089]}\n", + "city trip\n", + "0\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['sightseeing', 'running', 'relaxing', 'photography', 'stand-up paddleboarding (SUP)', 'yoga', 'swimming', 'horseback riding', 'biking', 'hiking', 'fishing', 'hut-to-hut hiking', 'snowshoe hiking', 'surfing', 'cross-country skiing', 'ice climbing', 'rock climbing', 'skiing', 'paragliding', 'snorkeling', 'kayaking / canoeing', 'rafting', 'ski touring', 'scuba diving', 'going to the beach'], 'scores': [0.993356466293335, 0.6435525417327881, 0.22852905094623566, 0.041904889047145844, 0.016036055982112885, 0.009409126825630665, 0.005277613643556833, 0.0045664007775485516, 0.003934502601623535, 0.0032551318872720003, 0.0029276658315211535, 0.0028460840694606304, 0.002796007553115487, 0.002782624214887619, 0.0026962263509631157, 0.0022985099349170923, 0.0018938799621537328, 0.0014590730424970388, 0.0014523258432745934, 0.0011245544301345944, 0.0010432893177494407, 0.0005298255709931254, 0.0005263364873826504, 0.0003157037717755884, 0.0002174152177758515]}\n", + "['sightseeing', 'running']\n", + "1\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['variable weather / spring / autumn', 'warm destination / summer', 'dry / desert-like', 'rainy climate', 'cold destination / winter', 'tropical / humid'], 'scores': [0.25322607159614563, 0.22964607179164886, 0.18493399024009705, 0.12236254662275314, 0.1186591386795044, 0.09117220342159271]}\n", + "variable weather / spring / autumn\n", + "2\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)', 'minimalist'], 'scores': [0.33056551218032837, 0.29158779978752136, 0.19290487468242645, 0.18494176864624023]}\n", + "ultralight\n", + "3\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['conservative', 'casual', 'formal (business trip)'], 'scores': [0.5861191749572754, 0.37694796919822693, 0.0369328074157238]}\n", + "conservative\n", + "4\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['huts with half board', 'indoor', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.4559071660041809, 0.4436822831630707, 0.05552537366747856, 0.04488520696759224]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.6754207015037537, 0.32457926869392395]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['pet-friendly', 'off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'snow and ice', 'travel with children', 'high alpine terrain', 'snow, ice and avalanche-prone terrain', 'no special conditions to consider'], 'scores': [0.24086260795593262, 0.2034711241722107, 0.15506187081336975, 0.12316036224365234, 0.09541375935077667, 0.0821211040019989, 0.05152563750743866, 0.04838354140520096]}\n", + "pet-friendly\n", + "7\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['3 days', '4 days', '1 day', '2 days', '7+ days', '5 days', '7 days', '6 days'], 'scores': [0.9385411143302917, 0.012675816193223, 0.009355404414236546, 0.00852197129279375, 0.00844663381576538, 0.00801017601042986, 0.00785527192056179, 0.006593691650778055]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type city trip \n", + "1 activities [sightseeing, running] \n", + "2 climate_or_season variable weather / spring / autumn \n", + "3 style_or_comfort ultralight \n", + "4 dress_code conservative \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions pet-friendly \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [sightseeing] \n", + "2 variable weather / spring / autumn \n", + "3 luxury (including evening wear) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.0\n", + "0 0.444444 1.00 0.5\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['micro-adventure / weekend trip', 'cultural exploration', 'festival trip', 'city trip', 'digital nomad trip', 'hut trek (winter)', 'nature escape', 'ski tour / skitour', 'snowboard / splitboard trip', 'long-distance hike / thru-hike', 'yoga / wellness retreat', 'road trip (car/camper)', 'hut trek (summer)', 'camping trip (campground)', 'beach vacation', 'camping trip (wild camping)'], 'scores': [0.2392912209033966, 0.15534718334674835, 0.13751967251300812, 0.09226146340370178, 0.07452593743801117, 0.06707481294870377, 0.04759081080555916, 0.043233778327703476, 0.028630005195736885, 0.01878121681511402, 0.0180769432336092, 0.017894743010401726, 0.017357835546135902, 0.017217138782143593, 0.01436654757708311, 0.010830691084265709]}\n", + "micro-adventure / weekend trip\n", + "0\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['running', 'sightseeing', 'photography', 'stand-up paddleboarding (SUP)', 'relaxing', 'cross-country skiing', 'skiing', 'biking', 'horseback riding', 'kayaking / canoeing', 'hiking', 'snowshoe hiking', 'rock climbing', 'ice climbing', 'fishing', 'ski touring', 'going to the beach', 'hut-to-hut hiking', 'rafting', 'swimming', 'surfing', 'snorkeling', 'yoga', 'paragliding', 'scuba diving'], 'scores': [0.7003850340843201, 0.11371292173862457, 0.037029631435871124, 0.03360823914408684, 0.02719508484005928, 0.020364845171570778, 0.01584702357649803, 0.015790844336152077, 0.015647919848561287, 0.012953400611877441, 0.010651995427906513, 0.009859885089099407, 0.008985543623566628, 0.008797547779977322, 0.007938007824122906, 0.007290820125490427, 0.006831961218267679, 0.006372789852321148, 0.006293026264756918, 0.004361668601632118, 0.00409139646217227, 0.0032699385192245245, 0.0026200537104159594, 0.0024058902636170387, 0.0014953003264963627]}\n", + "['running']\n", + "1\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['cold destination / winter', 'warm destination / summer', 'dry / desert-like', 'tropical / humid', 'rainy climate', 'variable weather / spring / autumn'], 'scores': [0.2895456552505493, 0.17251597344875336, 0.1585046947002411, 0.15785102546215057, 0.1111224815249443, 0.11046021431684494]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['lightweight (but comfortable)', 'minimalist', 'luxury (including evening wear)', 'ultralight'], 'scores': [0.334703654050827, 0.25336575508117676, 0.2077224999666214, 0.204208105802536]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.5872262120246887, 0.3484684228897095, 0.06430540233850479]}\n", + "casual\n", + "4\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['huts with half board', 'indoor', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.4828520715236664, 0.29535308480262756, 0.13302002847194672, 0.08877479285001755]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.5420998334884644, 0.45790019631385803]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['off-grid / no electricity', 'high alpine terrain', 'snow and ice', 'travel with children', 'self-supported (bring your own cooking gear)', 'pet-friendly', 'snow, ice and avalanche-prone terrain', 'no special conditions to consider'], 'scores': [0.2598118782043457, 0.1469830423593521, 0.14338332414627075, 0.14039750397205353, 0.11434827744960785, 0.0964861735701561, 0.07848488539457321, 0.02010493166744709]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['7+ days', '2 days', '5 days', '1 day', '3 days', '6 days', '4 days', '7 days'], 'scores': [0.1944044679403305, 0.15996229648590088, 0.14701354503631592, 0.11328177154064178, 0.11079160124063492, 0.09671943634748459, 0.0910923033952713, 0.08673460781574249]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type micro-adventure / weekend trip \n", + "1 activities [running] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [relaxing] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.0\n", + "0 0.444444 1.00 0.5\n", + "0 0.444444 0.00 1.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['cultural exploration', 'micro-adventure / weekend trip', 'nature escape', 'hut trek (summer)', 'digital nomad trip', 'city trip', 'long-distance hike / thru-hike', 'festival trip', 'hut trek (winter)', 'yoga / wellness retreat', 'road trip (car/camper)', 'camping trip (campground)', 'beach vacation', 'ski tour / skitour', 'snowboard / splitboard trip', 'camping trip (wild camping)'], 'scores': [0.46336302161216736, 0.1727677881717682, 0.07163920998573303, 0.0506572462618351, 0.04663144052028656, 0.04209558293223381, 0.031931012868881226, 0.025467030704021454, 0.01593252643942833, 0.014883406460285187, 0.013931799679994583, 0.011312623508274555, 0.010983764193952084, 0.01052050944417715, 0.008977973833680153, 0.008905108086764812]}\n", + "cultural exploration\n", + "0\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['hiking', 'rafting', 'sightseeing', 'kayaking / canoeing', 'hut-to-hut hiking', 'running', 'photography', 'horseback riding', 'stand-up paddleboarding (SUP)', 'relaxing', 'swimming', 'biking', 'fishing', 'snowshoe hiking', 'rock climbing', 'going to the beach', 'snorkeling', 'yoga', 'surfing', 'cross-country skiing', 'ice climbing', 'paragliding', 'scuba diving', 'skiing', 'ski touring'], 'scores': [0.972043514251709, 0.9528122544288635, 0.8972923159599304, 0.4682398736476898, 0.32698461413383484, 0.32268962264060974, 0.13095048069953918, 0.08518116176128387, 0.0796419307589531, 0.07568981498479843, 0.05600163713097572, 0.055922020226716995, 0.05140833556652069, 0.043697480112314224, 0.03483415022492409, 0.027331499382853508, 0.024191800504922867, 0.01979714259505272, 0.016146888956427574, 0.014535189606249332, 0.013982715085148811, 0.012163450941443443, 0.007916608825325966, 0.006059339735656977, 0.0032862559892237186]}\n", + "['hiking', 'rafting', 'sightseeing']\n", + "1\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'tropical / humid', 'rainy climate', 'dry / desert-like', 'cold destination / winter'], 'scores': [0.39059990644454956, 0.23674915730953217, 0.14763109385967255, 0.11996342241764069, 0.05489777773618698, 0.05015864595770836]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'luxury (including evening wear)', 'ultralight'], 'scores': [0.3486657440662384, 0.31562066078186035, 0.18116892874240875, 0.1545446217060089]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.653571605682373, 0.2889733612537384, 0.057454951107501984]}\n", + "casual\n", + "4\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['huts with half board', 'indoor', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.46777573227882385, 0.2539612352848053, 0.16836754977703094, 0.10989541560411453]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.5236685872077942, 0.4763314425945282]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'high alpine terrain', 'snow and ice', 'pet-friendly', 'snow, ice and avalanche-prone terrain', 'travel with children', 'no special conditions to consider'], 'scores': [0.46765121817588806, 0.13023345172405243, 0.11790252476930618, 0.10464297235012054, 0.06663361191749573, 0.04771502688527107, 0.04151773825287819, 0.023703478276729584]}\n", + "self-supported (bring your own cooking gear)\n", + "7\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['7+ days', '3 days', '6 days', '7 days', '5 days', '4 days', '2 days', '1 day'], 'scores': [0.37269166111946106, 0.15968835353851318, 0.1272405982017517, 0.11949551105499268, 0.09665583074092865, 0.07941259443759918, 0.02776406519114971, 0.0170513316988945]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type cultural exploration \n", + "1 activities [hiking, rafting, sightseeing] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions self-supported (bring your own cooking gear) \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 cultural exploration \n", + "1 [sightseeing, hiking, rafting] \n", + "2 variable weather / spring / autumn \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 rainy climate \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.0\n", + "0 0.444444 1.00 0.5\n", + "0 0.444444 0.00 1.0\n", + "0 0.444444 1.00 0.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['nature escape', 'micro-adventure / weekend trip', 'hut trek (summer)', 'festival trip', 'cultural exploration', 'digital nomad trip', 'road trip (car/camper)', 'city trip', 'beach vacation', 'yoga / wellness retreat', 'long-distance hike / thru-hike', 'camping trip (campground)', 'ski tour / skitour', 'camping trip (wild camping)', 'snowboard / splitboard trip', 'hut trek (winter)'], 'scores': [0.47466129064559937, 0.16936436295509338, 0.05788277089595795, 0.05779806524515152, 0.05607228726148605, 0.046175211668014526, 0.03308841958642006, 0.022494975477457047, 0.016859961673617363, 0.01673378236591816, 0.011891375295817852, 0.010220238007605076, 0.009581994265317917, 0.00800924189388752, 0.005885846447199583, 0.003280133241787553]}\n", + "nature escape\n", + "0\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['hiking', 'swimming', 'relaxing', 'hut-to-hut hiking', 'snowshoe hiking', 'photography', 'going to the beach', 'running', 'stand-up paddleboarding (SUP)', 'horseback riding', 'kayaking / canoeing', 'sightseeing', 'snorkeling', 'rafting', 'surfing', 'rock climbing', 'fishing', 'paragliding', 'biking', 'yoga', 'ice climbing', 'scuba diving', 'cross-country skiing', 'ski touring', 'skiing'], 'scores': [0.9834448099136353, 0.9827073216438293, 0.9554252624511719, 0.302951455116272, 0.15803122520446777, 0.07539486140012741, 0.04432662948966026, 0.041922833770513535, 0.037780944257974625, 0.021722102537751198, 0.018872562795877457, 0.015834694728255272, 0.01344585046172142, 0.008506654761731625, 0.008275093510746956, 0.007949848659336567, 0.007900969125330448, 0.006161535624414682, 0.005462693050503731, 0.004551028832793236, 0.004176904447376728, 0.003736245445907116, 0.0031280280090868473, 0.0018006752943620086, 0.0014146548928692937]}\n", + "['hiking', 'swimming', 'relaxing']\n", + "1\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'dry / desert-like', 'tropical / humid', 'rainy climate', 'cold destination / winter'], 'scores': [0.9432507753372192, 0.019083881750702858, 0.017521461471915245, 0.009061715565621853, 0.007845294661819935, 0.0032368956599384546]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['luxury (including evening wear)', 'lightweight (but comfortable)', 'ultralight', 'minimalist'], 'scores': [0.3035975396633148, 0.29390522837638855, 0.23362991213798523, 0.16886736452579498]}\n", + "luxury (including evening wear)\n", + "3\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.5692072510719299, 0.3603260815143585, 0.07046671956777573]}\n", + "casual\n", + "4\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['huts with half board', 'indoor', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.5352669954299927, 0.21521903574466705, 0.15747497975826263, 0.09203897416591644]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.6760396361351013, 0.3239603638648987]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['pet-friendly', 'off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'travel with children', 'snow and ice', 'high alpine terrain', 'no special conditions to consider', 'snow, ice and avalanche-prone terrain'], 'scores': [0.35867026448249817, 0.15406230092048645, 0.11717560142278671, 0.10436424612998962, 0.10150676220655441, 0.08092045783996582, 0.06029673293232918, 0.023003650829195976]}\n", + "pet-friendly\n", + "7\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['7+ days', '1 day', '4 days', '2 days', '6 days', '5 days', '7 days', '3 days'], 'scores': [0.831832766532898, 0.03202304244041443, 0.02475377917289734, 0.024069445207715034, 0.023275017738342285, 0.022024031728506088, 0.021049346774816513, 0.020972533151507378]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type nature escape \n", + "1 activities [hiking, swimming, relaxing] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort luxury (including evening wear) \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation own vehicle \n", + "7 special_conditions pet-friendly \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 nature escape \n", + "1 [swimming, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.0\n", + "0 0.444444 1.00 0.5\n", + "0 0.444444 0.00 1.0\n", + "0 0.444444 1.00 0.0\n", + "0 0.444444 1.00 0.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['nature escape', 'long-distance hike / thru-hike', 'road trip (car/camper)', 'micro-adventure / weekend trip', 'digital nomad trip', 'beach vacation', 'festival trip', 'snowboard / splitboard trip', 'city trip', 'cultural exploration', 'camping trip (wild camping)', 'camping trip (campground)', 'hut trek (summer)', 'ski tour / skitour', 'hut trek (winter)', 'yoga / wellness retreat'], 'scores': [0.2722090780735016, 0.2096298784017563, 0.17115218937397003, 0.11708182096481323, 0.04944751039147377, 0.04696764051914215, 0.028846951201558113, 0.0212775319814682, 0.01632694900035858, 0.015267681330442429, 0.014307969249784946, 0.014053658582270145, 0.0068706972524523735, 0.0060454499907791615, 0.005282019730657339, 0.0052328938618302345]}\n", + "nature escape\n", + "0\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['hiking', 'hut-to-hut hiking', 'going to the beach', 'sightseeing', 'snowshoe hiking', 'running', 'photography', 'rock climbing', 'relaxing', 'stand-up paddleboarding (SUP)', 'surfing', 'horseback riding', 'ice climbing', 'yoga', 'swimming', 'snorkeling', 'rafting', 'paragliding', 'fishing', 'biking', 'ski touring', 'cross-country skiing', 'skiing', 'kayaking / canoeing', 'scuba diving'], 'scores': [0.995924174785614, 0.8107315301895142, 0.6704922914505005, 0.09409588575363159, 0.09048515558242798, 0.03622523695230484, 0.026452651247382164, 0.0221311803907156, 0.018599139526486397, 0.015825064852833748, 0.013440313749015331, 0.007497405633330345, 0.00657653110101819, 0.0036618353333324194, 0.002331383991986513, 0.0009992193663492799, 0.0007957113557495177, 0.0006465379847213626, 0.0006223482778295875, 0.0006145680090412498, 0.000583317712880671, 0.0005684427451342344, 0.0004824084462597966, 0.00034976654569618404, 0.0002721030614338815]}\n", + "['hiking', 'hut-to-hut hiking', 'going to the beach']\n", + "1\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'cold destination / winter', 'tropical / humid', 'rainy climate', 'dry / desert-like'], 'scores': [0.32965001463890076, 0.29794076085090637, 0.11647399514913559, 0.11147572845220566, 0.08236908912658691, 0.06209035962820053]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.6689043641090393, 0.15979459881782532, 0.15350840985774994, 0.01779269427061081]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.5058596730232239, 0.4563210606575012, 0.0378192737698555]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['huts with half board', 'sleeping in a car', 'indoor', 'sleeping in a tent'], 'scores': [0.9306207895278931, 0.031916361302137375, 0.02436664327979088, 0.01309619378298521]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.6466068625450134, 0.35339316725730896]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'high alpine terrain', 'pet-friendly', 'snow, ice and avalanche-prone terrain', 'snow and ice', 'travel with children', 'no special conditions to consider'], 'scores': [0.3128555715084076, 0.2207038551568985, 0.17163822054862976, 0.07754844427108765, 0.07415258884429932, 0.06555739045143127, 0.04290366917848587, 0.03464028984308243]}\n", + "self-supported (bring your own cooking gear)\n", + "7\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['7+ days', '6 days', '7 days', '5 days', '1 day', '2 days', '4 days', '3 days'], 'scores': [0.34911271929740906, 0.31416037678718567, 0.25476762652397156, 0.02170025184750557, 0.021649762988090515, 0.014863741584122181, 0.011998875997960567, 0.011746703647077084]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type nature escape \n", + "1 activities [hiking, hut-to-hut hiking, going to the beach] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation own vehicle \n", + "7 special_conditions self-supported (bring your own cooking gear) \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 long-distance hike / thru-hike \n", + "1 [going to the beach] \n", + "2 tropical / humid \n", + "3 minimalist \n", + "4 casual \n", + "5 huts with half board \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.000000\n", + "0 0.444444 1.00 0.500000\n", + "0 0.444444 0.00 1.000000\n", + "0 0.444444 1.00 0.000000\n", + "0 0.444444 1.00 0.000000\n", + "0 0.444444 1.00 0.666667\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['beach vacation', 'road trip (car/camper)', 'nature escape', 'micro-adventure / weekend trip', 'festival trip', 'digital nomad trip', 'cultural exploration', 'city trip', 'camping trip (campground)', 'hut trek (winter)', 'hut trek (summer)', 'long-distance hike / thru-hike', 'yoga / wellness retreat', 'camping trip (wild camping)', 'snowboard / splitboard trip', 'ski tour / skitour'], 'scores': [0.8424649238586426, 0.052122071385383606, 0.045149654150009155, 0.016546053811907768, 0.00966702401638031, 0.007702015805989504, 0.004779668524861336, 0.004560756962746382, 0.0023846791591495275, 0.0023726094514131546, 0.002371410606428981, 0.00234890915453434, 0.0020649293437600136, 0.0020323314238339663, 0.0018846038728952408, 0.0015484279720112681]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['going to the beach', 'surfing', 'stand-up paddleboarding (SUP)', 'running', 'kayaking / canoeing', 'relaxing', 'swimming', 'photography', 'sightseeing', 'rafting', 'hut-to-hut hiking', 'yoga', 'fishing', 'hiking', 'biking', 'horseback riding', 'snorkeling', 'skiing', 'rock climbing', 'paragliding', 'ice climbing', 'snowshoe hiking', 'ski touring', 'scuba diving', 'cross-country skiing'], 'scores': [0.9920135736465454, 0.9526715278625488, 0.9424984455108643, 0.19494973123073578, 0.02892795391380787, 0.011631068773567677, 0.004414754454046488, 0.0006122476770542562, 0.0005591650260612369, 0.00039036732050590217, 0.0002494072250556201, 0.0002450320462230593, 0.0002269407268613577, 0.000170115425135009, 0.00014811556320637465, 0.00010454187577124685, 0.00010332300735171884, 9.331753244623542e-05, 8.935244841268286e-05, 8.883540431270376e-05, 8.413659816142172e-05, 8.254400745499879e-05, 7.817314326530322e-05, 7.580930832773447e-05, 6.3187864725478e-05]}\n", + "['going to the beach', 'surfing', 'stand-up paddleboarding (SUP)']\n", + "1\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['variable weather / spring / autumn', 'cold destination / winter', 'warm destination / summer', 'tropical / humid', 'rainy climate', 'dry / desert-like'], 'scores': [0.6007145643234253, 0.14198429882526398, 0.13107611238956451, 0.06578296422958374, 0.03401350975036621, 0.026428580284118652]}\n", + "variable weather / spring / autumn\n", + "2\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['ultralight', 'lightweight (but comfortable)', 'minimalist', 'luxury (including evening wear)'], 'scores': [0.530884325504303, 0.24740535020828247, 0.1111086905002594, 0.11060160398483276]}\n", + "ultralight\n", + "3\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.5781950354576111, 0.35012683272361755, 0.07167812436819077]}\n", + "casual\n", + "4\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'huts with half board', 'indoor'], 'scores': [0.8374345898628235, 0.14991936087608337, 0.008760198019444942, 0.0038858656771481037]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.8027002811431885, 0.19729973375797272]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'travel with children', 'pet-friendly', 'no special conditions to consider', 'snow and ice', 'high alpine terrain', 'snow, ice and avalanche-prone terrain'], 'scores': [0.27965986728668213, 0.1987694501876831, 0.14365799725055695, 0.13955239951610565, 0.11389462649822235, 0.0478365533053875, 0.04710356518626213, 0.029525553807616234]}\n", + "self-supported (bring your own cooking gear)\n", + "7\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['7+ days', '6 days', '7 days', '5 days', '4 days', '2 days', '3 days', '1 day'], 'scores': [0.38457050919532776, 0.1673465073108673, 0.14360207319259644, 0.11416381597518921, 0.06863638758659363, 0.0520939901471138, 0.046323563903570175, 0.0232631154358387]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [going to the beach, surfing, stand-up paddleb... \n", + "2 climate_or_season variable weather / spring / autumn \n", + "3 style_or_comfort ultralight \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation own vehicle \n", + "7 special_conditions self-supported (bring your own cooking gear) \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [stand-up paddleboarding (SUP), surfing] \n", + "2 cold destination / winter \n", + "3 ultralight \n", + "4 casual \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.000000\n", + "0 0.444444 1.00 0.500000\n", + "0 0.444444 0.00 1.000000\n", + "0 0.444444 1.00 0.000000\n", + "0 0.444444 1.00 0.000000\n", + "0 0.444444 1.00 0.666667\n", + "0 0.555556 1.00 0.333333\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['yoga / wellness retreat', 'nature escape', 'micro-adventure / weekend trip', 'cultural exploration', 'digital nomad trip', 'festival trip', 'city trip', 'hut trek (winter)', 'road trip (car/camper)', 'beach vacation', 'ski tour / skitour', 'long-distance hike / thru-hike', 'camping trip (campground)', 'camping trip (wild camping)', 'snowboard / splitboard trip', 'hut trek (summer)'], 'scores': [0.74217689037323, 0.09625624120235443, 0.055444952100515366, 0.028388148173689842, 0.02349301613867283, 0.012203863821923733, 0.009713404811918736, 0.006852505728602409, 0.004789318423718214, 0.004382884595543146, 0.003765304572880268, 0.003622791962698102, 0.002603724831715226, 0.0023082902189344168, 0.0022947373799979687, 0.0017039375379681587]}\n", + "yoga / wellness retreat\n", + "0\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['yoga', 'hiking', 'relaxing', 'snowshoe hiking', 'hut-to-hut hiking', 'ice climbing', 'rock climbing', 'horseback riding', 'swimming', 'running', 'sightseeing', 'stand-up paddleboarding (SUP)', 'going to the beach', 'photography', 'snorkeling', 'cross-country skiing', 'biking', 'ski touring', 'surfing', 'fishing', 'skiing', 'kayaking / canoeing', 'paragliding', 'scuba diving', 'rafting'], 'scores': [0.8492046594619751, 0.6415605545043945, 0.48942187428474426, 0.15107616782188416, 0.022720757871866226, 0.005493790376931429, 0.004362862557172775, 0.0035604359582066536, 0.0025915896985679865, 0.0024332485627382994, 0.0021809833124279976, 0.0019110202556475997, 0.0011951607884839177, 0.0010689860209822655, 0.001003915793262422, 0.0008895954233594239, 0.0007194960489869118, 0.000655113544780761, 0.000601101026404649, 0.0004903521039523184, 0.0004634983488358557, 0.0003716421779245138, 0.0003238141362089664, 0.0003046975762117654, 0.0002747876278590411]}\n", + "['yoga', 'hiking']\n", + "1\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['cold destination / winter', 'variable weather / spring / autumn', 'warm destination / summer', 'tropical / humid', 'dry / desert-like', 'rainy climate'], 'scores': [0.9410005211830139, 0.02175244688987732, 0.012307265773415565, 0.009386705234646797, 0.009019628167152405, 0.00653340108692646]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['luxury (including evening wear)', 'minimalist', 'ultralight', 'lightweight (but comfortable)'], 'scores': [0.3255053162574768, 0.22910459339618683, 0.22417910397052765, 0.2212110310792923]}\n", + "luxury (including evening wear)\n", + "3\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.642772376537323, 0.3136065900325775, 0.04362105205655098]}\n", + "casual\n", + "4\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['indoor', 'huts with half board', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.45050886273384094, 0.3199365735054016, 0.13311396539211273, 0.0964406430721283]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.5682496428489685, 0.4317503571510315]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['pet-friendly', 'snow and ice', 'self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'travel with children', 'high alpine terrain', 'no special conditions to consider', 'snow, ice and avalanche-prone terrain'], 'scores': [0.21942509710788727, 0.19793370366096497, 0.1405307650566101, 0.13985568284988403, 0.12421175837516785, 0.08468995243310928, 0.04866652190685272, 0.04468655213713646]}\n", + "pet-friendly\n", + "7\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['7+ days', '7 days', '6 days', '4 days', '5 days', '1 day', '3 days', '2 days'], 'scores': [0.19246383011341095, 0.12628361582756042, 0.12603610754013062, 0.11952764540910721, 0.11401552706956863, 0.1101016104221344, 0.10996993631124496, 0.10160179436206818]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type yoga / wellness retreat \n", + "1 activities [yoga, hiking] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort luxury (including evening wear) \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions pet-friendly \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 yoga / wellness retreat \n", + "1 [hut-to-hut hiking, yoga] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 formal (business trip) \n", + "5 sleeping in a tent \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 7 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.000000\n", + "0 0.444444 1.00 0.500000\n", + "0 0.444444 0.00 1.000000\n", + "0 0.444444 1.00 0.000000\n", + "0 0.444444 1.00 0.000000\n", + "0 0.444444 1.00 0.666667\n", + "0 0.555556 1.00 0.333333\n", + "0 0.333333 0.50 0.500000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski tour / skitour', 'digital nomad trip', 'micro-adventure / weekend trip', 'hut trek (winter)', 'nature escape', 'snowboard / splitboard trip', 'cultural exploration', 'road trip (car/camper)', 'city trip', 'festival trip', 'long-distance hike / thru-hike', 'yoga / wellness retreat', 'beach vacation', 'camping trip (campground)', 'hut trek (summer)', 'camping trip (wild camping)'], 'scores': [0.6277877688407898, 0.10147693753242493, 0.08032911270856857, 0.049313176423311234, 0.03282054141163826, 0.023940999060869217, 0.019064947962760925, 0.016684003174304962, 0.013051704503595829, 0.0089231813326478, 0.0070185353979468346, 0.005841666366904974, 0.004441345110535622, 0.003346299286931753, 0.0030660738702863455, 0.0028937174938619137]}\n", + "ski tour / skitour\n", + "0\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski touring', 'skiing', 'cross-country skiing', 'stand-up paddleboarding (SUP)', 'surfing', 'running', 'photography', 'swimming', 'relaxing', 'snowshoe hiking', 'horseback riding', 'ice climbing', 'biking', 'rock climbing', 'kayaking / canoeing', 'fishing', 'hut-to-hut hiking', 'sightseeing', 'snorkeling', 'going to the beach', 'hiking', 'yoga', 'paragliding', 'scuba diving', 'rafting'], 'scores': [0.9693604111671448, 0.8987270593643188, 0.3836323022842407, 0.0930146872997284, 0.0707859992980957, 0.0568058155477047, 0.054869573563337326, 0.04586975648999214, 0.04119567945599556, 0.0407184436917305, 0.03190801665186882, 0.025626182556152344, 0.01811041496694088, 0.01370724942535162, 0.013295331038534641, 0.012912402860820293, 0.010964828543365002, 0.009949550963938236, 0.00915785226970911, 0.006088017951697111, 0.005409067030996084, 0.004837491549551487, 0.0037431824021041393, 0.003286615712568164, 0.0006043871399015188]}\n", + "['ski touring', 'skiing']\n", + "1\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['cold destination / winter', 'dry / desert-like', 'rainy climate', 'variable weather / spring / autumn', 'warm destination / summer', 'tropical / humid'], 'scores': [0.9878360629081726, 0.0043610273860394955, 0.002795081352815032, 0.002403218299150467, 0.0017679239390417933, 0.0008366457186639309]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.39435455203056335, 0.29837822914123535, 0.26335230469703674, 0.04391491040587425]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['conservative', 'casual', 'formal (business trip)'], 'scores': [0.4866763949394226, 0.45126742124557495, 0.06205620989203453]}\n", + "conservative\n", + "4\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['huts with half board', 'indoor', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.4471704363822937, 0.4278737008571625, 0.06446021795272827, 0.06049559265375137]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.757366418838501, 0.24263359606266022]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['high alpine terrain', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'off-grid / no electricity', 'travel with children', 'self-supported (bring your own cooking gear)', 'pet-friendly', 'no special conditions to consider'], 'scores': [0.21986602246761322, 0.20485715568065643, 0.17476209998130798, 0.1469024270772934, 0.09091662615537643, 0.07220977544784546, 0.04944026097655296, 0.04104563966393471]}\n", + "high alpine terrain\n", + "7\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['7+ days', '6 days', '7 days', '4 days', '5 days', '3 days', '2 days', '1 day'], 'scores': [0.7842941284179688, 0.03461426496505737, 0.03410837799310684, 0.0328315868973732, 0.03218388929963112, 0.029369475319981575, 0.02771950326859951, 0.024878760799765587]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type ski tour / skitour \n", + "1 activities [ski touring, skiing] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code conservative \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions high alpine terrain \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 ski tour / skitour \n", + "1 [ski touring, photography, swimming] \n", + "2 cold destination / winter \n", + "3 minimalist \n", + "4 conservative \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 5 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.750000 0.000000\n", + "0 0.444444 1.000000 0.500000\n", + "0 0.444444 0.000000 1.000000\n", + "0 0.444444 1.000000 0.000000\n", + "0 0.444444 1.000000 0.000000\n", + "0 0.444444 1.000000 0.666667\n", + "0 0.555556 1.000000 0.333333\n", + "0 0.333333 0.500000 0.500000\n", + "0 0.555556 0.333333 0.500000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['camping trip (wild camping)', 'micro-adventure / weekend trip', 'nature escape', 'road trip (car/camper)', 'camping trip (campground)', 'cultural exploration', 'digital nomad trip', 'beach vacation', 'festival trip', 'hut trek (summer)', 'city trip', 'long-distance hike / thru-hike', 'hut trek (winter)', 'ski tour / skitour', 'yoga / wellness retreat', 'snowboard / splitboard trip'], 'scores': [0.5653408169746399, 0.16596493124961853, 0.1550244241952896, 0.06219211965799332, 0.02012023888528347, 0.006907567847520113, 0.00554176140576601, 0.0039147986099123955, 0.0036774182226508856, 0.0029754680581390858, 0.0022333606611937284, 0.0013145286357030272, 0.001251422567293048, 0.0012501205783337355, 0.0011948166647925973, 0.0010962533997371793]}\n", + "camping trip (wild camping)\n", + "0\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['kayaking / canoeing', 'snorkeling', 'swimming', 'running', 'going to the beach', 'relaxing', 'rafting', 'stand-up paddleboarding (SUP)', 'fishing', 'scuba diving', 'sightseeing', 'photography', 'surfing', 'hut-to-hut hiking', 'hiking', 'yoga', 'biking', 'rock climbing', 'horseback riding', 'ice climbing', 'snowshoe hiking', 'paragliding', 'cross-country skiing', 'ski touring', 'skiing'], 'scores': [0.9741191864013672, 0.8313708305358887, 0.08023631572723389, 0.0619945228099823, 0.04943564161658287, 0.02998538129031658, 0.00321459979750216, 0.0028121459763497114, 0.0021254396997392178, 0.00206172838807106, 0.0018922867020592093, 0.001279529882594943, 0.0009366609156131744, 0.0009194213780574501, 0.000556303421035409, 0.0005088432226330042, 0.00025728336186148226, 0.00025180858210660517, 0.00023011150187812746, 0.00019034721481148154, 0.00019007424998562783, 0.00017735426081344485, 0.00017349272093269974, 0.00017041667888406664, 0.0001519768702564761]}\n", + "['kayaking / canoeing', 'snorkeling']\n", + "1\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['warm destination / summer', 'tropical / humid', 'variable weather / spring / autumn', 'cold destination / winter', 'dry / desert-like', 'rainy climate'], 'scores': [0.5062881708145142, 0.4000599682331085, 0.07224825769662857, 0.0083619961515069, 0.007302337791770697, 0.005739332642406225]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.6200836896896362, 0.20289665460586548, 0.1540537029504776, 0.022965911775827408]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.7067448496818542, 0.2135496884584427, 0.07970546931028366]}\n", + "casual\n", + "4\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'huts with half board', 'indoor'], 'scores': [0.7308037281036377, 0.18550406396389008, 0.054551079869270325, 0.0291411355137825]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.8557865619659424, 0.14421340823173523]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['self-supported (bring your own cooking gear)', 'travel with children', 'off-grid / no electricity', 'pet-friendly', 'no special conditions to consider', 'high alpine terrain', 'snow and ice', 'snow, ice and avalanche-prone terrain'], 'scores': [0.5496160387992859, 0.11202595382928848, 0.09253081679344177, 0.09185995906591415, 0.07337722927331924, 0.03436800464987755, 0.02890334464609623, 0.017318669706583023]}\n", + "self-supported (bring your own cooking gear)\n", + "7\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['3 days', '4 days', '1 day', '2 days', '5 days', '6 days', '7 days', '7+ days'], 'scores': [0.9294797778129578, 0.01445760764181614, 0.012593325227499008, 0.010713724419474602, 0.00934701506048441, 0.008914248086512089, 0.008393170312047005, 0.0061011724174022675]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type camping trip (wild camping) \n", + "1 activities [kayaking / canoeing, snorkeling] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation own vehicle \n", + "7 special_conditions self-supported (bring your own cooking gear) \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 camping trip (wild camping) \n", + "1 [scuba diving, kayaking / canoeing] \n", + "2 tropical / humid \n", + "3 lightweight (but comfortable) \n", + "4 conservative \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.750000 0.000000\n", + "0 0.444444 1.000000 0.500000\n", + "0 0.444444 0.000000 1.000000\n", + "0 0.444444 1.000000 0.000000\n", + "0 0.444444 1.000000 0.000000\n", + "0 0.444444 1.000000 0.666667\n", + "0 0.555556 1.000000 0.333333\n", + "0 0.333333 0.500000 0.500000\n", + "0 0.555556 0.333333 0.500000\n", + "0 0.444444 0.500000 0.500000\n", + " superclass same_value same_value same_value same_value \\\n", + "0 activity_type True True False True \n", + "1 activities False False False False \n", + "2 climate_or_season True True True False \n", + "3 style_or_comfort False False True False \n", + "4 dress_code True False True True \n", + "5 accommodation False False False False \n", + "6 transportation True True False True \n", + "7 special_conditions False False False False \n", + "8 trip_length_days True True True True \n", + "\n", + " same_value same_value same_value same_value same_value same_value \n", + "0 True False True True True True \n", + "1 False False False False False False \n", + "2 True False False True True False \n", + "3 False True True False True False \n", + "4 True True True False True False \n", + "5 False True True False False True \n", + "6 False True True True True True \n", + "7 False False False False False False \n", + "8 True False False False False True \n", + " superclass accuracy\n", + "0 activity_type 0.8\n", + "1 activities 0.0\n", + "2 climate_or_season 0.6\n", + "3 style_or_comfort 0.4\n", + "4 dress_code 0.7\n", + "5 accommodation 0.3\n", + "6 transportation 0.8\n", + "7 special_conditions 0.0\n", + "8 trip_length_days 0.6\n", + "accuracy 0.466667\n", + "true_ident 0.708333\n", + "false_pred 0.400000\n", + "dtype: float64\n", + "\n", + "Using model: MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n", + "Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['beach vacation', 'micro-adventure / weekend trip', 'cultural exploration', 'nature escape', 'digital nomad trip', 'camping trip (campground)', 'camping trip (wild camping)', 'long-distance hike / thru-hike', 'ski tour / skitour', 'hut trek (summer)', 'city trip', 'hut trek (winter)', 'road trip (car/camper)', 'festival trip', 'yoga / wellness retreat', 'snowboard / splitboard trip'], 'scores': [0.37198853492736816, 0.31496119499206543, 0.10890532284975052, 0.09102731198072433, 0.0735681876540184, 0.012933704070746899, 0.009422042407095432, 0.0051276967860758305, 0.004056071396917105, 0.0017408831045031548, 0.001503779087215662, 0.0014244643971323967, 0.0013752576196566224, 0.0009292717440985143, 0.0006881792796775699, 0.0003480584127828479]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['relaxing', 'hiking', 'going to the beach', 'photography', 'sightseeing', 'hut-to-hut hiking', 'snorkeling', 'snowshoe hiking', 'yoga', 'stand-up paddleboarding (SUP)', 'kayaking / canoeing', 'horseback riding', 'swimming', 'paragliding', 'rafting', 'biking', 'rock climbing', 'surfing', 'running', 'ice climbing', 'cross-country skiing', 'fishing', 'ski touring', 'skiing', 'scuba diving'], 'scores': [0.9943736791610718, 0.9631249308586121, 0.9454535841941833, 0.7538902759552002, 0.4525446593761444, 0.1696157604455948, 0.05957728251814842, 0.04234873503446579, 0.01991761103272438, 0.016971556469798088, 0.006959819234907627, 0.00411367928609252, 0.0030609173700213432, 0.00186573073733598, 0.0017515394138172269, 0.00142807571683079, 0.0005748369731009007, 0.00037779140984639525, 0.0003097739245276898, 0.00030914091621525586, 0.0002725012309383601, 0.00027050732751376927, 0.00024376016517635435, 0.00017392759036738425, 0.00014787293912377208]}\n", + "['relaxing', 'hiking', 'going to the beach', 'photography']\n", + "1\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['tropical / humid', 'warm destination / summer', 'variable weather / spring / autumn', 'cold destination / winter', 'dry / desert-like', 'rainy climate'], 'scores': [0.48904335498809814, 0.2589055597782135, 0.24803946912288666, 0.0017156589310616255, 0.0012655658647418022, 0.0010304278694093227]}\n", + "tropical / humid\n", + "2\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['minimalist', 'luxury (including evening wear)', 'lightweight (but comfortable)', 'ultralight'], 'scores': [0.7574900984764099, 0.09964746236801147, 0.07804173231124878, 0.06482075154781342]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.8163393139839172, 0.11898067593574524, 0.06467998772859573]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['indoor', 'huts with half board', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.6389047503471375, 0.18624886870384216, 0.13902997970581055, 0.03581654652953148]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9990958571434021, 0.0009041387238539755]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['off-grid / no electricity', 'no special conditions to consider', 'pet-friendly', 'self-supported (bring your own cooking gear)', 'travel with children', 'high alpine terrain', 'snow and ice', 'snow, ice and avalanche-prone terrain'], 'scores': [0.810544490814209, 0.07473281025886536, 0.053045518696308136, 0.03528077155351639, 0.011230160482227802, 0.006121503189206123, 0.005538645200431347, 0.0035060641821473837]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['7+ days', '2 days', '7 days', '3 days', '4 days', '6 days', '5 days', '1 day'], 'scores': [0.29225289821624756, 0.20232954621315002, 0.1837582290172577, 0.13940994441509247, 0.06562349200248718, 0.04916509613394737, 0.040249694138765335, 0.0272111464291811]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [relaxing, hiking, going to the beach, photogr... \n", + "2 climate_or_season tropical / humid \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [swimming, going to the beach, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.25\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n", + "Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['city trip', 'cultural exploration', 'micro-adventure / weekend trip', 'ski tour / skitour', 'festival trip', 'digital nomad trip', 'hut trek (winter)', 'camping trip (campground)', 'long-distance hike / thru-hike', 'hut trek (summer)', 'nature escape', 'camping trip (wild camping)', 'yoga / wellness retreat', 'road trip (car/camper)', 'beach vacation', 'snowboard / splitboard trip'], 'scores': [0.517789363861084, 0.297355592250824, 0.1621870994567871, 0.006185388192534447, 0.005294559057801962, 0.002764208009466529, 0.001503965351730585, 0.0014866390265524387, 0.0012240204960107803, 0.0012071850942447782, 0.000757778063416481, 0.0006650012801401317, 0.0005547589971683919, 0.00043604226084426045, 0.00031738984398543835, 0.0002710542466957122]}\n", + "city trip\n", + "0\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['sightseeing', 'relaxing', 'photography', 'yoga', 'running', 'hut-to-hut hiking', 'snorkeling', 'hiking', 'fishing', 'ski touring', 'skiing', 'kayaking / canoeing', 'snowshoe hiking', 'cross-country skiing', 'biking', 'rafting', 'surfing', 'swimming', 'horseback riding', 'ice climbing', 'paragliding', 'stand-up paddleboarding (SUP)', 'rock climbing', 'scuba diving', 'going to the beach'], 'scores': [0.9855273962020874, 0.9635714292526245, 0.791594922542572, 0.013180868700146675, 0.004185712896287441, 0.0006164995720610023, 0.0005089512560516596, 0.00038722704630345106, 0.000375669653294608, 0.0003310823522042483, 0.00022884877398610115, 0.0002159014984499663, 0.00020451076852623373, 0.0002023349079536274, 0.00019493084982968867, 0.00018247796106152236, 0.0001773145777406171, 0.00017507192387711257, 0.00017415419279132038, 0.00015736467321403325, 0.00015411540516652167, 0.00015337606600951403, 0.00013046732055954635, 0.0001136638893513009, 8.333140431204811e-05]}\n", + "['sightseeing', 'relaxing', 'photography']\n", + "1\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['variable weather / spring / autumn', 'tropical / humid', 'warm destination / summer', 'dry / desert-like', 'cold destination / winter', 'rainy climate'], 'scores': [0.43042662739753723, 0.21736130118370056, 0.14634548127651215, 0.09596879780292511, 0.06567718088626862, 0.04422064125537872]}\n", + "variable weather / spring / autumn\n", + "2\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['minimalist', 'luxury (including evening wear)', 'lightweight (but comfortable)', 'ultralight'], 'scores': [0.6332985758781433, 0.31806108355522156, 0.03645138815045357, 0.012188943102955818]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.8808689713478088, 0.1092342659831047, 0.009896709583699703]}\n", + "casual\n", + "4\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['indoor', 'huts with half board', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.9209063649177551, 0.047844164073467255, 0.016391713172197342, 0.014857769012451172]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9575121998786926, 0.04248781502246857]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'no special conditions to consider', 'pet-friendly', 'high alpine terrain', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'travel with children'], 'scores': [0.5913576483726501, 0.10815544426441193, 0.10472814738750458, 0.09538964927196503, 0.040052980184555054, 0.02524641714990139, 0.020440248772501945, 0.014629492536187172]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['3 days', '7 days', '7+ days', '6 days', '5 days', '4 days', '2 days', '1 day'], 'scores': [0.9732263684272766, 0.005229993723332882, 0.004305126611143351, 0.0040198578499257565, 0.004004012327641249, 0.0035397072788327932, 0.00315098837018013, 0.002523934468626976]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type city trip \n", + "1 activities [sightseeing, relaxing, photography] \n", + "2 climate_or_season variable weather / spring / autumn \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [sightseeing] \n", + "2 variable weather / spring / autumn \n", + "3 luxury (including evening wear) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.250000\n", + "0 0.666667 1.00 0.666667\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n", + "Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['long-distance hike / thru-hike', 'micro-adventure / weekend trip', 'ski tour / skitour', 'road trip (car/camper)', 'hut trek (winter)', 'camping trip (campground)', 'cultural exploration', 'camping trip (wild camping)', 'city trip', 'digital nomad trip', 'festival trip', 'yoga / wellness retreat', 'snowboard / splitboard trip', 'nature escape', 'hut trek (summer)', 'beach vacation'], 'scores': [0.18428222835063934, 0.16472335159778595, 0.15679584443569183, 0.11413905769586563, 0.11406941711902618, 0.08902458846569061, 0.04973148554563522, 0.031583271920681, 0.030422447249293327, 0.026326412335038185, 0.013947555795311928, 0.009535877034068108, 0.006091760471463203, 0.004235868342220783, 0.0025933817960321903, 0.00249745836481452]}\n", + "long-distance hike / thru-hike\n", + "0\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['photography', 'hut-to-hut hiking', 'relaxing', 'biking', 'sightseeing', 'stand-up paddleboarding (SUP)', 'yoga', 'hiking', 'running', 'snowshoe hiking', 'snorkeling', 'horseback riding', 'ski touring', 'fishing', 'rock climbing', 'paragliding', 'cross-country skiing', 'kayaking / canoeing', 'ice climbing', 'skiing', 'swimming', 'surfing', 'scuba diving', 'rafting', 'going to the beach'], 'scores': [0.8747606873512268, 0.7860308289527893, 0.7752342820167542, 0.6601109504699707, 0.5563726425170898, 0.40098461508750916, 0.18620018661022186, 0.08292679488658905, 0.029278364032506943, 0.02875898964703083, 0.026927638798952103, 0.019287658855319023, 0.012277821078896523, 0.012152954936027527, 0.008464249782264233, 0.006616678554564714, 0.003658164292573929, 0.0029611748177558184, 0.0017329530091956258, 0.000900006212759763, 0.0006832745275460184, 0.0006616266909986734, 0.0006034388206899166, 0.0004978642682544887, 0.00021995946008246392]}\n", + "['photography', 'hut-to-hut hiking', 'relaxing', 'biking', 'sightseeing']\n", + "1\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['variable weather / spring / autumn', 'cold destination / winter', 'dry / desert-like', 'tropical / humid', 'warm destination / summer', 'rainy climate'], 'scores': [0.40796172618865967, 0.23015542328357697, 0.1665281504392624, 0.1162748783826828, 0.05688817426562309, 0.02219167910516262]}\n", + "variable weather / spring / autumn\n", + "2\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['minimalist', 'luxury (including evening wear)', 'ultralight', 'lightweight (but comfortable)'], 'scores': [0.49710753560066223, 0.45512330532073975, 0.033336345106363297, 0.014432774856686592]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.42594340443611145, 0.4127969741821289, 0.16125959157943726]}\n", + "casual\n", + "4\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['indoor', 'huts with half board', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.4777910113334656, 0.37056005001068115, 0.09322168678045273, 0.05842725932598114]}\n", + "indoor\n", + "5\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.7782192826271057, 0.2217806875705719]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['travel with children', 'off-grid / no electricity', 'snow and ice', 'pet-friendly', 'self-supported (bring your own cooking gear)', 'snow, ice and avalanche-prone terrain', 'no special conditions to consider', 'high alpine terrain'], 'scores': [0.4658125340938568, 0.4539945721626282, 0.02234388329088688, 0.015982529148459435, 0.013252969831228256, 0.010663911700248718, 0.009915503673255444, 0.008034107275307178]}\n", + "travel with children\n", + "7\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['4 days', '2 days', '3 days', '5 days', '6 days', '7 days', '7+ days', '1 day'], 'scores': [0.18973375856876373, 0.18078947067260742, 0.1505221128463745, 0.14832602441310883, 0.13631178438663483, 0.10486350208520889, 0.05539565160870552, 0.0340576246380806]}\n", + "4 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type long-distance hike / thru-hike \n", + "1 activities [photography, hut-to-hut hiking, relaxing, bik... \n", + "2 climate_or_season variable weather / spring / autumn \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation own vehicle \n", + "7 special_conditions travel with children \n", + "8 trip_length_days 4 days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [relaxing] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.250000\n", + "0 0.666667 1.00 0.666667\n", + "0 0.222222 1.00 0.800000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n", + "Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['cultural exploration', 'long-distance hike / thru-hike', 'micro-adventure / weekend trip', 'digital nomad trip', 'nature escape', 'camping trip (wild camping)', 'camping trip (campground)', 'hut trek (summer)', 'ski tour / skitour', 'road trip (car/camper)', 'festival trip', 'yoga / wellness retreat', 'city trip', 'hut trek (winter)', 'beach vacation', 'snowboard / splitboard trip'], 'scores': [0.668387770652771, 0.07042708247900009, 0.05999638885259628, 0.055898163467645645, 0.04305452108383179, 0.04299856722354889, 0.018498297780752182, 0.015932491049170494, 0.006961842067539692, 0.005237370263785124, 0.003001770004630089, 0.0029721364844590425, 0.0028205846901983023, 0.0019974224269390106, 0.0009567165398038924, 0.0008589281351305544]}\n", + "cultural exploration\n", + "0\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['hiking', 'sightseeing', 'relaxing', 'rafting', 'photography', 'hut-to-hut hiking', 'yoga', 'snorkeling', 'stand-up paddleboarding (SUP)', 'snowshoe hiking', 'horseback riding', 'kayaking / canoeing', 'fishing', 'rock climbing', 'swimming', 'cross-country skiing', 'running', 'paragliding', 'ski touring', 'ice climbing', 'skiing', 'surfing', 'scuba diving', 'biking', 'going to the beach'], 'scores': [0.9839256405830383, 0.9650903940200806, 0.9232422709465027, 0.922369122505188, 0.7409248352050781, 0.3022572696208954, 0.12685905396938324, 0.04337437078356743, 0.041546598076820374, 0.009740757755935192, 0.00417504133656621, 0.002574397949501872, 0.0018158124294131994, 0.0018148449016734958, 0.0013712089275941253, 0.0010910178534686565, 0.000954011979047209, 0.0006457357085309923, 0.0006357258534990251, 0.0005135224782861769, 0.0005005916464142501, 0.0003047120408155024, 0.0002177417482016608, 0.00020773695723619312, 9.136748849414289e-05]}\n", + "['hiking', 'sightseeing', 'relaxing', 'rafting', 'photography']\n", + "1\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['warm destination / summer', 'tropical / humid', 'variable weather / spring / autumn', 'rainy climate', 'cold destination / winter', 'dry / desert-like'], 'scores': [0.6145472526550293, 0.20805670320987701, 0.15930761396884918, 0.011608269065618515, 0.0035233532544225454, 0.0029567836318165064]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['minimalist', 'luxury (including evening wear)', 'lightweight (but comfortable)', 'ultralight'], 'scores': [0.919207751750946, 0.04758200794458389, 0.018465206027030945, 0.014744993299245834]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.7479807138442993, 0.18366652727127075, 0.06835272908210754]}\n", + "casual\n", + "4\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['indoor', 'sleeping in a tent', 'huts with half board', 'sleeping in a car'], 'scores': [0.685924768447876, 0.15341545641422272, 0.1058044508099556, 0.05485529452562332]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.8039215803146362, 0.19607843458652496]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'no special conditions to consider', 'pet-friendly', 'snow and ice', 'travel with children', 'high alpine terrain', 'snow, ice and avalanche-prone terrain'], 'scores': [0.8222658038139343, 0.12091955542564392, 0.03274766728281975, 0.013166035525500774, 0.004292955156415701, 0.0028112027794122696, 0.00196539587341249, 0.0018313489854335785]}\n", + "self-supported (bring your own cooking gear)\n", + "7\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '4 days', '3 days', '1 day', '2 days'], 'scores': [0.36233508586883545, 0.2538294196128845, 0.1584722399711609, 0.11025869846343994, 0.08265912532806396, 0.026815863326191902, 0.0033585592173039913, 0.002270989352837205]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type cultural exploration \n", + "1 activities [hiking, sightseeing, relaxing, rafting, photo... \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation own vehicle \n", + "7 special_conditions self-supported (bring your own cooking gear) \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 cultural exploration \n", + "1 [sightseeing, hiking, rafting] \n", + "2 variable weather / spring / autumn \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 rainy climate \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.250000\n", + "0 0.666667 1.00 0.666667\n", + "0 0.222222 1.00 0.800000\n", + "0 0.444444 1.00 0.400000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n", + "Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['nature escape', 'micro-adventure / weekend trip', 'camping trip (campground)', 'camping trip (wild camping)', 'long-distance hike / thru-hike', 'cultural exploration', 'digital nomad trip', 'hut trek (summer)', 'road trip (car/camper)', 'yoga / wellness retreat', 'ski tour / skitour', 'festival trip', 'hut trek (winter)', 'city trip', 'beach vacation', 'snowboard / splitboard trip'], 'scores': [0.46821221709251404, 0.1913614720106125, 0.14855879545211792, 0.08423227816820145, 0.04788343980908394, 0.016885606572031975, 0.011212211102247238, 0.009609132073819637, 0.0072774686850607395, 0.0035800605546683073, 0.003468963084742427, 0.002928431611508131, 0.0020220999140292406, 0.001120257074944675, 0.0010394547134637833, 0.0006081357132643461]}\n", + "nature escape\n", + "0\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['hiking', 'relaxing', 'swimming', 'photography', 'sightseeing', 'snowshoe hiking', 'hut-to-hut hiking', 'yoga', 'snorkeling', 'cross-country skiing', 'stand-up paddleboarding (SUP)', 'running', 'horseback riding', 'fishing', 'scuba diving', 'paragliding', 'going to the beach', 'rock climbing', 'skiing', 'ice climbing', 'kayaking / canoeing', 'biking', 'ski touring', 'rafting', 'surfing'], 'scores': [0.998554527759552, 0.9929585456848145, 0.989205539226532, 0.8121614456176758, 0.28605881333351135, 0.20027336478233337, 0.17530778050422668, 0.008995593525469303, 0.0011329787084832788, 0.0008444859995506704, 0.00078669871436432, 0.0005573185626417398, 0.0005541783757507801, 0.0005045873112976551, 0.0004991647438146174, 0.00044823120697401464, 0.0004205603909213096, 0.0003531767870299518, 0.00028868214576505125, 0.00023395445896312594, 0.00021439691772684455, 0.00016556793707422912, 0.00015522570174653083, 0.0001313926768489182, 0.00012644527305383235]}\n", + "['hiking', 'relaxing', 'swimming', 'photography']\n", + "1\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'tropical / humid', 'dry / desert-like', 'rainy climate', 'cold destination / winter'], 'scores': [0.8910483717918396, 0.09800980240106583, 0.005255310796201229, 0.0021917475387454033, 0.001929041463881731, 0.001565720303915441]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.5139780640602112, 0.256301611661911, 0.16488762199878693, 0.06483276933431625]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.8595023155212402, 0.09716258198022842, 0.04333508759737015]}\n", + "casual\n", + "4\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['huts with half board', 'indoor', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.8222728967666626, 0.08594907820224762, 0.06689213961362839, 0.02488592080771923]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.597112238407135, 0.4028877019882202]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'pet-friendly', 'no special conditions to consider', 'high alpine terrain', 'travel with children', 'snow, ice and avalanche-prone terrain', 'snow and ice'], 'scores': [0.501437246799469, 0.1901351809501648, 0.0844908058643341, 0.06410511583089828, 0.05799434706568718, 0.048301905393600464, 0.03835100680589676, 0.015184413641691208]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['7+ days', '6 days', '7 days', '4 days', '1 day', '5 days', '3 days', '2 days'], 'scores': [0.9844743013381958, 0.0032316879369318485, 0.002960673300549388, 0.002239327412098646, 0.0019594626501202583, 0.0018482916057109833, 0.0016995640471577644, 0.001586676575243473]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type nature escape \n", + "1 activities [hiking, relaxing, swimming, photography] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 nature escape \n", + "1 [swimming, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.250000\n", + "0 0.666667 1.00 0.666667\n", + "0 0.222222 1.00 0.800000\n", + "0 0.444444 1.00 0.400000\n", + "0 0.444444 1.00 0.250000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n", + "Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['road trip (car/camper)', 'long-distance hike / thru-hike', 'camping trip (campground)', 'snowboard / splitboard trip', 'micro-adventure / weekend trip', 'digital nomad trip', 'camping trip (wild camping)', 'beach vacation', 'nature escape', 'cultural exploration', 'ski tour / skitour', 'hut trek (summer)', 'hut trek (winter)', 'yoga / wellness retreat', 'festival trip', 'city trip'], 'scores': [0.3581603765487671, 0.1666868031024933, 0.11373705416917801, 0.06903771311044693, 0.06898597627878189, 0.06709665060043335, 0.058755576610565186, 0.041276127099990845, 0.03695591539144516, 0.010023998096585274, 0.002341673942282796, 0.002134966431185603, 0.0020551029592752457, 0.0018749416340142488, 0.0004647744644898921, 0.000412327004596591]}\n", + "road trip (car/camper)\n", + "0\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['hiking', 'hut-to-hut hiking', 'going to the beach', 'stand-up paddleboarding (SUP)', 'relaxing', 'sightseeing', 'photography', 'snowshoe hiking', 'yoga', 'snorkeling', 'surfing', 'biking', 'running', 'fishing', 'paragliding', 'ski touring', 'kayaking / canoeing', 'horseback riding', 'skiing', 'swimming', 'cross-country skiing', 'rafting', 'rock climbing', 'scuba diving', 'ice climbing'], 'scores': [0.9983406662940979, 0.9565382599830627, 0.9478797316551208, 0.902754008769989, 0.8923397064208984, 0.841303825378418, 0.5309715270996094, 0.025029780343174934, 0.006727217696607113, 0.0019276199163869023, 0.001823142054490745, 0.0010592143516987562, 0.00030009853071533144, 0.00028539166669361293, 0.00023508751473855227, 0.00021481102157849818, 0.00021309839212335646, 0.00016380766464862972, 0.00014706312504131347, 0.00014464960258919746, 0.00010586652206256986, 0.00010350765660405159, 7.789490337017924e-05, 7.494453166145831e-05, 6.507149373646826e-05]}\n", + "['hiking', 'hut-to-hut hiking', 'going to the beach', 'stand-up paddleboarding (SUP)', 'relaxing', 'sightseeing', 'photography']\n", + "1\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'tropical / humid', 'cold destination / winter', 'rainy climate', 'dry / desert-like'], 'scores': [0.513121485710144, 0.3497034013271332, 0.06947162002325058, 0.03189094737172127, 0.025861646980047226, 0.009950918145477772]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.5667839050292969, 0.3139299750328064, 0.11823610216379166, 0.0010499509517103434]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.586778998374939, 0.39063751697540283, 0.022583456709980965]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['huts with half board', 'indoor', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.6787981986999512, 0.2405841052532196, 0.05645131692290306, 0.02416638657450676]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.9323021173477173, 0.06769785284996033]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'travel with children', 'pet-friendly', 'no special conditions to consider', 'high alpine terrain', 'snow, ice and avalanche-prone terrain', 'snow and ice'], 'scores': [0.7983670830726624, 0.06774306297302246, 0.04652620479464531, 0.041964393109083176, 0.020036855712532997, 0.015133778564631939, 0.006431705318391323, 0.0037968673277646303]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['6 days', '7 days', '7+ days', '5 days', '4 days', '3 days', '2 days', '1 day'], 'scores': [0.6142399311065674, 0.2224801629781723, 0.047421883791685104, 0.035134848207235336, 0.03314072638750076, 0.01914696767926216, 0.014791171066462994, 0.013644297607243061]}\n", + "6 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type road trip (car/camper) \n", + "1 activities [hiking, hut-to-hut hiking, going to the beach... \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 6 days \n", + "\n", + " true_class \n", + "0 long-distance hike / thru-hike \n", + "1 [going to the beach] \n", + "2 tropical / humid \n", + "3 minimalist \n", + "4 casual \n", + "5 huts with half board \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.250000\n", + "0 0.666667 1.00 0.666667\n", + "0 0.222222 1.00 0.800000\n", + "0 0.444444 1.00 0.400000\n", + "0 0.444444 1.00 0.250000\n", + "0 0.666667 1.00 0.857143\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n", + "Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['beach vacation', 'road trip (car/camper)', 'camping trip (campground)', 'camping trip (wild camping)', 'nature escape', 'micro-adventure / weekend trip', 'digital nomad trip', 'long-distance hike / thru-hike', 'hut trek (winter)', 'ski tour / skitour', 'cultural exploration', 'festival trip', 'hut trek (summer)', 'city trip', 'yoga / wellness retreat', 'snowboard / splitboard trip'], 'scores': [0.3951776623725891, 0.21291033923625946, 0.16879841685295105, 0.09434804320335388, 0.07415614277124405, 0.026227274909615517, 0.02322726510465145, 0.0012787764426320791, 0.0010216060327365994, 0.0007640988333150744, 0.0007213372737169266, 0.00048160762526094913, 0.0003453298413660377, 0.0002164086326956749, 0.00016523594968020916, 0.00016044963558670133]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['stand-up paddleboarding (SUP)', 'surfing', 'going to the beach', 'relaxing', 'photography', 'kayaking / canoeing', 'sightseeing', 'running', 'hut-to-hut hiking', 'swimming', 'hiking', 'biking', 'rafting', 'paragliding', 'ski touring', 'skiing', 'fishing', 'yoga', 'snowshoe hiking', 'horseback riding', 'snorkeling', 'cross-country skiing', 'rock climbing', 'ice climbing', 'scuba diving'], 'scores': [0.9977894425392151, 0.9974626898765564, 0.9974044561386108, 0.9860560297966003, 0.2143705040216446, 0.13424210250377655, 0.0006285206764005125, 0.000559080857783556, 0.000491830927785486, 0.00028209746233187616, 0.00021844492584932595, 0.00021779512462671846, 0.00020226974447723478, 0.00014247643412090838, 0.0001264697639271617, 0.0001118231812142767, 9.57051815930754e-05, 9.480645530857146e-05, 8.888237061910331e-05, 8.818315109238029e-05, 8.030825119931251e-05, 7.85811134846881e-05, 7.206507871160284e-05, 7.093897147569805e-05, 6.889381620567292e-05]}\n", + "['stand-up paddleboarding (SUP)', 'surfing', 'going to the beach', 'relaxing']\n", + "1\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['variable weather / spring / autumn', 'cold destination / winter', 'rainy climate', 'tropical / humid', 'warm destination / summer', 'dry / desert-like'], 'scores': [0.9220362305641174, 0.06578261405229568, 0.003457459155470133, 0.003184221452102065, 0.0028878299053758383, 0.0026517242658883333]}\n", + "variable weather / spring / autumn\n", + "2\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['lightweight (but comfortable)', 'minimalist', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.4589100182056427, 0.28295740485191345, 0.20278696715831757, 0.055345550179481506]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.7983280420303345, 0.19745494425296783, 0.004217024426907301]}\n", + "casual\n", + "4\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'huts with half board', 'indoor'], 'scores': [0.7962417006492615, 0.18746207654476166, 0.010313964448869228, 0.005982240196317434]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.876501202583313, 0.12349878251552582]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'travel with children', 'pet-friendly', 'no special conditions to consider', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'high alpine terrain'], 'scores': [0.9071246981620789, 0.033948659896850586, 0.021794350817799568, 0.016924234107136726, 0.016163408756256104, 0.0013973935274407268, 0.001366746611893177, 0.0012804430443793535]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '4 days', '3 days', '2 days', '1 day'], 'scores': [0.6046037673950195, 0.20810288190841675, 0.1530735045671463, 0.018971599638462067, 0.010098133236169815, 0.0022630966268479824, 0.0017603544984012842, 0.0011266552610322833]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [stand-up paddleboarding (SUP), surfing, going... \n", + "2 climate_or_season variable weather / spring / autumn \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [stand-up paddleboarding (SUP), surfing] \n", + "2 cold destination / winter \n", + "3 ultralight \n", + "4 casual \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.250000\n", + "0 0.666667 1.00 0.666667\n", + "0 0.222222 1.00 0.800000\n", + "0 0.444444 1.00 0.400000\n", + "0 0.444444 1.00 0.250000\n", + "0 0.666667 1.00 0.857143\n", + "0 0.555556 1.00 0.500000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n", + "Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['yoga / wellness retreat', 'micro-adventure / weekend trip', 'nature escape', 'digital nomad trip', 'cultural exploration', 'long-distance hike / thru-hike', 'road trip (car/camper)', 'ski tour / skitour', 'hut trek (winter)', 'camping trip (wild camping)', 'camping trip (campground)', 'city trip', 'festival trip', 'beach vacation', 'hut trek (summer)', 'snowboard / splitboard trip'], 'scores': [0.46405816078186035, 0.19499483704566956, 0.14341658353805542, 0.11547385901212692, 0.030290555208921432, 0.015799200162291527, 0.014402265660464764, 0.012677941471338272, 0.0023275355342775583, 0.0016577164642512798, 0.001246836967766285, 0.0012342606205493212, 0.001142754452303052, 0.0005846723215654492, 0.0003662731614895165, 0.0003265149425715208]}\n", + "yoga / wellness retreat\n", + "0\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['relaxing', 'yoga', 'hiking', 'photography', 'snowshoe hiking', 'sightseeing', 'ski touring', 'stand-up paddleboarding (SUP)', 'skiing', 'cross-country skiing', 'ice climbing', 'kayaking / canoeing', 'hut-to-hut hiking', 'biking', 'paragliding', 'snorkeling', 'swimming', 'running', 'horseback riding', 'surfing', 'rafting', 'fishing', 'going to the beach', 'rock climbing', 'scuba diving'], 'scores': [0.9918380975723267, 0.9535391330718994, 0.672274649143219, 0.4247259795665741, 0.3034357726573944, 0.010077161714434624, 0.006213327404111624, 0.0013399204472079873, 0.0012658091727644205, 0.0011549124028533697, 0.0008861942333169281, 0.00024395032960455865, 0.0002380398364039138, 0.00023536152730230242, 0.00022959877969697118, 0.00019811194215435535, 0.00018016529793385416, 0.00014743971405550838, 0.00013960531214252114, 0.0001291759981540963, 0.00012798649549949914, 0.0001074853353202343, 9.964496712200344e-05, 7.660414121346548e-05, 7.42444462957792e-05]}\n", + "['relaxing', 'yoga', 'hiking']\n", + "1\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['cold destination / winter', 'variable weather / spring / autumn', 'dry / desert-like', 'rainy climate', 'warm destination / summer', 'tropical / humid'], 'scores': [0.5693627595901489, 0.4145868718624115, 0.006239001173526049, 0.0035838813055306673, 0.0032568227034062147, 0.0029706312343478203]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['luxury (including evening wear)', 'minimalist', 'ultralight', 'lightweight (but comfortable)'], 'scores': [0.45078396797180176, 0.2524451017379761, 0.21232369542121887, 0.0844472348690033]}\n", + "luxury (including evening wear)\n", + "3\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.4959491193294525, 0.45532676577568054, 0.04872409626841545]}\n", + "casual\n", + "4\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['indoor', 'sleeping in a car', 'huts with half board', 'sleeping in a tent'], 'scores': [0.9970117807388306, 0.0012196978786960244, 0.0009669443825259805, 0.0008015218190848827]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9234082102775574, 0.07659179717302322]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['off-grid / no electricity', 'snow and ice', 'self-supported (bring your own cooking gear)', 'snow, ice and avalanche-prone terrain', 'pet-friendly', 'travel with children', 'no special conditions to consider', 'high alpine terrain'], 'scores': [0.3601081669330597, 0.20692192018032074, 0.11731268465518951, 0.09632544219493866, 0.08053451776504517, 0.07588376104831696, 0.036225754767656326, 0.026687752455472946]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['7+ days', '7 days', '6 days', '4 days', '1 day', '5 days', '2 days', '3 days'], 'scores': [0.5208777785301208, 0.14344076812267303, 0.06592515110969543, 0.06006554141640663, 0.058740489184856415, 0.05628417432308197, 0.04770059138536453, 0.04696553945541382]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type yoga / wellness retreat \n", + "1 activities [relaxing, yoga, hiking] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort luxury (including evening wear) \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 yoga / wellness retreat \n", + "1 [hut-to-hut hiking, yoga] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 formal (business trip) \n", + "5 sleeping in a tent \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 7 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.75 0.250000\n", + "0 0.666667 1.00 0.666667\n", + "0 0.222222 1.00 0.800000\n", + "0 0.444444 1.00 0.400000\n", + "0 0.444444 1.00 0.250000\n", + "0 0.666667 1.00 0.857143\n", + "0 0.555556 1.00 0.500000\n", + "0 0.333333 0.50 0.666667\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n", + "Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski tour / skitour', 'nature escape', 'micro-adventure / weekend trip', 'digital nomad trip', 'hut trek (winter)', 'camping trip (campground)', 'cultural exploration', 'camping trip (wild camping)', 'long-distance hike / thru-hike', 'road trip (car/camper)', 'festival trip', 'city trip', 'yoga / wellness retreat', 'beach vacation', 'snowboard / splitboard trip', 'hut trek (summer)'], 'scores': [0.5919525027275085, 0.2289041429758072, 0.07317564636468887, 0.06097633019089699, 0.01406833902001381, 0.00863419845700264, 0.007936266250908375, 0.007515486795455217, 0.0021518156863749027, 0.0020737501326948404, 0.0008448517182841897, 0.00044059380888938904, 0.0003626210382208228, 0.0003368121397215873, 0.0003157727769576013, 0.00031089383992366493]}\n", + "ski tour / skitour\n", + "0\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski touring', 'skiing', 'sightseeing', 'photography', 'relaxing', 'cross-country skiing', 'hut-to-hut hiking', 'yoga', 'hiking', 'running', 'biking', 'horseback riding', 'paragliding', 'rafting', 'stand-up paddleboarding (SUP)', 'ice climbing', 'fishing', 'snowshoe hiking', 'surfing', 'swimming', 'kayaking / canoeing', 'snorkeling', 'going to the beach', 'rock climbing', 'scuba diving'], 'scores': [0.9987204670906067, 0.9963658452033997, 0.9865459203720093, 0.9804731011390686, 0.8563032150268555, 0.7779815793037415, 0.19577525556087494, 0.0010548781137913465, 0.0006197057664394379, 0.00037219628575257957, 0.0002205639611929655, 0.0001787398214219138, 0.0001771355455275625, 0.00013793531979899853, 0.00013632347690872848, 0.0001295986003242433, 0.00012288810103200376, 0.00011756696767406538, 0.0001118058426072821, 0.00010636160732246935, 0.00010279223351972178, 9.670337021816522e-05, 8.348527626367286e-05, 7.724519673502073e-05, 7.695911335758865e-05]}\n", + "['ski touring', 'skiing', 'sightseeing', 'photography', 'relaxing', 'cross-country skiing']\n", + "1\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['cold destination / winter', 'variable weather / spring / autumn', 'dry / desert-like', 'warm destination / summer', 'rainy climate', 'tropical / humid'], 'scores': [0.6203374862670898, 0.3432581126689911, 0.03152566775679588, 0.002107099862769246, 0.0016169734299182892, 0.0011546735186129808]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.8986173272132874, 0.06462831050157547, 0.028406310826539993, 0.008348064497113228]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['conservative', 'casual', 'formal (business trip)'], 'scores': [0.7938951849937439, 0.18035703897476196, 0.025747762992978096]}\n", + "conservative\n", + "4\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['indoor', 'huts with half board', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.9262222647666931, 0.07096097618341446, 0.0016457439633086324, 0.0011709631653502584]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.574442446231842, 0.42555755376815796]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['off-grid / no electricity', 'high alpine terrain', 'self-supported (bring your own cooking gear)', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'travel with children', 'pet-friendly', 'no special conditions to consider'], 'scores': [0.4322056770324707, 0.38066422939300537, 0.08111020177602768, 0.07165121287107468, 0.015590413473546505, 0.010827657766640186, 0.006309023592621088, 0.001641585142351687]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['7+ days', '6 days', '7 days', '4 days', '5 days', '3 days', '2 days', '1 day'], 'scores': [0.9776753783226013, 0.00702147139236331, 0.0038345607463270426, 0.003449323819950223, 0.003415751503780484, 0.0018735482590273023, 0.0014157469850033522, 0.0013141565723344684]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type ski tour / skitour \n", + "1 activities [ski touring, skiing, sightseeing, photography... \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code conservative \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 ski tour / skitour \n", + "1 [ski touring, photography, swimming] \n", + "2 cold destination / winter \n", + "3 minimalist \n", + "4 conservative \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 5 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.750000 0.250000\n", + "0 0.666667 1.000000 0.666667\n", + "0 0.222222 1.000000 0.800000\n", + "0 0.444444 1.000000 0.400000\n", + "0 0.444444 1.000000 0.250000\n", + "0 0.666667 1.000000 0.857143\n", + "0 0.555556 1.000000 0.500000\n", + "0 0.333333 0.500000 0.666667\n", + "0 0.666667 0.666667 0.666667\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n", + "Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['camping trip (wild camping)', 'camping trip (campground)', 'nature escape', 'road trip (car/camper)', 'micro-adventure / weekend trip', 'cultural exploration', 'digital nomad trip', 'beach vacation', 'festival trip', 'hut trek (summer)', 'ski tour / skitour', 'city trip', 'long-distance hike / thru-hike', 'hut trek (winter)', 'yoga / wellness retreat', 'snowboard / splitboard trip'], 'scores': [0.4090118408203125, 0.18541279435157776, 0.14566461741924286, 0.12489636987447739, 0.12290126830339432, 0.005142510868608952, 0.004360955208539963, 0.0011877295328304172, 0.0003200601786375046, 0.00025870397803373635, 0.0001905007811728865, 0.0001586369617143646, 0.0001514375035185367, 0.00011631657980615273, 0.00011354040179867297, 0.00011269596870988607]}\n", + "camping trip (wild camping)\n", + "0\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['relaxing', 'snorkeling', 'kayaking / canoeing', 'swimming', 'photography', 'stand-up paddleboarding (SUP)', 'going to the beach', 'sightseeing', 'rafting', 'running', 'scuba diving', 'biking', 'hut-to-hut hiking', 'hiking', 'paragliding', 'yoga', 'fishing', 'surfing', 'skiing', 'ski touring', 'horseback riding', 'snowshoe hiking', 'rock climbing', 'cross-country skiing', 'ice climbing'], 'scores': [0.9964197874069214, 0.9916488528251648, 0.9904573559761047, 0.17333059012889862, 0.14225755631923676, 0.0404655858874321, 0.0019461705815047026, 0.0003178374608978629, 0.00022783711028750986, 0.00017821074288804084, 0.00015423927106894553, 0.00014300004113465548, 0.00014066178118810058, 0.0001373578852508217, 0.00011630547669483349, 0.00011405810801079497, 0.00010285437747370452, 9.411925566382706e-05, 9.343672718387097e-05, 7.889071275712922e-05, 6.683648098260164e-05, 6.300608947640285e-05, 5.924535435042344e-05, 5.9015645092586055e-05, 5.710310142603703e-05]}\n", + "['relaxing', 'snorkeling', 'kayaking / canoeing']\n", + "1\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['tropical / humid', 'variable weather / spring / autumn', 'warm destination / summer', 'dry / desert-like', 'cold destination / winter', 'rainy climate'], 'scores': [0.759843647480011, 0.14727894961833954, 0.08767009526491165, 0.001814203686080873, 0.0017567673930898309, 0.0016363230533897877]}\n", + "tropical / humid\n", + "2\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['lightweight (but comfortable)', 'minimalist', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.5354230403900146, 0.4389401972293854, 0.024860601872205734, 0.0007761855376884341]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.7943604588508606, 0.2015313357114792, 0.004108184017241001]}\n", + "casual\n", + "4\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'huts with half board', 'indoor'], 'scores': [0.9710471034049988, 0.0243143979460001, 0.0023756471928209066, 0.0022628409788012505]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.8615924119949341, 0.1384076178073883]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'travel with children', 'no special conditions to consider', 'pet-friendly', 'high alpine terrain', 'snow and ice', 'snow, ice and avalanche-prone terrain'], 'scores': [0.9020853638648987, 0.043923188000917435, 0.028099719434976578, 0.01661023125052452, 0.007342871744185686, 0.0007304990431293845, 0.000623871514108032, 0.0005843001417815685]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['3 days', '7+ days', '7 days', '6 days', '5 days', '2 days', '4 days', '1 day'], 'scores': [0.9720207452774048, 0.006179640535265207, 0.004965152591466904, 0.004322774708271027, 0.003295403439551592, 0.003191810566931963, 0.0030532763339579105, 0.002971131354570389]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type camping trip (wild camping) \n", + "1 activities [relaxing, snorkeling, kayaking / canoeing] \n", + "2 climate_or_season tropical / humid \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 camping trip (wild camping) \n", + "1 [scuba diving, kayaking / canoeing] \n", + "2 tropical / humid \n", + "3 lightweight (but comfortable) \n", + "4 conservative \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.750000 0.250000\n", + "0 0.666667 1.000000 0.666667\n", + "0 0.222222 1.000000 0.800000\n", + "0 0.444444 1.000000 0.400000\n", + "0 0.444444 1.000000 0.250000\n", + "0 0.666667 1.000000 0.857143\n", + "0 0.555556 1.000000 0.500000\n", + "0 0.333333 0.500000 0.666667\n", + "0 0.666667 0.666667 0.666667\n", + "0 0.666667 0.500000 0.666667\n", + " superclass same_value same_value same_value same_value \\\n", + "0 activity_type True True False True \n", + "1 activities False False False False \n", + "2 climate_or_season False True False False \n", + "3 style_or_comfort False False False False \n", + "4 dress_code True True True True \n", + "5 accommodation True True True True \n", + "6 transportation True True False False \n", + "7 special_conditions False False False False \n", + "8 trip_length_days True True False True \n", + "\n", + " same_value same_value same_value same_value same_value same_value \n", + "0 True False True True True True \n", + "1 False False False False False False \n", + "2 True False False True True True \n", + "3 False True False False True True \n", + "4 True True True False True False \n", + "5 False True True False True True \n", + "6 False True True True True True \n", + "7 False True True False False False \n", + "8 True True False False False True \n", + " superclass accuracy\n", + "0 activity_type 0.8\n", + "1 activities 0.0\n", + "2 climate_or_season 0.5\n", + "3 style_or_comfort 0.3\n", + "4 dress_code 0.8\n", + "5 accommodation 0.8\n", + "6 transportation 0.7\n", + "7 special_conditions 0.2\n", + "8 trip_length_days 0.6\n", + "accuracy 0.522222\n", + "true_ident 0.841667\n", + "false_pred 0.572381\n", + "dtype: float64\n", + "\n", + "Using model: cross-encoder/nli-deberta-v3-large\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['micro-adventure / weekend trip', 'city trip', 'hut trek (summer)', 'beach vacation', 'digital nomad trip', 'camping trip (campground)', 'nature escape', 'cultural exploration', 'festival trip', 'camping trip (wild camping)', 'road trip (car/camper)', 'ski tour / skitour', 'snowboard / splitboard trip', 'hut trek (winter)', 'yoga / wellness retreat', 'long-distance hike / thru-hike'], 'scores': [0.8287948966026306, 0.09133999794721603, 0.017081592231988907, 0.014321324415504932, 0.010409037582576275, 0.010052165016531944, 0.008135324344038963, 0.007623058278113604, 0.004670996218919754, 0.0017132292268797755, 0.0016403804766014218, 0.001247850595973432, 0.0010910810669884086, 0.0007305871695280075, 0.0007001596968621016, 0.00044831138802692294]}\n", + "micro-adventure / weekend trip\n", + "0\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['relaxing', 'going to the beach', 'running', 'sightseeing', 'hiking', 'photography', 'biking', 'rafting', 'hut-to-hut hiking', 'kayaking / canoeing', 'rock climbing', 'surfing', 'fishing', 'swimming', 'snorkeling', 'horseback riding', 'yoga', 'paragliding', 'stand-up paddleboarding (SUP)', 'snowshoe hiking', 'ski touring', 'skiing', 'scuba diving', 'ice climbing', 'cross-country skiing'], 'scores': [0.9993696808815002, 0.994816780090332, 0.9880409240722656, 0.7659758925437927, 0.4258195459842682, 0.041821204125881195, 0.010814587585628033, 0.007402198389172554, 0.006703341845422983, 0.00533600989729166, 0.00395909184589982, 0.0028381755109876394, 0.00020599244453478605, 0.00017683992336969823, 0.0001498354395153001, 0.00013753182429354638, 9.493054676568136e-05, 6.453959213104099e-05, 5.837985736434348e-05, 5.7829227444017306e-05, 3.108516102656722e-05, 2.6243807951686904e-05, 1.9089864508714527e-05, 7.225507488328731e-06, 3.5949053653894225e-06]}\n", + "['relaxing', 'going to the beach', 'running', 'sightseeing']\n", + "1\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['warm destination / summer', 'tropical / humid', 'variable weather / spring / autumn', 'rainy climate', 'dry / desert-like', 'cold destination / winter'], 'scores': [0.9889683127403259, 0.005813435651361942, 0.0038605432491749525, 0.0007030518027022481, 0.00033226574305444956, 0.00032238513813354075]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.5559775829315186, 0.33388006687164307, 0.09061694890260696, 0.01952546276152134]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9996005892753601, 0.0003186003305017948, 8.08274926384911e-05]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['indoor', 'huts with half board', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.7362233996391296, 0.15061788260936737, 0.06826252490282059, 0.04489617794752121]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9997497200965881, 0.0002502583374734968]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['off-grid / no electricity', 'no special conditions to consider', 'pet-friendly', 'self-supported (bring your own cooking gear)', 'travel with children', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'high alpine terrain'], 'scores': [0.4224582314491272, 0.20016783475875854, 0.10900948196649551, 0.10512442886829376, 0.07256706058979034, 0.03978286683559418, 0.03177373856306076, 0.01911632902920246]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['7+ days', '7 days', '2 days', '1 day', '6 days', '3 days', '5 days', '4 days'], 'scores': [0.8943870663642883, 0.023956967517733574, 0.019253620877861977, 0.0178621094673872, 0.012226228602230549, 0.011473559774458408, 0.011415903456509113, 0.009424524381756783]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type micro-adventure / weekend trip \n", + "1 activities [relaxing, going to the beach, running, sights... \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [swimming, going to the beach, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.5 0.5\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['cultural exploration', 'city trip', 'micro-adventure / weekend trip', 'festival trip', 'nature escape', 'hut trek (summer)', 'ski tour / skitour', 'hut trek (winter)', 'digital nomad trip', 'camping trip (campground)', 'long-distance hike / thru-hike', 'beach vacation', 'yoga / wellness retreat', 'road trip (car/camper)', 'snowboard / splitboard trip', 'camping trip (wild camping)'], 'scores': [0.5318827033042908, 0.42145124077796936, 0.04579273983836174, 0.0002915091463364661, 0.00016072635480668396, 9.5082723419182e-05, 7.980103691807017e-05, 6.755583308404312e-05, 4.05796236009337e-05, 2.7755640985560603e-05, 2.585061884019524e-05, 2.361070437473245e-05, 1.784220148692839e-05, 1.5761559552629478e-05, 1.443640394427348e-05, 1.2823280485463329e-05]}\n", + "cultural exploration\n", + "0\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['sightseeing', 'relaxing', 'running', 'photography', 'hiking', 'hut-to-hut hiking', 'biking', 'yoga', 'skiing', 'rafting', 'fishing', 'rock climbing', 'swimming', 'ski touring', 'surfing', 'paragliding', 'snorkeling', 'snowshoe hiking', 'going to the beach', 'ice climbing', 'horseback riding', 'cross-country skiing', 'kayaking / canoeing', 'scuba diving', 'stand-up paddleboarding (SUP)'], 'scores': [0.9995245337486267, 0.05974387377500534, 0.0031614520121365786, 0.0011824981775134802, 0.0004854644648730755, 9.316338400822133e-05, 7.36035144655034e-05, 5.5068339861463755e-05, 5.210224844631739e-05, 4.0033424738794565e-05, 3.748748713405803e-05, 2.8883358027087525e-05, 2.734822737693321e-05, 2.5529248887323774e-05, 2.3534365027444437e-05, 2.3330721887759864e-05, 1.6083115042420104e-05, 1.289603369514225e-05, 1.0514135283301584e-05, 9.6270296126022e-06, 7.0820860855747014e-06, 5.739206244470552e-06, 4.68910957351909e-06, 4.4889225137012545e-06, 3.847493644570932e-06]}\n", + "['sightseeing']\n", + "1\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['cold destination / winter', 'warm destination / summer', 'tropical / humid', 'dry / desert-like', 'variable weather / spring / autumn', 'rainy climate'], 'scores': [0.3264511525630951, 0.23442551493644714, 0.18325763940811157, 0.14928942918777466, 0.0702625960111618, 0.036313727498054504]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['lightweight (but comfortable)', 'ultralight', 'minimalist', 'luxury (including evening wear)'], 'scores': [0.3723154067993164, 0.3650260865688324, 0.2281864732503891, 0.034472037106752396]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9979093670845032, 0.0019298898987472057, 0.00016075449821073562]}\n", + "casual\n", + "4\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['indoor', 'huts with half board', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.830101490020752, 0.13907094299793243, 0.016454627737402916, 0.014373005367815495]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.969009280204773, 0.030990784987807274]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['no special conditions to consider', 'self-supported (bring your own cooking gear)', 'travel with children', 'snow, ice and avalanche-prone terrain', 'snow and ice', 'high alpine terrain', 'off-grid / no electricity', 'pet-friendly'], 'scores': [0.2154734581708908, 0.19797715544700623, 0.1925027221441269, 0.1500750184059143, 0.0820290669798851, 0.06434567272663116, 0.05154459550976753, 0.04605231061577797]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['3 days', '4 days', '7 days', '2 days', '7+ days', '5 days', '6 days', '1 day'], 'scores': [0.9992363452911377, 0.00016357550339307636, 0.00015738196088932455, 0.00011236773570999503, 9.915030386764556e-05, 9.437248081667349e-05, 7.668620673939586e-05, 6.0044061683584005e-05]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type cultural exploration \n", + "1 activities [sightseeing] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [sightseeing] \n", + "2 variable weather / spring / autumn \n", + "3 luxury (including evening wear) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.5 0.5\n", + "0 0.444444 1.0 0.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['hut trek (winter)', 'micro-adventure / weekend trip', 'city trip', 'cultural exploration', 'festival trip', 'long-distance hike / thru-hike', 'ski tour / skitour', 'camping trip (campground)', 'nature escape', 'digital nomad trip', 'beach vacation', 'camping trip (wild camping)', 'snowboard / splitboard trip', 'hut trek (summer)', 'road trip (car/camper)', 'yoga / wellness retreat'], 'scores': [0.4834001064300537, 0.12824377417564392, 0.09028805047273636, 0.07648620754480362, 0.06000380218029022, 0.057283978909254074, 0.021856972947716713, 0.02080823853611946, 0.011099441908299923, 0.009874270297586918, 0.009424089454114437, 0.007024981547147036, 0.007009773049503565, 0.006625456735491753, 0.005765644833445549, 0.004805189557373524]}\n", + "hut trek (winter)\n", + "0\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['running', 'relaxing', 'sightseeing', 'photography', 'ski touring', 'biking', 'hiking', 'paragliding', 'fishing', 'going to the beach', 'skiing', 'rafting', 'surfing', 'swimming', 'yoga', 'snorkeling', 'hut-to-hut hiking', 'rock climbing', 'stand-up paddleboarding (SUP)', 'ice climbing', 'horseback riding', 'cross-country skiing', 'scuba diving', 'kayaking / canoeing', 'snowshoe hiking'], 'scores': [0.7313521504402161, 0.06660664081573486, 0.0650344267487526, 0.001094536972232163, 0.00034268476883880794, 0.00019121664809063077, 0.00011500819528009742, 9.090454113902524e-05, 8.072275522863492e-05, 7.15399655746296e-05, 5.3108116844668984e-05, 5.1117920520482585e-05, 2.8454334824346006e-05, 2.7532318199519068e-05, 1.702787631074898e-05, 1.5604122381773777e-05, 7.68764493841445e-06, 6.802099505875958e-06, 6.3559054979123175e-06, 5.844503903063014e-06, 5.152369340066798e-06, 4.774296030518599e-06, 3.963822564401198e-06, 3.7496974982786924e-06, 3.6461960917222314e-06]}\n", + "['running']\n", + "1\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['cold destination / winter', 'warm destination / summer', 'tropical / humid', 'variable weather / spring / autumn', 'rainy climate', 'dry / desert-like'], 'scores': [0.8163180947303772, 0.04893011972308159, 0.04006671532988548, 0.037250615656375885, 0.034520089626312256, 0.022914350032806396]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['minimalist', 'ultralight', 'luxury (including evening wear)', 'lightweight (but comfortable)'], 'scores': [0.7749822735786438, 0.14842133224010468, 0.0448586568236351, 0.03173772245645523]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9957424402236938, 0.003353068372234702, 0.0009044984471984208]}\n", + "casual\n", + "4\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['indoor', 'huts with half board', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.8998523950576782, 0.07679951936006546, 0.012857666239142418, 0.01049045380204916]}\n", + "indoor\n", + "5\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.6864712238311768, 0.31352877616882324]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['travel with children', 'no special conditions to consider', 'self-supported (bring your own cooking gear)', 'snow, ice and avalanche-prone terrain', 'off-grid / no electricity', 'pet-friendly', 'high alpine terrain', 'snow and ice'], 'scores': [0.6426178216934204, 0.10568558424711227, 0.049869850277900696, 0.04875637963414192, 0.04817624017596245, 0.04273972660303116, 0.0314004011452198, 0.030754046514630318]}\n", + "travel with children\n", + "7\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['7+ days', '5 days', '2 days', '7 days', '3 days', '4 days', '6 days', '1 day'], 'scores': [0.43741375207901, 0.1651458889245987, 0.12911707162857056, 0.1284378319978714, 0.07198749482631683, 0.046468306332826614, 0.02067563869059086, 0.0007540148217231035]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type hut trek (winter) \n", + "1 activities [running] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation own vehicle \n", + "7 special_conditions travel with children \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [relaxing] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.5 0.5\n", + "0 0.444444 1.0 0.0\n", + "0 0.444444 0.0 1.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['cultural exploration', 'long-distance hike / thru-hike', 'hut trek (summer)', 'camping trip (campground)', 'nature escape', 'city trip', 'camping trip (wild camping)', 'road trip (car/camper)', 'festival trip', 'ski tour / skitour', 'beach vacation', 'micro-adventure / weekend trip', 'digital nomad trip', 'snowboard / splitboard trip', 'yoga / wellness retreat', 'hut trek (winter)'], 'scores': [0.9745162725448608, 0.006453138310462236, 0.004230186343193054, 0.0023943569976836443, 0.0023434683680534363, 0.002042901935055852, 0.0018937792629003525, 0.001525945495814085, 0.0011630081571638584, 0.0010016330052167177, 0.0007168851443566382, 0.0005730356206186116, 0.0005134805687703192, 0.00034540658816695213, 0.0001752648822730407, 0.00011126455501653254]}\n", + "cultural exploration\n", + "0\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['hiking', 'rafting', 'running', 'sightseeing', 'biking', 'relaxing', 'photography', 'kayaking / canoeing', 'hut-to-hut hiking', 'rock climbing', 'snowshoe hiking', 'stand-up paddleboarding (SUP)', 'paragliding', 'swimming', 'fishing', 'going to the beach', 'yoga', 'surfing', 'snorkeling', 'ski touring', 'skiing', 'horseback riding', 'ice climbing', 'scuba diving', 'cross-country skiing'], 'scores': [0.9923505187034607, 0.9763794541358948, 0.9626797437667847, 0.8574714064598083, 0.27401411533355713, 0.21095289289951324, 0.18922752141952515, 0.11992938816547394, 0.014048644341528416, 0.0009884469909593463, 0.0008294800063595176, 0.0005897136288695037, 0.0004340020241215825, 0.0003704601258505136, 0.0002808859571814537, 0.0001814749266486615, 0.00017836499318946153, 0.00016443902859464288, 0.00015807864838279784, 0.0001394385617459193, 0.00010796037531690672, 0.0001074437823262997, 8.010675082914531e-05, 4.623562199412845e-05, 1.540152879897505e-05]}\n", + "['hiking', 'rafting', 'running', 'sightseeing']\n", + "1\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['rainy climate', 'warm destination / summer', 'variable weather / spring / autumn', 'tropical / humid', 'cold destination / winter', 'dry / desert-like'], 'scores': [0.5396056175231934, 0.1932869255542755, 0.12208735942840576, 0.12112682312726974, 0.01932724379003048, 0.004566065035760403]}\n", + "rainy climate\n", + "2\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.6055731773376465, 0.18403802812099457, 0.14337262511253357, 0.06701622903347015]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9996159076690674, 0.00025828374782577157, 0.00012579247413668782]}\n", + "casual\n", + "4\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['huts with half board', 'indoor', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.6071347594261169, 0.32466721534729004, 0.04162314161658287, 0.0265748780220747]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.8644442558288574, 0.135555699467659]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'no special conditions to consider', 'travel with children', 'high alpine terrain', 'pet-friendly', 'snow, ice and avalanche-prone terrain', 'snow and ice'], 'scores': [0.4991568326950073, 0.1476956456899643, 0.10577287524938583, 0.0779384896159172, 0.06977242231369019, 0.05543127655982971, 0.025828715413808823, 0.018403705209493637]}\n", + "self-supported (bring your own cooking gear)\n", + "7\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['7+ days', '7 days', '3 days', '5 days', '6 days', '4 days', '2 days', '1 day'], 'scores': [0.5878565907478333, 0.23343543708324432, 0.1769631952047348, 0.0009431897778995335, 0.00033002637792378664, 0.00032585469307377934, 0.0001082052694982849, 3.754684439627454e-05]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type cultural exploration \n", + "1 activities [hiking, rafting, running, sightseeing] \n", + "2 climate_or_season rainy climate \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation own vehicle \n", + "7 special_conditions self-supported (bring your own cooking gear) \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 cultural exploration \n", + "1 [sightseeing, hiking, rafting] \n", + "2 variable weather / spring / autumn \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 rainy climate \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.5 0.50\n", + "0 0.444444 1.0 0.00\n", + "0 0.444444 0.0 1.00\n", + "0 0.333333 1.0 0.25\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['nature escape', 'camping trip (campground)', 'micro-adventure / weekend trip', 'hut trek (summer)', 'cultural exploration', 'camping trip (wild camping)', 'beach vacation', 'long-distance hike / thru-hike', 'festival trip', 'road trip (car/camper)', 'ski tour / skitour', 'city trip', 'digital nomad trip', 'yoga / wellness retreat', 'snowboard / splitboard trip', 'hut trek (winter)'], 'scores': [0.6981077194213867, 0.1375437080860138, 0.05859553813934326, 0.03000309318304062, 0.02927156537771225, 0.01717947982251644, 0.012709558010101318, 0.00568914320319891, 0.004872429184615612, 0.0018408831674605608, 0.0014531099004670978, 0.0008471151231788099, 0.0007559109362773597, 0.0005279129836708307, 0.0003300737007521093, 0.0002726985840126872]}\n", + "nature escape\n", + "0\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['swimming', 'hiking', 'relaxing', 'sightseeing', 'hut-to-hut hiking', 'photography', 'scuba diving', 'kayaking / canoeing', 'running', 'snorkeling', 'biking', 'stand-up paddleboarding (SUP)', 'rafting', 'going to the beach', 'rock climbing', 'fishing', 'yoga', 'snowshoe hiking', 'surfing', 'horseback riding', 'skiing', 'paragliding', 'ski touring', 'ice climbing', 'cross-country skiing'], 'scores': [0.999699056148529, 0.9992473721504211, 0.9988018274307251, 0.9444096088409424, 0.22035908699035645, 0.12263060361146927, 0.035659607499837875, 0.002622369909659028, 0.0009543551714159548, 0.0007250388152897358, 0.0005468186573125422, 0.0002895262441597879, 0.00024777313228696585, 0.00017010133888106793, 0.00012510277156252414, 0.00012112642434658483, 0.00011256984726060182, 0.00010661958367563784, 9.442884038435295e-05, 8.10343335615471e-05, 4.5129669160814956e-05, 4.474548404687084e-05, 1.1030130735889543e-05, 4.6475879571517e-06, 2.5351992007927038e-06]}\n", + "['swimming', 'hiking', 'relaxing', 'sightseeing']\n", + "1\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'tropical / humid', 'cold destination / winter', 'rainy climate', 'dry / desert-like'], 'scores': [0.8832269906997681, 0.06667788326740265, 0.03322647511959076, 0.008119548670947552, 0.005123707931488752, 0.0036253042053431273]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.47528210282325745, 0.28350040316581726, 0.20790579915046692, 0.03331170231103897]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9994745850563049, 0.00044799241004511714, 7.747425843263045e-05]}\n", + "casual\n", + "4\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['huts with half board', 'indoor', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.6317237615585327, 0.2743622362613678, 0.05966542661190033, 0.03424854949116707]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9001054763793945, 0.09989449381828308]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['off-grid / no electricity', 'pet-friendly', 'self-supported (bring your own cooking gear)', 'no special conditions to consider', 'travel with children', 'high alpine terrain', 'snow and ice', 'snow, ice and avalanche-prone terrain'], 'scores': [0.32103827595710754, 0.17628604173660278, 0.16719859838485718, 0.15370187163352966, 0.07366342097520828, 0.06762424111366272, 0.02182183787226677, 0.01866571418941021]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['7+ days', '7 days', '2 days', '3 days', '5 days', '6 days', '4 days', '1 day'], 'scores': [0.9983896017074585, 0.0003909866791218519, 0.00025011564139276743, 0.0002398803480900824, 0.00020643643802031875, 0.0002002589317271486, 0.00020004664838779718, 0.00012272702588234097]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type nature escape \n", + "1 activities [swimming, hiking, relaxing, sightseeing] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 nature escape \n", + "1 [swimming, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.5 0.50\n", + "0 0.444444 1.0 0.00\n", + "0 0.444444 0.0 1.00\n", + "0 0.333333 1.0 0.25\n", + "0 0.555556 1.0 0.25\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['long-distance hike / thru-hike', 'road trip (car/camper)', 'snowboard / splitboard trip', 'camping trip (campground)', 'nature escape', 'camping trip (wild camping)', 'cultural exploration', 'micro-adventure / weekend trip', 'hut trek (summer)', 'ski tour / skitour', 'digital nomad trip', 'hut trek (winter)', 'beach vacation', 'festival trip', 'city trip', 'yoga / wellness retreat'], 'scores': [0.6666886210441589, 0.1884889155626297, 0.08185508102178574, 0.054125238209962845, 0.002760144881904125, 0.002377021824941039, 0.002156343311071396, 0.0004954987671226263, 0.0004026007663924247, 0.00020383774244692177, 0.00014940543042030185, 8.633994730189443e-05, 8.0526115198154e-05, 6.626355752814561e-05, 4.997232463210821e-05, 1.4290532817540225e-05]}\n", + "long-distance hike / thru-hike\n", + "0\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['hiking', 'sightseeing', 'hut-to-hut hiking', 'relaxing', 'going to the beach', 'rock climbing', 'running', 'snowshoe hiking', 'biking', 'photography', 'ski touring', 'rafting', 'surfing', 'skiing', 'snorkeling', 'swimming', 'stand-up paddleboarding (SUP)', 'fishing', 'paragliding', 'yoga', 'ice climbing', 'cross-country skiing', 'horseback riding', 'kayaking / canoeing', 'scuba diving'], 'scores': [0.9997593760490417, 0.9612005352973938, 0.6296849250793457, 0.25926515460014343, 0.08683229237794876, 0.02153938263654709, 0.013930190354585648, 0.004300886765122414, 0.0012767792213708162, 0.0009777122177183628, 0.000923812622204423, 0.00027896807296201587, 0.00016994036559481174, 8.043291018111631e-05, 5.822490493301302e-05, 5.309233893058263e-05, 4.725173857877962e-05, 3.766121881199069e-05, 3.5888464481104165e-05, 3.1719013350084424e-05, 2.597372258605901e-05, 9.992801096814219e-06, 6.58604449199629e-06, 4.12692861573305e-06, 3.862904122797772e-06]}\n", + "['hiking', 'sightseeing', 'hut-to-hut hiking']\n", + "1\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['warm destination / summer', 'cold destination / winter', 'variable weather / spring / autumn', 'tropical / humid', 'rainy climate', 'dry / desert-like'], 'scores': [0.30661070346832275, 0.23807241022586823, 0.22944718599319458, 0.12162598222494125, 0.054508619010448456, 0.049735113978385925]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.915187656879425, 0.07466059923171997, 0.010116694495081902, 3.505043423501775e-05]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9996877312660217, 0.00023698511358816177, 7.532165182055905e-05]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['huts with half board', 'indoor', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.9994354844093323, 0.00023653960670344532, 0.00022563982929568738, 0.00010231899796053767]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.9989722371101379, 0.0010277985129505396]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['off-grid / no electricity', 'high alpine terrain', 'snow, ice and avalanche-prone terrain', 'self-supported (bring your own cooking gear)', 'no special conditions to consider', 'pet-friendly', 'travel with children', 'snow and ice'], 'scores': [0.5294826030731201, 0.21164321899414062, 0.09930253773927689, 0.05979364365339279, 0.041776783764362335, 0.024578703567385674, 0.02370249107480049, 0.009719929657876492]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['7 days', '7+ days', '6 days', '5 days', '4 days', '3 days', '2 days', '1 day'], 'scores': [0.7699483633041382, 0.2249913364648819, 0.002265471965074539, 0.0009456174448132515, 0.000572029675822705, 0.0005546114407479763, 0.00038687573396600783, 0.00033571256790310144]}\n", + "7 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type long-distance hike / thru-hike \n", + "1 activities [hiking, sightseeing, hut-to-hut hiking] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7 days \n", + "\n", + " true_class \n", + "0 long-distance hike / thru-hike \n", + "1 [going to the beach] \n", + "2 tropical / humid \n", + "3 minimalist \n", + "4 casual \n", + "5 huts with half board \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.5 0.50\n", + "0 0.444444 1.0 0.00\n", + "0 0.444444 0.0 1.00\n", + "0 0.333333 1.0 0.25\n", + "0 0.555556 1.0 0.25\n", + "0 0.666667 0.0 1.00\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['road trip (car/camper)', 'beach vacation', 'camping trip (wild camping)', 'camping trip (campground)', 'nature escape', 'micro-adventure / weekend trip', 'cultural exploration', 'long-distance hike / thru-hike', 'festival trip', 'digital nomad trip', 'hut trek (summer)', 'city trip', 'yoga / wellness retreat', 'hut trek (winter)', 'ski tour / skitour', 'snowboard / splitboard trip'], 'scores': [0.4178064465522766, 0.3830931782722473, 0.13536739349365234, 0.060124751180410385, 0.0021599633619189262, 0.0007014998700469732, 0.0004127734573557973, 8.067804446909577e-05, 5.12926017108839e-05, 4.38942079199478e-05, 3.718615334946662e-05, 2.84206289506983e-05, 2.512399441911839e-05, 2.266307274112478e-05, 2.2567905034520663e-05, 2.224537092843093e-05]}\n", + "road trip (car/camper)\n", + "0\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['going to the beach', 'stand-up paddleboarding (SUP)', 'relaxing', 'surfing', 'running', 'sightseeing', 'kayaking / canoeing', 'swimming', 'hut-to-hut hiking', 'photography', 'rafting', 'yoga', 'fishing', 'snorkeling', 'hiking', 'paragliding', 'scuba diving', 'snowshoe hiking', 'biking', 'rock climbing', 'skiing', 'horseback riding', 'ski touring', 'ice climbing', 'cross-country skiing'], 'scores': [0.9931086301803589, 0.9926211833953857, 0.09201999753713608, 0.013286123983561993, 0.0006008644704706967, 0.00018001519492827356, 8.013058686628938e-05, 1.826481457101181e-05, 1.6040210539358668e-05, 1.4724090760864783e-05, 1.3452059647534043e-05, 1.0892855243582744e-05, 1.0471677342138719e-05, 1.0038605978479609e-05, 8.974401680461597e-06, 6.505725195893319e-06, 5.392461844166974e-06, 5.160753516975092e-06, 5.148572199686896e-06, 3.970744273829041e-06, 3.9277133510040585e-06, 3.5295017823955277e-06, 3.2501784517080523e-06, 3.1668371320847655e-06, 2.4879004740796518e-06]}\n", + "['going to the beach', 'stand-up paddleboarding (SUP)']\n", + "1\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['variable weather / spring / autumn', 'cold destination / winter', 'warm destination / summer', 'rainy climate', 'tropical / humid', 'dry / desert-like'], 'scores': [0.6921024918556213, 0.15913480520248413, 0.0708073303103447, 0.030124124139547348, 0.02535775490105152, 0.022473514080047607]}\n", + "variable weather / spring / autumn\n", + "2\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.7629005312919617, 0.1843813806772232, 0.03335420787334442, 0.01936384104192257]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9986196160316467, 0.0008956472156569362, 0.0004848076787311584]}\n", + "casual\n", + "4\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'huts with half board', 'indoor'], 'scores': [0.9968061447143555, 0.0023150567431002855, 0.0006705775740556419, 0.0002082677383441478]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.6480956673622131, 0.35190433263778687]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['off-grid / no electricity', 'pet-friendly', 'travel with children', 'self-supported (bring your own cooking gear)', 'no special conditions to consider', 'high alpine terrain', 'snow, ice and avalanche-prone terrain', 'snow and ice'], 'scores': [0.6083013415336609, 0.11340159922838211, 0.09211600571870804, 0.08788271248340607, 0.0283094123005867, 0.02643687091767788, 0.022293511778116226, 0.021258531138300896]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '2 days', '4 days', '3 days', '1 day'], 'scores': [0.5120012760162354, 0.3048143982887268, 0.1814577281475067, 0.0011328535620123148, 0.0001876379392342642, 0.00016974509344436228, 0.0001575056230649352, 7.888615800766274e-05]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type road trip (car/camper) \n", + "1 activities [going to the beach, stand-up paddleboarding (... \n", + "2 climate_or_season variable weather / spring / autumn \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [stand-up paddleboarding (SUP), surfing] \n", + "2 cold destination / winter \n", + "3 ultralight \n", + "4 casual \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.5 0.50\n", + "0 0.444444 1.0 0.00\n", + "0 0.444444 0.0 1.00\n", + "0 0.333333 1.0 0.25\n", + "0 0.555556 1.0 0.25\n", + "0 0.666667 0.0 1.00\n", + "0 0.333333 0.5 0.50\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['yoga / wellness retreat', 'micro-adventure / weekend trip', 'nature escape', 'cultural exploration', 'hut trek (winter)', 'city trip', 'ski tour / skitour', 'digital nomad trip', 'camping trip (campground)', 'beach vacation', 'festival trip', 'snowboard / splitboard trip', 'camping trip (wild camping)', 'road trip (car/camper)', 'hut trek (summer)', 'long-distance hike / thru-hike'], 'scores': [0.8914312124252319, 0.10488373786211014, 0.001367643941193819, 0.00090839306358248, 0.00042300898348912597, 0.00041247974149882793, 0.00016272193170152605, 0.00010753813694464043, 5.870375389349647e-05, 5.494451761478558e-05, 5.069069084129296e-05, 3.764834036701359e-05, 3.153421857859939e-05, 2.6345349397161044e-05, 2.2074738808441907e-05, 2.1361347535275854e-05]}\n", + "yoga / wellness retreat\n", + "0\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['yoga', 'hiking', 'relaxing', 'snowshoe hiking', 'sightseeing', 'ski touring', 'hut-to-hut hiking', 'ice climbing', 'cross-country skiing', 'biking', 'running', 'swimming', 'rock climbing', 'photography', 'skiing', 'rafting', 'paragliding', 'going to the beach', 'stand-up paddleboarding (SUP)', 'horseback riding', 'fishing', 'snorkeling', 'surfing', 'scuba diving', 'kayaking / canoeing'], 'scores': [0.9998212456703186, 0.9687333703041077, 0.7760278582572937, 0.21214622259140015, 0.18382366001605988, 0.03839408606290817, 0.03651861846446991, 0.012049537152051926, 0.0039580040611326694, 0.0010865279473364353, 0.0007938533672131598, 0.0002281801134813577, 0.00019759003771468997, 0.00018746308342088014, 0.0001327647769358009, 9.067036444321275e-05, 7.265892782015726e-05, 6.028770803823136e-05, 4.8075191443786025e-05, 4.356912904768251e-05, 3.50611844623927e-05, 3.172468859702349e-05, 2.6467170755495317e-05, 5.9792591855512e-06, 5.923493517911993e-06]}\n", + "['yoga', 'hiking', 'relaxing']\n", + "1\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['cold destination / winter', 'variable weather / spring / autumn', 'dry / desert-like', 'rainy climate', 'tropical / humid', 'warm destination / summer'], 'scores': [0.9969968199729919, 0.0025437306612730026, 0.00024356463109143078, 7.399139576591551e-05, 7.270422065630555e-05, 6.908224168000743e-05]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['lightweight (but comfortable)', 'minimalist', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.5476588010787964, 0.2736080288887024, 0.17685247957706451, 0.001880692783743143]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9983545541763306, 0.00123661442194134, 0.00040887697832658887]}\n", + "casual\n", + "4\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['indoor', 'huts with half board', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.999077558517456, 0.0005963228759355843, 0.00017620933067519218, 0.00014996436948422343]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9988003373146057, 0.0011996185639873147]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['snow, ice and avalanche-prone terrain', 'snow and ice', 'no special conditions to consider', 'travel with children', 'high alpine terrain', 'self-supported (bring your own cooking gear)', 'pet-friendly', 'off-grid / no electricity'], 'scores': [0.2737180292606354, 0.19466346502304077, 0.16909512877464294, 0.08497019112110138, 0.07898900657892227, 0.07035200297832489, 0.06673802435398102, 0.06147415190935135]}\n", + "snow, ice and avalanche-prone terrain\n", + "7\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['7+ days', '1 day', '7 days', '5 days', '2 days', '6 days', '3 days', '4 days'], 'scores': [0.8095986843109131, 0.036094728857278824, 0.03120618686079979, 0.027797700837254524, 0.026146648451685905, 0.025276795029640198, 0.02205345779657364, 0.021825799718499184]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type yoga / wellness retreat \n", + "1 activities [yoga, hiking, relaxing] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions snow, ice and avalanche-prone terrain \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 yoga / wellness retreat \n", + "1 [hut-to-hut hiking, yoga] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 formal (business trip) \n", + "5 sleeping in a tent \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 7 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.5 0.500000\n", + "0 0.444444 1.0 0.000000\n", + "0 0.444444 0.0 1.000000\n", + "0 0.333333 1.0 0.250000\n", + "0 0.555556 1.0 0.250000\n", + "0 0.666667 0.0 1.000000\n", + "0 0.333333 0.5 0.500000\n", + "0 0.444444 0.5 0.666667\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski tour / skitour', 'hut trek (winter)', 'cultural exploration', 'nature escape', 'long-distance hike / thru-hike', 'digital nomad trip', 'micro-adventure / weekend trip', 'camping trip (campground)', 'festival trip', 'snowboard / splitboard trip', 'camping trip (wild camping)', 'city trip', 'yoga / wellness retreat', 'beach vacation', 'hut trek (summer)', 'road trip (car/camper)'], 'scores': [0.92006915807724, 0.04548545926809311, 0.019513793289661407, 0.011274993419647217, 0.0013906178064644337, 0.0011254027485847473, 0.0003979435423389077, 0.0003035268164239824, 0.0001505160762462765, 5.83016881137155e-05, 5.5192216677824035e-05, 5.406437048804946e-05, 4.5880075049353763e-05, 2.629402297316119e-05, 2.547773692640476e-05, 2.343004052818287e-05]}\n", + "ski tour / skitour\n", + "0\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski touring', 'skiing', 'photography', 'cross-country skiing', 'sightseeing', 'relaxing', 'running', 'hiking', 'hut-to-hut hiking', 'yoga', 'paragliding', 'snowshoe hiking', 'biking', 'rafting', 'rock climbing', 'horseback riding', 'swimming', 'ice climbing', 'surfing', 'snorkeling', 'fishing', 'going to the beach', 'stand-up paddleboarding (SUP)', 'scuba diving', 'kayaking / canoeing'], 'scores': [0.9999297261238098, 0.9998339414596558, 0.9268319010734558, 0.6439257860183716, 0.07285549491643906, 0.0021593733690679073, 0.0012477283598855138, 0.0005830393638461828, 0.00011010625894414261, 2.9786462619085796e-05, 2.9291029932210222e-05, 1.8993328922078945e-05, 1.5501211237278767e-05, 1.5133534361666534e-05, 1.3918686818215065e-05, 1.2161414815636817e-05, 1.1563622138055507e-05, 1.0184225175180472e-05, 9.206004506268073e-06, 8.186202649085317e-06, 8.000292837095913e-06, 5.503959528141422e-06, 4.422617166710552e-06, 3.5671762361744186e-06, 2.905916289819288e-06]}\n", + "['ski touring', 'skiing', 'photography', 'cross-country skiing']\n", + "1\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['cold destination / winter', 'variable weather / spring / autumn', 'rainy climate', 'dry / desert-like', 'warm destination / summer', 'tropical / humid'], 'scores': [0.998860239982605, 0.0007810307433828712, 0.0002457322843838483, 4.938803976983763e-05, 3.224144529667683e-05, 3.132169877062552e-05]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.6304641962051392, 0.18591229617595673, 0.166355162858963, 0.017268341034650803]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.5388759970664978, 0.3888218104839325, 0.0723021924495697]}\n", + "casual\n", + "4\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['indoor', 'huts with half board', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.7908696532249451, 0.15440931916236877, 0.039184313267469406, 0.015536770224571228]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.5982391238212585, 0.40176087617874146]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['snow and ice', 'off-grid / no electricity', 'snow, ice and avalanche-prone terrain', 'high alpine terrain', 'pet-friendly', 'self-supported (bring your own cooking gear)', 'travel with children', 'no special conditions to consider'], 'scores': [0.4348420202732086, 0.17860618233680725, 0.16397975385189056, 0.12978875637054443, 0.03381970152258873, 0.024423887953162193, 0.021802587434649467, 0.012737089768052101]}\n", + "snow and ice\n", + "7\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['7+ days', '7 days', '3 days', '5 days', '6 days', '4 days', '2 days', '1 day'], 'scores': [0.9977909922599792, 0.0005440112436190248, 0.0003534649149514735, 0.0003214143216609955, 0.0003117066517006606, 0.0002957258257083595, 0.000249390461249277, 0.00013327498163562268]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type ski tour / skitour \n", + "1 activities [ski touring, skiing, photography, cross-count... \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation own vehicle \n", + "7 special_conditions snow and ice \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 ski tour / skitour \n", + "1 [ski touring, photography, swimming] \n", + "2 cold destination / winter \n", + "3 minimalist \n", + "4 conservative \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 5 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.500000 0.500000\n", + "0 0.444444 1.000000 0.000000\n", + "0 0.444444 0.000000 1.000000\n", + "0 0.333333 1.000000 0.250000\n", + "0 0.555556 1.000000 0.250000\n", + "0 0.666667 0.000000 1.000000\n", + "0 0.333333 0.500000 0.500000\n", + "0 0.444444 0.500000 0.666667\n", + "0 0.444444 0.666667 0.500000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['camping trip (wild camping)', 'camping trip (campground)', 'micro-adventure / weekend trip', 'road trip (car/camper)', 'nature escape', 'beach vacation', 'hut trek (summer)', 'cultural exploration', 'festival trip', 'digital nomad trip', 'long-distance hike / thru-hike', 'yoga / wellness retreat', 'city trip', 'ski tour / skitour', 'snowboard / splitboard trip', 'hut trek (winter)'], 'scores': [0.4303184449672699, 0.33150097727775574, 0.12564396858215332, 0.10694330930709839, 0.002859185915440321, 0.0020102444104850292, 0.00039985356852412224, 0.0001423832291038707, 6.37200428172946e-05, 3.4816956031136215e-05, 2.8185306291561574e-05, 1.4618579371017404e-05, 1.2890115613117814e-05, 9.656730981077999e-06, 8.85365534486482e-06, 8.84361634234665e-06]}\n", + "camping trip (wild camping)\n", + "0\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['snorkeling', 'kayaking / canoeing', 'relaxing', 'going to the beach', 'sightseeing', 'swimming', 'running', 'rafting', 'photography', 'hiking', 'fishing', 'stand-up paddleboarding (SUP)', 'biking', 'scuba diving', 'surfing', 'hut-to-hut hiking', 'yoga', 'paragliding', 'skiing', 'ski touring', 'horseback riding', 'rock climbing', 'snowshoe hiking', 'ice climbing', 'cross-country skiing'], 'scores': [0.9995495676994324, 0.9993414878845215, 0.6267656087875366, 0.5535839796066284, 0.28243306279182434, 0.004536466207355261, 0.003961656242609024, 0.00026289248489774764, 0.00019449260435067117, 0.00013718493573833257, 0.00010126290726475418, 8.851663733366877e-05, 4.506914774538018e-05, 3.974714854848571e-05, 3.403896698728204e-05, 3.3425309084123e-05, 2.7304911782266572e-05, 1.5800853361724876e-05, 6.963534815440653e-06, 5.49155447515659e-06, 4.946631634084042e-06, 3.9253259274119046e-06, 3.863119218294742e-06, 3.3782243917812593e-06, 2.5556776108714985e-06]}\n", + "['snorkeling', 'kayaking / canoeing', 'relaxing', 'going to the beach']\n", + "1\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['warm destination / summer', 'tropical / humid', 'variable weather / spring / autumn', 'rainy climate', 'dry / desert-like', 'cold destination / winter'], 'scores': [0.5122977495193481, 0.48605799674987793, 0.0011960763949900866, 0.00022525250096805394, 0.00011270656978012994, 0.00011019389057764784]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['lightweight (but comfortable)', 'minimalist', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.5641308426856995, 0.4345783293247223, 0.0012484268518164754, 4.241980059305206e-05]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9990617632865906, 0.0008116297540254891, 0.00012665518443100154]}\n", + "casual\n", + "4\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['sleeping in a tent', 'indoor', 'sleeping in a car', 'huts with half board'], 'scores': [0.9692836403846741, 0.01130361296236515, 0.009791556745767593, 0.009621154516935349]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.7099757194519043, 0.2900242507457733]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['off-grid / no electricity', 'travel with children', 'pet-friendly', 'self-supported (bring your own cooking gear)', 'no special conditions to consider', 'high alpine terrain', 'snow and ice', 'snow, ice and avalanche-prone terrain'], 'scores': [0.9937955141067505, 0.004142111632972956, 0.0009581252234056592, 0.000611018855124712, 0.00032979086972773075, 5.521867569768801e-05, 5.4554308007936925e-05, 5.3694613598054275e-05]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['3 days', '4 days', '7+ days', '2 days', '7 days', '5 days', '6 days', '1 day'], 'scores': [0.9990959763526917, 0.0002144805039279163, 0.000165374789503403, 0.00013696911628358066, 0.00013375627167988569, 9.516475984128192e-05, 8.289244578918442e-05, 7.538709905929863e-05]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type camping trip (wild camping) \n", + "1 activities [snorkeling, kayaking / canoeing, relaxing, go... \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 camping trip (wild camping) \n", + "1 [scuba diving, kayaking / canoeing] \n", + "2 tropical / humid \n", + "3 lightweight (but comfortable) \n", + "4 conservative \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.555556 0.500000 0.500000\n", + "0 0.444444 1.000000 0.000000\n", + "0 0.444444 0.000000 1.000000\n", + "0 0.333333 1.000000 0.250000\n", + "0 0.555556 1.000000 0.250000\n", + "0 0.666667 0.000000 1.000000\n", + "0 0.333333 0.500000 0.500000\n", + "0 0.444444 0.500000 0.666667\n", + "0 0.444444 0.666667 0.500000\n", + "0 0.444444 0.500000 0.750000\n", + " superclass same_value same_value same_value same_value \\\n", + "0 activity_type False False False True \n", + "1 activities False True False False \n", + "2 climate_or_season True False True False \n", + "3 style_or_comfort False False False False \n", + "4 dress_code True True True True \n", + "5 accommodation True True True False \n", + "6 transportation True False False False \n", + "7 special_conditions False True False False \n", + "8 trip_length_days True True True True \n", + "\n", + " same_value same_value same_value same_value same_value same_value \n", + "0 True True False True True True \n", + "1 False False False False False False \n", + "2 True False False True True False \n", + "3 False True False True True True \n", + "4 True True True False False False \n", + "5 False True True False True True \n", + "6 True True False True False False \n", + "7 False True True False False False \n", + "8 True False False False False True \n", + " superclass accuracy\n", + "0 activity_type 0.6\n", + "1 activities 0.1\n", + "2 climate_or_season 0.5\n", + "3 style_or_comfort 0.4\n", + "4 dress_code 0.7\n", + "5 accommodation 0.7\n", + "6 transportation 0.4\n", + "7 special_conditions 0.3\n", + "8 trip_length_days 0.6\n", + "accuracy 0.466667\n", + "true_ident 0.566667\n", + "false_pred 0.541667\n", + "dtype: float64\n", + "\n", + "Using model: MoritzLaurer/mDeBERTa-v3-base-mnli-xnli\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['beach vacation', 'micro-adventure / weekend trip', 'nature escape', 'cultural exploration', 'road trip (car/camper)', 'long-distance hike / thru-hike', 'hut trek (summer)', 'camping trip (campground)', 'city trip', 'camping trip (wild camping)', 'hut trek (winter)', 'digital nomad trip', 'ski tour / skitour', 'festival trip', 'yoga / wellness retreat', 'snowboard / splitboard trip'], 'scores': [0.5063056349754333, 0.12463397532701492, 0.11671056598424911, 0.09177778661251068, 0.0541764535009861, 0.017555106431245804, 0.014127871952950954, 0.012617546133697033, 0.01126633957028389, 0.010132105089724064, 0.008667088113725185, 0.008495723828673363, 0.007300694473087788, 0.006891845725476742, 0.0049717905931174755, 0.004369507078081369]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['going to the beach', 'relaxing', 'hiking', 'sightseeing', 'hut-to-hut hiking', 'swimming', 'biking', 'snowshoe hiking', 'snorkeling', 'stand-up paddleboarding (SUP)', 'scuba diving', 'surfing', 'horseback riding', 'kayaking / canoeing', 'ice climbing', 'yoga', 'running', 'rafting', 'fishing', 'photography', 'paragliding', 'cross-country skiing', 'skiing', 'rock climbing', 'ski touring'], 'scores': [0.6669856309890747, 0.46130257844924927, 0.2903909981250763, 0.03616298362612724, 0.017798539251089096, 0.005299167241901159, 0.0050057414919137955, 0.0036221432965248823, 0.003132868790999055, 0.001988297328352928, 0.0017555851954966784, 0.0015963376499712467, 0.0015703177778050303, 0.0015203130897134542, 0.00121980719268322, 0.0011167374905198812, 0.0009280953090637922, 0.0008771381108090281, 0.0007933455635793507, 0.0007607227889820933, 0.0006859046407043934, 0.0006737468647770584, 0.0006068770308047533, 0.000549687014427036, 0.0004070284776389599]}\n", + "['going to the beach']\n", + "1\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['warm destination / summer', 'tropical / humid', 'cold destination / winter', 'rainy climate', 'variable weather / spring / autumn', 'dry / desert-like'], 'scores': [0.5546091198921204, 0.17061035335063934, 0.09042112529277802, 0.06575004756450653, 0.060073692351579666, 0.058535631746053696]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.362313836812973, 0.26116105914115906, 0.21726010739803314, 0.15926498174667358]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.527626097202301, 0.29266080260276794, 0.17971307039260864]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['sleeping in a car', 'indoor', 'sleeping in a tent', 'huts with half board'], 'scores': [0.2714267075061798, 0.2560981214046478, 0.25420475006103516, 0.21827039122581482]}\n", + "sleeping in a car\n", + "5\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9122210741043091, 0.08777891099452972]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['travel with children', 'no special conditions to consider', 'off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'snow and ice', 'pet-friendly', 'snow, ice and avalanche-prone terrain', 'high alpine terrain'], 'scores': [0.34777167439460754, 0.14847083389759064, 0.10741598904132843, 0.09455154091119766, 0.0835496187210083, 0.08319173008203506, 0.07066795229911804, 0.06438063830137253]}\n", + "travel with children\n", + "7\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['2 days', '1 day', '7 days', '3 days', '7+ days', '4 days', '6 days', '5 days'], 'scores': [0.358577698469162, 0.14940235018730164, 0.099587082862854, 0.08431795239448547, 0.0807545930147171, 0.07942964881658554, 0.07636114209890366, 0.0715695470571518]}\n", + "2 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [going to the beach] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a car \n", + "6 transportation no own vehicle \n", + "7 special_conditions travel with children \n", + "8 trip_length_days 2 days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [swimming, going to the beach, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.25 0.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['city trip', 'cultural exploration', 'micro-adventure / weekend trip', 'road trip (car/camper)', 'long-distance hike / thru-hike', 'nature escape', 'festival trip', 'digital nomad trip', 'camping trip (campground)', 'camping trip (wild camping)', 'ski tour / skitour', 'hut trek (summer)', 'yoga / wellness retreat', 'beach vacation', 'hut trek (winter)', 'snowboard / splitboard trip'], 'scores': [0.47375577688217163, 0.20299600064754486, 0.17218554019927979, 0.03898074850440025, 0.0362824872136116, 0.019299929961562157, 0.008571995422244072, 0.006760342512279749, 0.006629814859479666, 0.00595370028167963, 0.005481010768562555, 0.004979704972356558, 0.00492808548733592, 0.004675624892115593, 0.004481514450162649, 0.0040377783589065075]}\n", + "city trip\n", + "0\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['sightseeing', 'relaxing', 'hiking', 'hut-to-hut hiking', 'horseback riding', 'kayaking / canoeing', 'photography', 'running', 'yoga', 'biking', 'stand-up paddleboarding (SUP)', 'snowshoe hiking', 'ice climbing', 'skiing', 'rafting', 'paragliding', 'fishing', 'rock climbing', 'swimming', 'snorkeling', 'cross-country skiing', 'scuba diving', 'ski touring', 'surfing', 'going to the beach'], 'scores': [0.3679605722427368, 0.03229115158319473, 0.002533243503421545, 0.0022274383809417486, 0.0014167579356580973, 0.0010905727976933122, 0.0010451534762978554, 0.0008743523503653705, 0.0008294990984722972, 0.0008212536922656, 0.0007946878904476762, 0.0006931914249435067, 0.000591609685216099, 0.000579905929043889, 0.0005464685382321477, 0.0005448621814139187, 0.0005214446573518217, 0.000519540102686733, 0.0005127277108840644, 0.00048092741053551435, 0.0004542916431091726, 0.00042143563041463494, 0.00040564872324466705, 0.0003710159217007458, 0.00025165692204609513]}\n", + "[]\n", + "1\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'cold destination / winter', 'tropical / humid', 'dry / desert-like', 'rainy climate'], 'scores': [0.33155152201652527, 0.21034874022006989, 0.1435842663049698, 0.13174305856227875, 0.11200364679098129, 0.07076875120401382]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['luxury (including evening wear)', 'lightweight (but comfortable)', 'minimalist', 'ultralight'], 'scores': [0.35257211327552795, 0.295125275850296, 0.19308356940746307, 0.15921907126903534]}\n", + "luxury (including evening wear)\n", + "3\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['casual', 'formal (business trip)', 'conservative'], 'scores': [0.4239152669906616, 0.33594709634780884, 0.24013760685920715]}\n", + "casual\n", + "4\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['sleeping in a car', 'indoor', 'huts with half board', 'sleeping in a tent'], 'scores': [0.2960866391658783, 0.2603655159473419, 0.22735868394374847, 0.21618914604187012]}\n", + "sleeping in a car\n", + "5\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.8214703798294067, 0.17852969467639923]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['travel with children', 'pet-friendly', 'self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'no special conditions to consider', 'snow and ice', 'high alpine terrain', 'snow, ice and avalanche-prone terrain'], 'scores': [0.2881923019886017, 0.13474556803703308, 0.13221564888954163, 0.12275298684835434, 0.0962790995836258, 0.08419936150312424, 0.08251738548278809, 0.05909765884280205]}\n", + "travel with children\n", + "7\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['3 days', '4 days', '2 days', '7 days', '5 days', '6 days', '1 day', '7+ days'], 'scores': [0.8885972499847412, 0.020079612731933594, 0.018099598586559296, 0.015542044304311275, 0.015123864635825157, 0.015014268457889557, 0.01382253598421812, 0.013720900751650333]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type city trip \n", + "1 activities [] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort luxury (including evening wear) \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a car \n", + "6 transportation no own vehicle \n", + "7 special_conditions travel with children \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [sightseeing] \n", + "2 variable weather / spring / autumn \n", + "3 luxury (including evening wear) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.25 0.0\n", + "0 0.555556 0.00 NaN\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['micro-adventure / weekend trip', 'festival trip', 'road trip (car/camper)', 'cultural exploration', 'nature escape', 'hut trek (winter)', 'digital nomad trip', 'long-distance hike / thru-hike', 'city trip', 'ski tour / skitour', 'hut trek (summer)', 'camping trip (campground)', 'camping trip (wild camping)', 'beach vacation', 'snowboard / splitboard trip', 'yoga / wellness retreat'], 'scores': [0.2667316496372223, 0.12803420424461365, 0.1279955506324768, 0.08576556295156479, 0.07055848836898804, 0.056434351950883865, 0.05088768154382706, 0.04143441095948219, 0.03534786030650139, 0.024121133610606194, 0.021605368703603745, 0.021214105188846588, 0.018672380596399307, 0.01865357533097267, 0.016449090093374252, 0.016094617545604706]}\n", + "micro-adventure / weekend trip\n", + "0\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['relaxing', 'sightseeing', 'running', 'kayaking / canoeing', 'horseback riding', 'photography', 'biking', 'paragliding', 'yoga', 'ice climbing', 'skiing', 'hiking', 'rock climbing', 'snorkeling', 'stand-up paddleboarding (SUP)', 'swimming', 'snowshoe hiking', 'cross-country skiing', 'fishing', 'ski touring', 'hut-to-hut hiking', 'rafting', 'scuba diving', 'surfing', 'going to the beach'], 'scores': [0.4469181299209595, 0.10671328008174896, 0.0630127564072609, 0.008450756780803204, 0.008006022311747074, 0.007526332512497902, 0.004473213572055101, 0.003966889344155788, 0.003864965634420514, 0.00330055202357471, 0.002654165029525757, 0.0021088302601128817, 0.002056412398815155, 0.0018019579583778977, 0.0017568545881658792, 0.00164379074703902, 0.001494518481194973, 0.001397123676724732, 0.001363565563224256, 0.001336514251306653, 0.0012494525872170925, 0.00123861082829535, 0.0010271476348862052, 0.0009454046958126128, 0.0005638698930852115]}\n", + "[]\n", + "1\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['cold destination / winter', 'warm destination / summer', 'variable weather / spring / autumn', 'tropical / humid', 'dry / desert-like', 'rainy climate'], 'scores': [0.5226755738258362, 0.14716939628124237, 0.11196764558553696, 0.09343039244413376, 0.06325887143611908, 0.06149815022945404]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['minimalist', 'luxury (including evening wear)', 'ultralight', 'lightweight (but comfortable)'], 'scores': [0.38522565364837646, 0.23271675407886505, 0.19947189092636108, 0.1825856864452362]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.4410809278488159, 0.40187111496925354, 0.15704795718193054]}\n", + "casual\n", + "4\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['huts with half board', 'indoor', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.33243829011917114, 0.26895520091056824, 0.21548132598400116, 0.18312515318393707]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.7555403113365173, 0.24445970356464386]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['travel with children', 'pet-friendly', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'high alpine terrain', 'no special conditions to consider'], 'scores': [0.7533820271492004, 0.05126968398690224, 0.036747198551893234, 0.03608843684196472, 0.03592425584793091, 0.033599719405174255, 0.03153686597943306, 0.021451808512210846]}\n", + "travel with children\n", + "7\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['5 days', '2 days', '7+ days', '6 days', '7 days', '4 days', '3 days', '1 day'], 'scores': [0.18729268014431, 0.14603041112422943, 0.13379192352294922, 0.13291305303573608, 0.13099610805511475, 0.11931418627500534, 0.09317880123853683, 0.05648277699947357]}\n", + "5 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type micro-adventure / weekend trip \n", + "1 activities [] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions travel with children \n", + "8 trip_length_days 5 days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [relaxing] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.25 0.0\n", + "0 0.555556 0.00 NaN\n", + "0 0.333333 0.00 NaN\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['cultural exploration', 'long-distance hike / thru-hike', 'nature escape', 'micro-adventure / weekend trip', 'road trip (car/camper)', 'hut trek (summer)', 'ski tour / skitour', 'festival trip', 'digital nomad trip', 'hut trek (winter)', 'camping trip (wild camping)', 'city trip', 'camping trip (campground)', 'yoga / wellness retreat', 'beach vacation', 'snowboard / splitboard trip'], 'scores': [0.27460211515426636, 0.20957694947719574, 0.1495959460735321, 0.12633264064788818, 0.07785578817129135, 0.03362971544265747, 0.026892857626080513, 0.01854110136628151, 0.01644926704466343, 0.011255376040935516, 0.010631457902491093, 0.010332309640944004, 0.010329137556254864, 0.009214689955115318, 0.007761706132441759, 0.006998935714364052]}\n", + "cultural exploration\n", + "0\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['hiking', 'rafting', 'sightseeing', 'relaxing', 'hut-to-hut hiking', 'paragliding', 'stand-up paddleboarding (SUP)', 'photography', 'running', 'biking', 'yoga', 'snowshoe hiking', 'horseback riding', 'snorkeling', 'kayaking / canoeing', 'rock climbing', 'swimming', 'ice climbing', 'cross-country skiing', 'skiing', 'fishing', 'scuba diving', 'surfing', 'ski touring', 'going to the beach'], 'scores': [0.649945855140686, 0.5636540651321411, 0.43579035997390747, 0.24423132836818695, 0.050693634897470474, 0.02344522252678871, 0.010613808408379555, 0.009205644950270653, 0.008206188678741455, 0.007982397451996803, 0.0031610161531716585, 0.0026746070943772793, 0.0025229945313185453, 0.0023634040262550116, 0.002348506124690175, 0.0017003403045237064, 0.0015447377227246761, 0.0013471299316734076, 0.0010257110698148608, 0.0009594573639333248, 0.000936295255087316, 0.0007257256656885147, 0.0007170517346821725, 0.000543703674338758, 0.0003442523302510381]}\n", + "['hiking', 'rafting']\n", + "1\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['warm destination / summer', 'rainy climate', 'cold destination / winter', 'variable weather / spring / autumn', 'tropical / humid', 'dry / desert-like'], 'scores': [0.4628145396709442, 0.19376327097415924, 0.10396032780408859, 0.10085096955299377, 0.09655912965536118, 0.04205174371600151]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['luxury (including evening wear)', 'lightweight (but comfortable)', 'minimalist', 'ultralight'], 'scores': [0.33337730169296265, 0.28817054629325867, 0.22221894562244415, 0.15623322129249573]}\n", + "luxury (including evening wear)\n", + "3\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['conservative', 'formal (business trip)', 'casual'], 'scores': [0.4343492388725281, 0.2839529812335968, 0.2816978394985199]}\n", + "conservative\n", + "4\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['huts with half board', 'indoor', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.36409875750541687, 0.22911687195301056, 0.21274268627166748, 0.19404160976409912]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.5145192742347717, 0.4854806661605835]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['travel with children', 'pet-friendly', 'self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'snow and ice', 'high alpine terrain', 'snow, ice and avalanche-prone terrain', 'no special conditions to consider'], 'scores': [0.37148159742355347, 0.15716546773910522, 0.13897360861301422, 0.09836702048778534, 0.07142502069473267, 0.06148850917816162, 0.05148322880268097, 0.049615561962127686]}\n", + "travel with children\n", + "7\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['7+ days', '3 days', '7 days', '6 days', '5 days', '4 days', '2 days', '1 day'], 'scores': [0.2714100778102875, 0.15232394635677338, 0.13909856975078583, 0.12640897929668427, 0.1171281635761261, 0.10820624977350235, 0.04954398423433304, 0.03587999567389488]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type cultural exploration \n", + "1 activities [hiking, rafting] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort luxury (including evening wear) \n", + "4 dress_code conservative \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions travel with children \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 cultural exploration \n", + "1 [sightseeing, hiking, rafting] \n", + "2 variable weather / spring / autumn \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 rainy climate \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.250000 0.0\n", + "0 0.555556 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.333333 0.666667 0.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['nature escape', 'micro-adventure / weekend trip', 'long-distance hike / thru-hike', 'cultural exploration', 'beach vacation', 'hut trek (summer)', 'road trip (car/camper)', 'camping trip (campground)', 'digital nomad trip', 'camping trip (wild camping)', 'ski tour / skitour', 'festival trip', 'city trip', 'yoga / wellness retreat', 'hut trek (winter)', 'snowboard / splitboard trip'], 'scores': [0.5092648267745972, 0.2646471858024597, 0.11457773298025131, 0.05058320239186287, 0.017589088529348373, 0.012704572640359402, 0.012087153270840645, 0.0039216517470777035, 0.0035405585076659918, 0.002484050113707781, 0.0020912252366542816, 0.0019444868667051196, 0.0014871874591335654, 0.0011288333917036653, 0.0009975492721423507, 0.0009507432114332914]}\n", + "nature escape\n", + "0\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['hiking', 'relaxing', 'swimming', 'hut-to-hut hiking', 'sightseeing', 'snowshoe hiking', 'snorkeling', 'stand-up paddleboarding (SUP)', 'kayaking / canoeing', 'yoga', 'photography', 'scuba diving', 'paragliding', 'going to the beach', 'horseback riding', 'fishing', 'rafting', 'ice climbing', 'biking', 'surfing', 'rock climbing', 'running', 'ski touring', 'skiing', 'cross-country skiing'], 'scores': [0.9966899752616882, 0.9650927186012268, 0.9594236612319946, 0.5444393754005432, 0.10481433570384979, 0.04747119918465614, 0.040747277438640594, 0.014260931871831417, 0.010571807622909546, 0.009593346156179905, 0.00911604892462492, 0.006327884271740913, 0.0034689195454120636, 0.0032262452878057957, 0.0008375234319828451, 0.0007666527526453137, 0.0007492231670767069, 0.000721554912161082, 0.0007128849974833429, 0.0006368843023665249, 0.0005957386456429958, 0.0003889266517944634, 0.00034303482971154153, 0.0003168148687109351, 0.00030240125488489866]}\n", + "['hiking', 'relaxing', 'swimming', 'hut-to-hut hiking']\n", + "1\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'tropical / humid', 'dry / desert-like', 'cold destination / winter', 'rainy climate'], 'scores': [0.9518601298332214, 0.02047707326710224, 0.016878699883818626, 0.0041808634996414185, 0.003952749073505402, 0.0026505631394684315]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['lightweight (but comfortable)', 'minimalist', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.35865816473960876, 0.2642512619495392, 0.2046031951904297, 0.17248740792274475]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.49879544973373413, 0.37605661153793335, 0.12514793872833252]}\n", + "casual\n", + "4\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['huts with half board', 'indoor', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.5135688781738281, 0.21374653279781342, 0.14601336419582367, 0.1266712248325348]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.5390129089355469, 0.4609870910644531]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['travel with children', 'off-grid / no electricity', 'pet-friendly', 'high alpine terrain', 'self-supported (bring your own cooking gear)', 'snow and ice', 'no special conditions to consider', 'snow, ice and avalanche-prone terrain'], 'scores': [0.2505994737148285, 0.24904194474220276, 0.15883469581604004, 0.1240294799208641, 0.09562542289495468, 0.048419028520584106, 0.0470912903547287, 0.026358650997281075]}\n", + "travel with children\n", + "7\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '1 day', '4 days', '3 days', '2 days'], 'scores': [0.48022332787513733, 0.10443004220724106, 0.08823374658823013, 0.0734013170003891, 0.06957270205020905, 0.06765688955783844, 0.06042400002479553, 0.05605803057551384]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type nature escape \n", + "1 activities [hiking, relaxing, swimming, hut-to-hut hiking] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation own vehicle \n", + "7 special_conditions travel with children \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 nature escape \n", + "1 [swimming, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.250000 0.00\n", + "0 0.555556 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.333333 0.666667 0.00\n", + "0 0.555556 1.000000 0.25\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['long-distance hike / thru-hike', 'road trip (car/camper)', 'micro-adventure / weekend trip', 'nature escape', 'beach vacation', 'cultural exploration', 'ski tour / skitour', 'camping trip (campground)', 'snowboard / splitboard trip', 'hut trek (summer)', 'camping trip (wild camping)', 'digital nomad trip', 'hut trek (winter)', 'festival trip', 'yoga / wellness retreat', 'city trip'], 'scores': [0.37586602568626404, 0.3234424293041229, 0.10041312873363495, 0.06723512709140778, 0.04428166151046753, 0.018833914771676064, 0.01837603561580181, 0.017102787271142006, 0.007200333289802074, 0.006426431704312563, 0.006011320743709803, 0.005211391486227512, 0.0050549618899822235, 0.0020368401892483234, 0.0012789299944415689, 0.0012285944540053606]}\n", + "long-distance hike / thru-hike\n", + "0\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['hiking', 'hut-to-hut hiking', 'relaxing', 'sightseeing', 'going to the beach', 'photography', 'running', 'swimming', 'ski touring', 'rock climbing', 'snorkeling', 'stand-up paddleboarding (SUP)', 'scuba diving', 'snowshoe hiking', 'skiing', 'kayaking / canoeing', 'biking', 'surfing', 'yoga', 'cross-country skiing', 'horseback riding', 'rafting', 'paragliding', 'ice climbing', 'fishing'], 'scores': [0.9935222864151001, 0.9862168431282043, 0.911255955696106, 0.6139300465583801, 0.3421458303928375, 0.07224645465612411, 0.06464413553476334, 0.053813062608242035, 0.05024303123354912, 0.04317838326096535, 0.042633652687072754, 0.02870418131351471, 0.022931326180696487, 0.021177863702178, 0.01997789368033409, 0.017471875995397568, 0.015730571001768112, 0.015652362257242203, 0.01529607456177473, 0.006902812514454126, 0.005585268139839172, 0.003074497915804386, 0.002846933202818036, 0.002697776770219207, 0.0026973835192620754]}\n", + "['hiking', 'hut-to-hut hiking', 'relaxing', 'sightseeing']\n", + "1\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['tropical / humid', 'warm destination / summer', 'variable weather / spring / autumn', 'cold destination / winter', 'rainy climate', 'dry / desert-like'], 'scores': [0.31069445610046387, 0.28528255224227905, 0.13737799227237701, 0.1185787245631218, 0.08503470569849014, 0.06303159147500992]}\n", + "tropical / humid\n", + "2\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['lightweight (but comfortable)', 'minimalist', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.38301584124565125, 0.32267656922340393, 0.17875206470489502, 0.11555559188127518]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['conservative', 'casual', 'formal (business trip)'], 'scores': [0.5159959197044373, 0.45351091027259827, 0.030493147671222687]}\n", + "conservative\n", + "4\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['huts with half board', 'sleeping in a car', 'sleeping in a tent', 'indoor'], 'scores': [0.8947749137878418, 0.08592884242534637, 0.016717232763767242, 0.002579005202278495]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.7573275566101074, 0.2426724135875702]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['high alpine terrain', 'pet-friendly', 'travel with children', 'off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'snow, ice and avalanche-prone terrain', 'snow and ice', 'no special conditions to consider'], 'scores': [0.23810778558254242, 0.20964813232421875, 0.20105917751789093, 0.10372640192508698, 0.08013184368610382, 0.07046563923358917, 0.05503182113170624, 0.041829194873571396]}\n", + "high alpine terrain\n", + "7\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '1 day', '4 days', '2 days', '3 days'], 'scores': [0.37564682960510254, 0.3702212870121002, 0.2069382220506668, 0.012446303851902485, 0.010851063765585423, 0.008854157291352749, 0.007634471170604229, 0.00740767503157258]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type long-distance hike / thru-hike \n", + "1 activities [hiking, hut-to-hut hiking, relaxing, sightsee... \n", + "2 climate_or_season tropical / humid \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code conservative \n", + "5 accommodation huts with half board \n", + "6 transportation own vehicle \n", + "7 special_conditions high alpine terrain \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 long-distance hike / thru-hike \n", + "1 [going to the beach] \n", + "2 tropical / humid \n", + "3 minimalist \n", + "4 casual \n", + "5 huts with half board \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.250000 0.00\n", + "0 0.555556 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.333333 0.666667 0.00\n", + "0 0.555556 1.000000 0.25\n", + "0 0.444444 0.000000 1.00\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['beach vacation', 'road trip (car/camper)', 'micro-adventure / weekend trip', 'nature escape', 'cultural exploration', 'hut trek (winter)', 'hut trek (summer)', 'camping trip (wild camping)', 'camping trip (campground)', 'digital nomad trip', 'festival trip', 'long-distance hike / thru-hike', 'city trip', 'yoga / wellness retreat', 'ski tour / skitour', 'snowboard / splitboard trip'], 'scores': [0.4032759368419647, 0.3598102629184723, 0.10403362661600113, 0.06049293652176857, 0.04003824293613434, 0.005828798282891512, 0.00523602357134223, 0.004953964613378048, 0.004290954675525427, 0.004016612656414509, 0.0022384568583220243, 0.0015219380147755146, 0.0012741881655529141, 0.00109322729986161, 0.0009872358059510589, 0.0009076259448193014]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['stand-up paddleboarding (SUP)', 'going to the beach', 'surfing', 'relaxing', 'sightseeing', 'swimming', 'paragliding', 'snorkeling', 'scuba diving', 'running', 'ice climbing', 'hut-to-hut hiking', 'photography', 'biking', 'rafting', 'kayaking / canoeing', 'fishing', 'yoga', 'hiking', 'horseback riding', 'rock climbing', 'skiing', 'snowshoe hiking', 'ski touring', 'cross-country skiing'], 'scores': [0.9855452179908752, 0.9848106503486633, 0.9699645638465881, 0.5486658811569214, 0.5473459362983704, 0.24256150424480438, 0.008486436679959297, 0.002372958930209279, 0.0017032582545652986, 0.0012293219333514571, 0.0010185946011915803, 0.0007713366067036986, 0.0007392539409920573, 0.0006851846701465547, 0.0005577838164754212, 0.000516737753059715, 0.00038567360024899244, 0.00038221137947402894, 0.00030924315797165036, 0.0002940921112895012, 0.0002564935421105474, 0.0002042880078079179, 0.00018397581879980862, 0.00016987240815069526, 0.00013979767390992492]}\n", + "['stand-up paddleboarding (SUP)', 'going to the beach', 'surfing', 'relaxing', 'sightseeing']\n", + "1\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['tropical / humid', 'cold destination / winter', 'warm destination / summer', 'variable weather / spring / autumn', 'rainy climate', 'dry / desert-like'], 'scores': [0.46341174840927124, 0.2675709128379822, 0.11936361342668533, 0.09249180555343628, 0.04032090678811073, 0.01684103161096573]}\n", + "tropical / humid\n", + "2\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['lightweight (but comfortable)', 'luxury (including evening wear)', 'minimalist', 'ultralight'], 'scores': [0.36840295791625977, 0.2866913378238678, 0.23546746373176575, 0.10943823307752609]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.5224182605743408, 0.29280808568000793, 0.18477357923984528]}\n", + "casual\n", + "4\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'huts with half board', 'indoor'], 'scores': [0.7057400345802307, 0.2857249081134796, 0.004570335149765015, 0.003964729141443968]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.5152744650840759, 0.48472556471824646]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['travel with children', 'pet-friendly', 'self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'no special conditions to consider', 'high alpine terrain'], 'scores': [0.7593703866004944, 0.04730508103966713, 0.04139739274978638, 0.03389568626880646, 0.03255334496498108, 0.030781041830778122, 0.030009238049387932, 0.024687767028808594]}\n", + "travel with children\n", + "7\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '4 days', '2 days', '3 days', '1 day'], 'scores': [0.37206023931503296, 0.13133326172828674, 0.10946320742368698, 0.10892238467931747, 0.08388890326023102, 0.08266405016183853, 0.06991388648748398, 0.04175401106476784]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [stand-up paddleboarding (SUP), going to the b... \n", + "2 climate_or_season tropical / humid \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation own vehicle \n", + "7 special_conditions travel with children \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [stand-up paddleboarding (SUP), surfing] \n", + "2 cold destination / winter \n", + "3 ultralight \n", + "4 casual \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.250000 0.00\n", + "0 0.555556 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.333333 0.666667 0.00\n", + "0 0.555556 1.000000 0.25\n", + "0 0.444444 0.000000 1.00\n", + "0 0.444444 1.000000 0.60\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['yoga / wellness retreat', 'micro-adventure / weekend trip', 'nature escape', 'cultural exploration', 'hut trek (winter)', 'road trip (car/camper)', 'festival trip', 'camping trip (campground)', 'camping trip (wild camping)', 'ski tour / skitour', 'digital nomad trip', 'long-distance hike / thru-hike', 'city trip', 'hut trek (summer)', 'beach vacation', 'snowboard / splitboard trip'], 'scores': [0.5206699967384338, 0.19938448071479797, 0.12204256653785706, 0.08761996775865555, 0.029529336839914322, 0.007423480972647667, 0.004600801970809698, 0.004127792548388243, 0.004122963175177574, 0.00409346166998148, 0.003923806361854076, 0.003592967288568616, 0.0028833970427513123, 0.00230206735432148, 0.002106061205267906, 0.0015768345911055803]}\n", + "yoga / wellness retreat\n", + "0\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['relaxing', 'yoga', 'hiking', 'hut-to-hut hiking', 'snowshoe hiking', 'ice climbing', 'ski touring', 'sightseeing', 'skiing', 'swimming', 'running', 'biking', 'rock climbing', 'stand-up paddleboarding (SUP)', 'rafting', 'photography', 'horseback riding', 'cross-country skiing', 'paragliding', 'kayaking / canoeing', 'snorkeling', 'fishing', 'surfing', 'scuba diving', 'going to the beach'], 'scores': [0.6575201153755188, 0.4219173491001129, 0.2791147828102112, 0.05205564573407173, 0.050973471254110336, 0.01161098200827837, 0.007509792223572731, 0.005235374439507723, 0.0022909604012966156, 0.0013714785454794765, 0.0011897212825715542, 0.0010850245598703623, 0.000880126841366291, 0.0007805695640854537, 0.000675680348649621, 0.0006731111207045615, 0.0005892707267776132, 0.0005452051409520209, 0.0005316122551448643, 0.00047778713633306324, 0.0003956938162446022, 0.00037589692510664463, 0.0003261305100750178, 0.0002861062530428171, 0.000207624863833189]}\n", + "['relaxing']\n", + "1\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['cold destination / winter', 'warm destination / summer', 'variable weather / spring / autumn', 'tropical / humid', 'dry / desert-like', 'rainy climate'], 'scores': [0.866009533405304, 0.059305332601070404, 0.028736835345625877, 0.01882384903728962, 0.01396873313933611, 0.013155713677406311]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['lightweight (but comfortable)', 'luxury (including evening wear)', 'ultralight', 'minimalist'], 'scores': [0.4093506932258606, 0.3137209713459015, 0.15959376096725464, 0.1173345148563385]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.44466933608055115, 0.4103734493255615, 0.14495719969272614]}\n", + "casual\n", + "4\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['indoor', 'huts with half board', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.5487402677536011, 0.20890909433364868, 0.13220879435539246, 0.11014185845851898]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.7576334476470947, 0.24236652255058289]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['travel with children', 'self-supported (bring your own cooking gear)', 'snow and ice', 'pet-friendly', 'high alpine terrain', 'off-grid / no electricity', 'snow, ice and avalanche-prone terrain', 'no special conditions to consider'], 'scores': [0.3033704161643982, 0.17301179468631744, 0.10883734375238419, 0.10775156319141388, 0.08632547408342361, 0.08587159216403961, 0.07767672091722488, 0.057155098766088486]}\n", + "travel with children\n", + "7\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['7+ days', '2 days', '7 days', '3 days', '4 days', '6 days', '5 days', '1 day'], 'scores': [0.14654012024402618, 0.1336309164762497, 0.13286465406417847, 0.12465580552816391, 0.12239041179418564, 0.11902683228254318, 0.11639872193336487, 0.10449256002902985]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type yoga / wellness retreat \n", + "1 activities [relaxing] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions travel with children \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 yoga / wellness retreat \n", + "1 [hut-to-hut hiking, yoga] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 formal (business trip) \n", + "5 sleeping in a tent \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 7 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.250000 0.00\n", + "0 0.555556 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.333333 0.666667 0.00\n", + "0 0.555556 1.000000 0.25\n", + "0 0.444444 0.000000 1.00\n", + "0 0.444444 1.000000 0.60\n", + "0 0.444444 0.000000 1.00\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski tour / skitour', 'digital nomad trip', 'micro-adventure / weekend trip', 'nature escape', 'cultural exploration', 'hut trek (winter)', 'long-distance hike / thru-hike', 'road trip (car/camper)', 'camping trip (campground)', 'camping trip (wild camping)', 'city trip', 'festival trip', 'snowboard / splitboard trip', 'yoga / wellness retreat', 'beach vacation', 'hut trek (summer)'], 'scores': [0.37783944606781006, 0.2552943527698517, 0.1718216985464096, 0.06647739559412003, 0.05954689532518387, 0.04216410219669342, 0.012888657860457897, 0.0030257662292569876, 0.0021605095826089382, 0.001516052521765232, 0.0015112755354493856, 0.0014596189139410853, 0.0012002610601484776, 0.0010545763652771711, 0.0010282760486006737, 0.0010111425071954727]}\n", + "ski tour / skitour\n", + "0\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski touring', 'skiing', 'sightseeing', 'photography', 'relaxing', 'cross-country skiing', 'snowshoe hiking', 'ice climbing', 'hut-to-hut hiking', 'running', 'stand-up paddleboarding (SUP)', 'rock climbing', 'horseback riding', 'yoga', 'biking', 'paragliding', 'hiking', 'snorkeling', 'swimming', 'rafting', 'kayaking / canoeing', 'surfing', 'fishing', 'scuba diving', 'going to the beach'], 'scores': [0.9969220161437988, 0.9888272285461426, 0.8832383751869202, 0.865372896194458, 0.13341332972049713, 0.05650241672992706, 0.014071965590119362, 0.007719138171523809, 0.004065114073455334, 0.0016761634033173323, 0.0013339479919523, 0.0010223932331427932, 0.0006822843570262194, 0.000668444437906146, 0.0005439749220386147, 0.0004151183529756963, 0.0004015942686237395, 0.0003454929974395782, 0.00026297580916434526, 0.00023619642888661474, 0.00023544608848169446, 0.00022365419135894626, 0.00021456557442434132, 0.0002074589574476704, 0.00016962472000159323]}\n", + "['ski touring', 'skiing', 'sightseeing', 'photography']\n", + "1\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['cold destination / winter', 'rainy climate', 'variable weather / spring / autumn', 'tropical / humid', 'warm destination / summer', 'dry / desert-like'], 'scores': [0.9610247015953064, 0.012816637754440308, 0.012066595256328583, 0.005841191858053207, 0.004366838373243809, 0.0038840174674987793]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.7434942722320557, 0.11855471134185791, 0.08190161734819412, 0.05604935437440872]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['conservative', 'casual', 'formal (business trip)'], 'scores': [0.8037399649620056, 0.14601892232894897, 0.05024109035730362]}\n", + "conservative\n", + "4\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['sleeping in a tent', 'indoor', 'huts with half board', 'sleeping in a car'], 'scores': [0.46841809153556824, 0.2522420585155487, 0.2053314745426178, 0.07400831580162048]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.8747982978820801, 0.12520170211791992]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['snow and ice', 'travel with children', 'high alpine terrain', 'snow, ice and avalanche-prone terrain', 'pet-friendly', 'off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'no special conditions to consider'], 'scores': [0.35290244221687317, 0.24282819032669067, 0.16678066551685333, 0.09779630601406097, 0.05123528838157654, 0.03985854983329773, 0.02465173415839672, 0.023946791887283325]}\n", + "snow and ice\n", + "7\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '4 days', '1 day', '3 days', '2 days'], 'scores': [0.35504645109176636, 0.13209210336208344, 0.10941902548074722, 0.09695339947938919, 0.08657554537057877, 0.08038756251335144, 0.07293295115232468, 0.0665929764509201]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type ski tour / skitour \n", + "1 activities [ski touring, skiing, sightseeing, photography] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code conservative \n", + "5 accommodation sleeping in a tent \n", + "6 transportation no own vehicle \n", + "7 special_conditions snow and ice \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 ski tour / skitour \n", + "1 [ski touring, photography, swimming] \n", + "2 cold destination / winter \n", + "3 minimalist \n", + "4 conservative \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 5 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.250000 0.00\n", + "0 0.555556 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.333333 0.666667 0.00\n", + "0 0.555556 1.000000 0.25\n", + "0 0.444444 0.000000 1.00\n", + "0 0.444444 1.000000 0.60\n", + "0 0.444444 0.000000 1.00\n", + "0 0.555556 0.666667 0.50\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['camping trip (wild camping)', 'nature escape', 'road trip (car/camper)', 'micro-adventure / weekend trip', 'beach vacation', 'camping trip (campground)', 'cultural exploration', 'hut trek (summer)', 'digital nomad trip', 'festival trip', 'hut trek (winter)', 'long-distance hike / thru-hike', 'city trip', 'ski tour / skitour', 'yoga / wellness retreat', 'snowboard / splitboard trip'], 'scores': [0.5127464532852173, 0.16548852622509003, 0.13170911371707916, 0.08611227571964264, 0.06250450015068054, 0.030472656711935997, 0.004220759961754084, 0.0019186022691428661, 0.0008977522957138717, 0.0007842834456823766, 0.000707719475030899, 0.000610167218837887, 0.0005806436529383063, 0.0004695078532677144, 0.00039321143412962556, 0.00038374989526346326]}\n", + "camping trip (wild camping)\n", + "0\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['kayaking / canoeing', 'snorkeling', 'relaxing', 'going to the beach', 'swimming', 'sightseeing', 'scuba diving', 'hut-to-hut hiking', 'stand-up paddleboarding (SUP)', 'paragliding', 'rafting', 'biking', 'running', 'hiking', 'fishing', 'horseback riding', 'photography', 'snowshoe hiking', 'surfing', 'yoga', 'ice climbing', 'rock climbing', 'cross-country skiing', 'skiing', 'ski touring'], 'scores': [0.9966257810592651, 0.9578295946121216, 0.4531487226486206, 0.4435346722602844, 0.0031675337813794613, 0.0017892594914883375, 0.0017042874824255705, 0.0011329051339998841, 0.0008976927492767572, 0.0006081456085667014, 0.0005057513481006026, 0.0004612554039340466, 0.0004465472011361271, 0.00034676416544243693, 0.000340941856848076, 0.00031489747925661504, 0.00031199504155665636, 0.0002453488705214113, 0.00023933130432851613, 0.00022378879657480866, 0.00021465161989908665, 0.0002097948599839583, 0.0001936056069098413, 0.00018106793868355453, 0.0001776076533133164]}\n", + "['kayaking / canoeing', 'snorkeling']\n", + "1\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['warm destination / summer', 'tropical / humid', 'variable weather / spring / autumn', 'dry / desert-like', 'cold destination / winter', 'rainy climate'], 'scores': [0.6582132577896118, 0.23147454857826233, 0.04528127983212471, 0.022608216851949692, 0.022409500554203987, 0.02001321129500866]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['lightweight (but comfortable)', 'minimalist', 'luxury (including evening wear)', 'ultralight'], 'scores': [0.29779380559921265, 0.2869349718093872, 0.23971794545650482, 0.1755533218383789]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.40105658769607544, 0.3931421637535095, 0.20580127835273743]}\n", + "casual\n", + "4\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'huts with half board', 'indoor'], 'scores': [0.5847792625427246, 0.37244686484336853, 0.026018435135483742, 0.016755469143390656]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.5176478624343872, 0.4823521375656128]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['pet-friendly', 'travel with children', 'off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'no special conditions to consider', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'high alpine terrain'], 'scores': [0.3163084089756012, 0.21408139169216156, 0.10740453749895096, 0.09979606419801712, 0.08031704276800156, 0.0752507895231247, 0.060252897441387177, 0.04658885300159454]}\n", + "pet-friendly\n", + "7\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['3 days', '4 days', '2 days', '5 days', '6 days', '7 days', '1 day', '7+ days'], 'scores': [0.9244871139526367, 0.016269376501441002, 0.011915153823792934, 0.010765213519334793, 0.010715416632592678, 0.010170917958021164, 0.008872677572071552, 0.0068040937185287476]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type camping trip (wild camping) \n", + "1 activities [kayaking / canoeing, snorkeling] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation no own vehicle \n", + "7 special_conditions pet-friendly \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 camping trip (wild camping) \n", + "1 [scuba diving, kayaking / canoeing] \n", + "2 tropical / humid \n", + "3 lightweight (but comfortable) \n", + "4 conservative \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.250000 0.00\n", + "0 0.555556 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.333333 0.666667 0.00\n", + "0 0.555556 1.000000 0.25\n", + "0 0.444444 0.000000 1.00\n", + "0 0.444444 1.000000 0.60\n", + "0 0.444444 0.000000 1.00\n", + "0 0.555556 0.666667 0.50\n", + "0 0.444444 0.500000 0.50\n", + " superclass same_value same_value same_value same_value \\\n", + "0 activity_type True True False True \n", + "1 activities False False False False \n", + "2 climate_or_season True False True False \n", + "3 style_or_comfort False True False False \n", + "4 dress_code True True True False \n", + "5 accommodation False False False False \n", + "6 transportation True True True True \n", + "7 special_conditions False False False False \n", + "8 trip_length_days False True False True \n", + "\n", + " same_value same_value same_value same_value same_value same_value \n", + "0 True True True True True True \n", + "1 False False False False False False \n", + "2 True True False True True False \n", + "3 True False False True True True \n", + "4 True False True False True False \n", + "5 False True True False False True \n", + "6 False True True True True False \n", + "7 False False False False False False \n", + "8 True False False False False True \n", + " superclass accuracy\n", + "0 activity_type 0.9\n", + "1 activities 0.0\n", + "2 climate_or_season 0.6\n", + "3 style_or_comfort 0.5\n", + "4 dress_code 0.6\n", + "5 accommodation 0.3\n", + "6 transportation 0.8\n", + "7 special_conditions 0.0\n", + "8 trip_length_days 0.4\n", + "accuracy 0.455556\n", + "true_ident 0.408333\n", + "false_pred 0.481250\n", + "dtype: float64\n", + "\n", + "Using model: MoritzLaurer/DeBERTa-v3-large-mnli-fever-anli-ling-wanli\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['beach vacation', 'nature escape', 'micro-adventure / weekend trip', 'cultural exploration', 'hut trek (summer)', 'digital nomad trip', 'ski tour / skitour', 'long-distance hike / thru-hike', 'hut trek (winter)', 'city trip', 'yoga / wellness retreat', 'festival trip', 'road trip (car/camper)', 'camping trip (campground)', 'camping trip (wild camping)', 'snowboard / splitboard trip'], 'scores': [0.5444517731666565, 0.21611054241657257, 0.18976439535617828, 0.04632033035159111, 0.002240546979010105, 0.00020922147086821496, 0.00013414323620963842, 0.00011705387441907078, 0.00011508457100717351, 0.00010763710452010855, 9.3305621703621e-05, 8.334496669704095e-05, 8.256254659499973e-05, 6.802713323850185e-05, 5.260554462438449e-05, 4.9376467359252274e-05]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['relaxing', 'going to the beach', 'sightseeing', 'hiking', 'running', 'swimming', 'hut-to-hut hiking', 'stand-up paddleboarding (SUP)', 'snorkeling', 'biking', 'surfing', 'kayaking / canoeing', 'photography', 'horseback riding', 'scuba diving', 'paragliding', 'snowshoe hiking', 'rafting', 'rock climbing', 'fishing', 'yoga', 'ski touring', 'cross-country skiing', 'skiing', 'ice climbing'], 'scores': [0.9992355704307556, 0.9991884231567383, 0.9980801343917847, 0.9545994400978088, 0.740977942943573, 0.1578710973262787, 0.0794132649898529, 0.016044989228248596, 0.006641110870987177, 0.005897294729948044, 0.000993593828752637, 0.0009259211365133524, 0.0008697831071913242, 0.0004906083340756595, 0.0004737890267278999, 0.0003921010938938707, 0.0003582006611395627, 0.0002971948415506631, 0.0002362385712331161, 0.00018702069064602256, 0.00018153082055505365, 0.00014329934492707253, 0.00012209219858050346, 0.00011217931751161814, 8.090824849205092e-05]}\n", + "['relaxing', 'going to the beach', 'sightseeing', 'hiking', 'running']\n", + "1\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'tropical / humid', 'dry / desert-like', 'rainy climate', 'cold destination / winter'], 'scores': [0.9420626759529114, 0.04725302755832672, 0.009257068857550621, 0.000550474098417908, 0.00045738613698631525, 0.00041944210533984005]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.7730101346969604, 0.13038776814937592, 0.06848765909671783, 0.02811446413397789]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9994373917579651, 0.0004299583670217544, 0.00013266959285829216]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['indoor', 'sleeping in a car', 'huts with half board', 'sleeping in a tent'], 'scores': [0.5696438550949097, 0.175174742937088, 0.14189943671226501, 0.11328194290399551]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9997069835662842, 0.00029295531567186117]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['no special conditions to consider', 'self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'snow, ice and avalanche-prone terrain', 'high alpine terrain', 'snow and ice', 'travel with children', 'pet-friendly'], 'scores': [0.6057553291320801, 0.2119140923023224, 0.03690832480788231, 0.03507917746901512, 0.031500473618507385, 0.029913783073425293, 0.026378538459539413, 0.022550201043486595]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['7+ days', '2 days', '3 days', '7 days', '6 days', '4 days', '5 days', '1 day'], 'scores': [0.5515789985656738, 0.28865373134613037, 0.09243977069854736, 0.03438732773065567, 0.01251402497291565, 0.011389607563614845, 0.0054712421260774136, 0.003565286984667182]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [relaxing, going to the beach, sightseeing, hi... \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [swimming, going to the beach, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.777778 0.75 0.4\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['city trip', 'cultural exploration', 'micro-adventure / weekend trip', 'ski tour / skitour', 'festival trip', 'nature escape', 'hut trek (summer)', 'hut trek (winter)', 'beach vacation', 'road trip (car/camper)', 'long-distance hike / thru-hike', 'digital nomad trip', 'camping trip (campground)', 'yoga / wellness retreat', 'snowboard / splitboard trip', 'camping trip (wild camping)'], 'scores': [0.5821204781532288, 0.29637789726257324, 0.12039691209793091, 0.00016696937382221222, 0.00013467067037709057, 0.00012870755745097995, 9.932329703588039e-05, 9.154762665275484e-05, 6.878933345433325e-05, 6.868247146485373e-05, 6.816718087065965e-05, 6.732901238137856e-05, 5.594621688942425e-05, 5.443051486508921e-05, 5.17305925313849e-05, 4.848635217058472e-05]}\n", + "city trip\n", + "0\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['sightseeing', 'running', 'relaxing', 'photography', 'biking', 'hiking', 'yoga', 'going to the beach', 'paragliding', 'rafting', 'stand-up paddleboarding (SUP)', 'swimming', 'surfing', 'snorkeling', 'fishing', 'skiing', 'kayaking / canoeing', 'horseback riding', 'ice climbing', 'hut-to-hut hiking', 'snowshoe hiking', 'scuba diving', 'rock climbing', 'ski touring', 'cross-country skiing'], 'scores': [0.9983648061752319, 0.97648686170578, 0.930167555809021, 0.0018544751219451427, 0.0001588969462318346, 0.0001431945274816826, 0.0001245373277924955, 0.00011767755495384336, 0.000104681690572761, 9.70972832874395e-05, 9.28177178138867e-05, 8.918123785406351e-05, 8.864065603120252e-05, 8.413162140641361e-05, 7.949275459395722e-05, 7.894829468568787e-05, 7.768392970319837e-05, 7.70774349803105e-05, 7.546463166363537e-05, 7.445770461345091e-05, 7.248543261084706e-05, 6.61485391901806e-05, 6.296713399933651e-05, 6.113291601650417e-05, 6.09969392826315e-05]}\n", + "['sightseeing', 'running', 'relaxing']\n", + "1\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['variable weather / spring / autumn', 'cold destination / winter', 'dry / desert-like', 'rainy climate', 'tropical / humid', 'warm destination / summer'], 'scores': [0.3631416857242584, 0.2982345521450043, 0.1385039985179901, 0.07598581165075302, 0.06472756713628769, 0.059406377375125885]}\n", + "variable weather / spring / autumn\n", + "2\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.4647948443889618, 0.30919188261032104, 0.12620335817337036, 0.09980994462966919]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9983624815940857, 0.0014326118398457766, 0.0002049153408734128]}\n", + "casual\n", + "4\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['indoor', 'sleeping in a car', 'sleeping in a tent', 'huts with half board'], 'scores': [0.998016893863678, 0.0009758234955370426, 0.0005807639099657536, 0.0004265023162588477]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9911507964134216, 0.008849225006997585]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['no special conditions to consider', 'self-supported (bring your own cooking gear)', 'snow, ice and avalanche-prone terrain', 'high alpine terrain', 'travel with children', 'off-grid / no electricity', 'snow and ice', 'pet-friendly'], 'scores': [0.6069263815879822, 0.16596855223178864, 0.12449979037046432, 0.03438147157430649, 0.02064668945968151, 0.01624104753136635, 0.015836495906114578, 0.015499545261263847]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['3 days', '4 days', '1 day', '2 days', '5 days', '6 days', '7 days', '7+ days'], 'scores': [0.9975009560585022, 0.00047129893209785223, 0.0004651929484680295, 0.00043529859976843, 0.0003383245493751019, 0.000310295115923509, 0.00030168250668793917, 0.00017690227832645178]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type city trip \n", + "1 activities [sightseeing, running, relaxing] \n", + "2 climate_or_season variable weather / spring / autumn \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [sightseeing] \n", + "2 variable weather / spring / autumn \n", + "3 luxury (including evening wear) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.777778 0.75 0.400000\n", + "0 0.777778 1.00 0.666667\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['micro-adventure / weekend trip', 'hut trek (winter)', 'festival trip', 'cultural exploration', 'nature escape', 'city trip', 'ski tour / skitour', 'digital nomad trip', 'long-distance hike / thru-hike', 'beach vacation', 'hut trek (summer)', 'road trip (car/camper)', 'yoga / wellness retreat', 'camping trip (campground)', 'snowboard / splitboard trip', 'camping trip (wild camping)'], 'scores': [0.3388902544975281, 0.3252999186515808, 0.09999633580446243, 0.06237436830997467, 0.03332802280783653, 0.02190251462161541, 0.02171025052666664, 0.020706480368971825, 0.013613536022603512, 0.01230467390269041, 0.01113862544298172, 0.010763210244476795, 0.008985666558146477, 0.008431753143668175, 0.005867276340723038, 0.004687097854912281]}\n", + "micro-adventure / weekend trip\n", + "0\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['running', 'relaxing', 'sightseeing', 'ski touring', 'photography', 'fishing', 'hut-to-hut hiking', 'going to the beach', 'skiing', 'surfing', 'yoga', 'paragliding', 'hiking', 'snorkeling', 'rafting', 'ice climbing', 'biking', 'cross-country skiing', 'snowshoe hiking', 'scuba diving', 'rock climbing', 'swimming', 'horseback riding', 'kayaking / canoeing', 'stand-up paddleboarding (SUP)'], 'scores': [0.9707602262496948, 0.5512378811836243, 0.03395514935255051, 0.006742995232343674, 0.003562672296538949, 0.0004288802738301456, 0.0003562245110515505, 0.00034641652018763125, 0.00034213034086860716, 0.0003279455122537911, 0.00031833641696721315, 0.00024181832850445062, 0.00023803104704711586, 0.00022122588416095823, 0.00017851534357760102, 0.00016592642350587994, 0.00015063655155245215, 0.00014902316615916789, 0.00014170847134664655, 0.00013002903142478317, 0.0001291121734539047, 9.709730511531234e-05, 7.915643800515682e-05, 7.797276339260861e-05, 6.691667658742517e-05]}\n", + "['running', 'relaxing']\n", + "1\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['cold destination / winter', 'variable weather / spring / autumn', 'rainy climate', 'dry / desert-like', 'tropical / humid', 'warm destination / summer'], 'scores': [0.9885155558586121, 0.003656631102785468, 0.0030794725753366947, 0.0019895758014172316, 0.0016132509335875511, 0.0011454782215878367]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.6170951128005981, 0.1738957166671753, 0.15100185573101044, 0.05800727382302284]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.8895791172981262, 0.08743705600500107, 0.022983836010098457]}\n", + "casual\n", + "4\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['indoor', 'sleeping in a car', 'huts with half board', 'sleeping in a tent'], 'scores': [0.9396995306015015, 0.030893445014953613, 0.01791921816766262, 0.011487780138850212]}\n", + "indoor\n", + "5\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9816517233848572, 0.018348274752497673]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['no special conditions to consider', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'self-supported (bring your own cooking gear)', 'travel with children', 'high alpine terrain', 'off-grid / no electricity', 'pet-friendly'], 'scores': [0.5248311161994934, 0.12127836048603058, 0.08972132951021194, 0.07299883663654327, 0.0589258149266243, 0.053247831761837006, 0.04495398327708244, 0.034042708575725555]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['2 days', '3 days', '1 day', '4 days', '7+ days', '5 days', '6 days', '7 days'], 'scores': [0.847747266292572, 0.0797930434346199, 0.05136888101696968, 0.0075063640251755714, 0.006864949595183134, 0.002957299817353487, 0.002501042792573571, 0.0012611289275810122]}\n", + "2 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type micro-adventure / weekend trip \n", + "1 activities [running, relaxing] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 2 days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [relaxing] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.777778 0.75 0.400000\n", + "0 0.777778 1.00 0.666667\n", + "0 0.555556 1.00 0.500000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['cultural exploration', 'nature escape', 'hut trek (summer)', 'long-distance hike / thru-hike', 'digital nomad trip', 'micro-adventure / weekend trip', 'festival trip', 'hut trek (winter)', 'city trip', 'ski tour / skitour', 'camping trip (campground)', 'beach vacation', 'road trip (car/camper)', 'yoga / wellness retreat', 'camping trip (wild camping)', 'snowboard / splitboard trip'], 'scores': [0.7333725094795227, 0.2319899946451187, 0.029813531786203384, 0.0009725532727316022, 0.000439871713751927, 0.0004283042508177459, 0.0004007859097328037, 0.00036057818215340376, 0.0003461807791609317, 0.0003224067622795701, 0.0003137991589028388, 0.00029544506105594337, 0.00028371921507641673, 0.00022803436149843037, 0.00022693997016176581, 0.00020528746244963259]}\n", + "cultural exploration\n", + "0\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['sightseeing', 'hiking', 'rafting', 'running', 'relaxing', 'kayaking / canoeing', 'hut-to-hut hiking', 'stand-up paddleboarding (SUP)', 'photography', 'swimming', 'horseback riding', 'biking', 'paragliding', 'snowshoe hiking', 'snorkeling', 'going to the beach', 'surfing', 'scuba diving', 'rock climbing', 'yoga', 'cross-country skiing', 'fishing', 'ski touring', 'skiing', 'ice climbing'], 'scores': [0.9991403222084045, 0.996936023235321, 0.9942759871482849, 0.6637340784072876, 0.5487194657325745, 0.47965630888938904, 0.35791775584220886, 0.06618660688400269, 0.017032647505402565, 0.008014493621885777, 0.0017258705338463187, 0.0005366514669731259, 0.0005208409857004881, 0.00033037460525520146, 0.00032664419268257916, 0.0003110040270257741, 0.00025518148322589695, 0.00024086602206807584, 0.00019480181799735874, 0.00018538131553214043, 0.00017542034038342535, 0.00017441430827602744, 0.000172797343111597, 0.00010700002167141065, 9.456099360249937e-05]}\n", + "['sightseeing', 'hiking', 'rafting', 'running', 'relaxing']\n", + "1\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['rainy climate', 'tropical / humid', 'warm destination / summer', 'variable weather / spring / autumn', 'dry / desert-like', 'cold destination / winter'], 'scores': [0.4382244348526001, 0.32174646854400635, 0.20347389578819275, 0.0357433557510376, 0.000430704967584461, 0.00038115729694254696]}\n", + "rainy climate\n", + "2\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'luxury (including evening wear)', 'ultralight'], 'scores': [0.7977958917617798, 0.07207188755273819, 0.07109152525663376, 0.059040721505880356]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9978638291358948, 0.0016120143700391054, 0.0005242164479568601]}\n", + "casual\n", + "4\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['indoor', 'sleeping in a tent', 'sleeping in a car', 'huts with half board'], 'scores': [0.47994473576545715, 0.20803552865982056, 0.17889153957366943, 0.13312822580337524]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.991276741027832, 0.008723254315555096]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['no special conditions to consider', 'snow, ice and avalanche-prone terrain', 'off-grid / no electricity', 'high alpine terrain', 'self-supported (bring your own cooking gear)', 'snow and ice', 'travel with children', 'pet-friendly'], 'scores': [0.7905933856964111, 0.08460211753845215, 0.03698563575744629, 0.036197200417518616, 0.019143981859087944, 0.013170835562050343, 0.009924438782036304, 0.009382441639900208]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['7+ days', '6 days', '7 days', '5 days', '4 days', '3 days', '2 days', '1 day'], 'scores': [0.9951471090316772, 0.0012583567295223475, 0.001014542649500072, 0.0009646537364460528, 0.0005800023791380227, 0.00045867066364735365, 0.000297893158858642, 0.0002787729899864644]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type cultural exploration \n", + "1 activities [sightseeing, hiking, rafting, running, relaxing] \n", + "2 climate_or_season rainy climate \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 cultural exploration \n", + "1 [sightseeing, hiking, rafting] \n", + "2 variable weather / spring / autumn \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 rainy climate \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.777778 0.75 0.400000\n", + "0 0.777778 1.00 0.666667\n", + "0 0.555556 1.00 0.500000\n", + "0 0.555556 1.00 0.400000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['nature escape', 'beach vacation', 'hut trek (summer)', 'camping trip (campground)', 'road trip (car/camper)', 'micro-adventure / weekend trip', 'cultural exploration', 'long-distance hike / thru-hike', 'camping trip (wild camping)', 'festival trip', 'city trip', 'ski tour / skitour', 'digital nomad trip', 'yoga / wellness retreat', 'hut trek (winter)', 'snowboard / splitboard trip'], 'scores': [0.9091379046440125, 0.0694037675857544, 0.010972784832119942, 0.004669335670769215, 0.0012011739891022444, 0.000754212262108922, 0.0007493799203075469, 0.0005447682342492044, 0.0005036665825173259, 0.0004431130364537239, 0.0003499034501146525, 0.0003077448927797377, 0.0003060651069972664, 0.00023344982764683664, 0.000223359907977283, 0.00019934952433686703]}\n", + "nature escape\n", + "0\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['relaxing', 'hiking', 'swimming', 'sightseeing', 'hut-to-hut hiking', 'photography', 'going to the beach', 'stand-up paddleboarding (SUP)', 'scuba diving', 'snorkeling', 'running', 'kayaking / canoeing', 'fishing', 'paragliding', 'surfing', 'rafting', 'snowshoe hiking', 'yoga', 'biking', 'horseback riding', 'skiing', 'cross-country skiing', 'rock climbing', 'ski touring', 'ice climbing'], 'scores': [0.999268114566803, 0.9992080926895142, 0.9990237951278687, 0.9869751930236816, 0.3441309630870819, 0.013095167465507984, 0.0036951852962374687, 0.0021483972668647766, 0.0020133154466748238, 0.001340950489975512, 0.0008467810694128275, 0.0004875051381532103, 0.0003678883076645434, 0.00035393823054619133, 0.00033060554414987564, 0.00026632178924046457, 0.0002616417477838695, 0.00020756146113853902, 0.0002043718850472942, 0.00019485501979943365, 0.00015563057968392968, 0.00010564243711996824, 9.766758739715442e-05, 9.732892067404464e-05, 8.876971696736291e-05]}\n", + "['relaxing', 'hiking', 'swimming', 'sightseeing']\n", + "1\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'rainy climate', 'tropical / humid', 'cold destination / winter', 'dry / desert-like'], 'scores': [0.7297358512878418, 0.11965308338403702, 0.049086835235357285, 0.03964162990450859, 0.0372326485812664, 0.024649931117892265]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It��s the perfect mix of adventure and relaxation.', 'labels': ['lightweight (but comfortable)', 'minimalist', 'luxury (including evening wear)', 'ultralight'], 'scores': [0.4432281255722046, 0.39667603373527527, 0.09430216252803802, 0.06579373776912689]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.998533308506012, 0.0012673292076215148, 0.00019934929150622338]}\n", + "casual\n", + "4\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['huts with half board', 'sleeping in a tent', 'sleeping in a car', 'indoor'], 'scores': [0.33362042903900146, 0.283731073141098, 0.19967834651470184, 0.18297019600868225]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9277392625808716, 0.07226071506738663]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['no special conditions to consider', 'high alpine terrain', 'self-supported (bring your own cooking gear)', 'snow, ice and avalanche-prone terrain', 'snow and ice', 'off-grid / no electricity', 'pet-friendly', 'travel with children'], 'scores': [0.7935242652893066, 0.04899489879608154, 0.048601921647787094, 0.027256539091467857, 0.025459328666329384, 0.022282298654317856, 0.019890792667865753, 0.013989932835102081]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['7+ days', '5 days', '7 days', '6 days', '4 days', '3 days', '2 days', '1 day'], 'scores': [0.9953279495239258, 0.0008665607310831547, 0.0008537778630852699, 0.000812529819086194, 0.0006829174235463142, 0.0006320522516034544, 0.0005083489813841879, 0.00031580650829710066]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type nature escape \n", + "1 activities [relaxing, hiking, swimming, sightseeing] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 nature escape \n", + "1 [swimming, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.777778 0.75 0.400000\n", + "0 0.777778 1.00 0.666667\n", + "0 0.555556 1.00 0.500000\n", + "0 0.555556 1.00 0.400000\n", + "0 0.777778 1.00 0.250000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['nature escape', 'micro-adventure / weekend trip', 'road trip (car/camper)', 'camping trip (campground)', 'beach vacation', 'cultural exploration', 'digital nomad trip', 'long-distance hike / thru-hike', 'hut trek (summer)', 'camping trip (wild camping)', 'ski tour / skitour', 'hut trek (winter)', 'snowboard / splitboard trip', 'festival trip', 'city trip', 'yoga / wellness retreat'], 'scores': [0.39925533533096313, 0.29816561937332153, 0.2818114161491394, 0.006745866499841213, 0.004719818010926247, 0.002091978443786502, 0.0016469737747684121, 0.0015183121431618929, 0.001223915722221136, 0.0008464207639917731, 0.0003770924231503159, 0.0003724538255482912, 0.00035610911436378956, 0.0003271482128184289, 0.00029159794212318957, 0.0002499333641026169]}\n", + "nature escape\n", + "0\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['hiking', 'going to the beach', 'hut-to-hut hiking', 'running', 'relaxing', 'snowshoe hiking', 'sightseeing', 'photography', 'stand-up paddleboarding (SUP)', 'swimming', 'snorkeling', 'surfing', 'ski touring', 'fishing', 'rafting', 'yoga', 'skiing', 'scuba diving', 'cross-country skiing', 'biking', 'ice climbing', 'horseback riding', 'paragliding', 'rock climbing', 'kayaking / canoeing'], 'scores': [0.9998120665550232, 0.9913021922111511, 0.6483669877052307, 0.5112664699554443, 0.3754005432128906, 0.008962426334619522, 0.0017505320720374584, 0.0012282038806006312, 0.0006637417827732861, 0.0005837812786921859, 0.00048112086369656026, 0.00030552648240700364, 0.0002458574017509818, 0.0001337764842901379, 0.00012419951963238418, 0.00011670914682326838, 0.00010435454169055447, 8.705809887032956e-05, 8.611441444372758e-05, 7.873123104218394e-05, 7.751504017505795e-05, 7.392344559775665e-05, 7.283645390998572e-05, 6.84880797052756e-05, 6.305525312200189e-05]}\n", + "['hiking', 'going to the beach', 'hut-to-hut hiking', 'running']\n", + "1\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'rainy climate', 'tropical / humid', 'dry / desert-like', 'cold destination / winter'], 'scores': [0.6695709228515625, 0.16465158760547638, 0.050244830548763275, 0.048004426062107086, 0.03428592532873154, 0.033242277801036835]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.560110867023468, 0.36780431866645813, 0.07188282161951065, 0.00020201421284582466]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9973775148391724, 0.0020177080295979977, 0.0006047807401046157]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['huts with half board', 'sleeping in a car', 'indoor', 'sleeping in a tent'], 'scores': [0.9971123337745667, 0.0014090673066675663, 0.0008018127409741282, 0.0006767621962353587]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.7475756406784058, 0.25242435932159424]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['off-grid / no electricity', 'no special conditions to consider', 'self-supported (bring your own cooking gear)', 'high alpine terrain', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'travel with children', 'pet-friendly'], 'scores': [0.779032289981842, 0.12209314852952957, 0.03406050428748131, 0.018084809184074402, 0.015064671635627747, 0.014761003665626049, 0.008458183147013187, 0.00844539050012827]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['6 days', '7 days', '1 day', '2 days', '7+ days', '3 days', '4 days', '5 days'], 'scores': [0.34387680888175964, 0.3084931969642639, 0.0939524918794632, 0.08520909398794174, 0.07833436876535416, 0.03472881391644478, 0.03097454644739628, 0.024430671706795692]}\n", + "6 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type nature escape \n", + "1 activities [hiking, going to the beach, hut-to-hut hiking... \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 6 days \n", + "\n", + " true_class \n", + "0 long-distance hike / thru-hike \n", + "1 [going to the beach] \n", + "2 tropical / humid \n", + "3 minimalist \n", + "4 casual \n", + "5 huts with half board \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.777778 0.75 0.400000\n", + "0 0.777778 1.00 0.666667\n", + "0 0.555556 1.00 0.500000\n", + "0 0.555556 1.00 0.400000\n", + "0 0.777778 1.00 0.250000\n", + "0 0.555556 1.00 0.750000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['beach vacation', 'road trip (car/camper)', 'nature escape', 'camping trip (campground)', 'camping trip (wild camping)', 'digital nomad trip', 'micro-adventure / weekend trip', 'hut trek (summer)', 'cultural exploration', 'festival trip', 'hut trek (winter)', 'ski tour / skitour', 'city trip', 'yoga / wellness retreat', 'long-distance hike / thru-hike', 'snowboard / splitboard trip'], 'scores': [0.4930534362792969, 0.2632850110530853, 0.20786939561367035, 0.024737536907196045, 0.009653709828853607, 0.00047443571384064853, 0.00021633139112964272, 0.00014075457875151187, 0.00012929161312058568, 7.059537165332586e-05, 7.023943180684e-05, 6.974219286348671e-05, 6.432195368688554e-05, 6.156577728688717e-05, 5.709741890314035e-05, 4.649275433621369e-05]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['going to the beach', 'surfing', 'stand-up paddleboarding (SUP)', 'relaxing', 'swimming', 'running', 'kayaking / canoeing', 'photography', 'rafting', 'sightseeing', 'paragliding', 'snorkeling', 'fishing', 'yoga', 'hiking', 'biking', 'horseback riding', 'scuba diving', 'hut-to-hut hiking', 'rock climbing', 'snowshoe hiking', 'skiing', 'ski touring', 'cross-country skiing', 'ice climbing'], 'scores': [0.9996592402458191, 0.9980458617210388, 0.9960846304893494, 0.9730753898620605, 0.921963632106781, 0.8284856081008911, 0.0010018674656748772, 0.0007750510703772306, 0.0003568665124475956, 0.0002803448005579412, 0.0002654277777764946, 0.00022974087914917618, 0.00018364140123594552, 0.00016085937386378646, 0.00014523620484396815, 0.00013949415006209165, 0.00011281625484116375, 0.000108878462924622, 9.561415208736435e-05, 6.498771836049855e-05, 5.854785194969736e-05, 5.8230081776855513e-05, 4.780896779266186e-05, 4.638498285203241e-05, 4.32441956945695e-05]}\n", + "['going to the beach', 'surfing', 'stand-up paddleboarding (SUP)', 'relaxing', 'swimming', 'running']\n", + "1\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['variable weather / spring / autumn', 'cold destination / winter', 'rainy climate', 'warm destination / summer', 'tropical / humid', 'dry / desert-like'], 'scores': [0.7386558055877686, 0.08890724927186966, 0.0744488313794136, 0.04778427630662918, 0.03165328502655029, 0.018550565466284752]}\n", + "variable weather / spring / autumn\n", + "2\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.8912755250930786, 0.06452961266040802, 0.037988435477018356, 0.006206406746059656]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9982563853263855, 0.0014431922463700175, 0.0003003970196004957]}\n", + "casual\n", + "4\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'huts with half board', 'indoor'], 'scores': [0.9981262683868408, 0.001153432996943593, 0.0004650652699638158, 0.00025524949887767434]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.9356714487075806, 0.06432854384183884]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'no special conditions to consider', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'pet-friendly', 'high alpine terrain', 'travel with children'], 'scores': [0.7355227470397949, 0.22927550971508026, 0.023721851408481598, 0.0029108270537108183, 0.002401268109679222, 0.0022638351656496525, 0.002142162062227726, 0.0017617966514080763]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '4 days', '3 days', '2 days', '1 day'], 'scores': [0.989223062992096, 0.005843200255185366, 0.0024214545264840126, 0.001060269307345152, 0.0005774148739874363, 0.0003490677918307483, 0.00028054791619069874, 0.00024500489234924316]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [going to the beach, surfing, stand-up paddleb... \n", + "2 climate_or_season variable weather / spring / autumn \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [stand-up paddleboarding (SUP), surfing] \n", + "2 cold destination / winter \n", + "3 ultralight \n", + "4 casual \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.777778 0.75 0.400000\n", + "0 0.777778 1.00 0.666667\n", + "0 0.555556 1.00 0.500000\n", + "0 0.555556 1.00 0.400000\n", + "0 0.777778 1.00 0.250000\n", + "0 0.555556 1.00 0.750000\n", + "0 0.555556 1.00 0.666667\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['yoga / wellness retreat', 'nature escape', 'micro-adventure / weekend trip', 'cultural exploration', 'ski tour / skitour', 'hut trek (winter)', 'city trip', 'digital nomad trip', 'long-distance hike / thru-hike', 'snowboard / splitboard trip', 'festival trip', 'camping trip (campground)', 'road trip (car/camper)', 'beach vacation', 'hut trek (summer)', 'camping trip (wild camping)'], 'scores': [0.6122567653656006, 0.22260135412216187, 0.14199350774288177, 0.009927263483405113, 0.008262393064796925, 0.001778839505277574, 0.0006884182803332806, 0.0005907173617742956, 0.0003067704674322158, 0.0002806541451718658, 0.00027036358369514346, 0.0002227527875220403, 0.00021878060942981392, 0.00021041330182924867, 0.00019824564515147358, 0.0001927703124238178]}\n", + "yoga / wellness retreat\n", + "0\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['yoga', 'hiking', 'relaxing', 'snowshoe hiking', 'ski touring', 'stand-up paddleboarding (SUP)', 'photography', 'sightseeing', 'cross-country skiing', 'hut-to-hut hiking', 'biking', 'swimming', 'skiing', 'horseback riding', 'kayaking / canoeing', 'ice climbing', 'running', 'rafting', 'paragliding', 'rock climbing', 'surfing', 'going to the beach', 'fishing', 'snorkeling', 'scuba diving'], 'scores': [0.9931640625, 0.9918683767318726, 0.9786753058433533, 0.3528755009174347, 0.03731613978743553, 0.014751272276043892, 0.00958598218858242, 0.004414541646838188, 0.0025170680601149797, 0.0024137096479535103, 0.00197146856226027, 0.0010020957561209798, 0.0008493970381096005, 0.0008203416364267468, 0.0006294669001363218, 0.0005121092544868588, 0.0004468347178772092, 0.0003289316955488175, 0.0002215309941675514, 0.00013895632582716644, 0.00013113851309753954, 0.00011544964945642278, 0.00010969077266054228, 0.0001076801709132269, 9.804407454794273e-05]}\n", + "['yoga', 'hiking', 'relaxing']\n", + "1\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['cold destination / winter', 'variable weather / spring / autumn', 'rainy climate', 'dry / desert-like', 'tropical / humid', 'warm destination / summer'], 'scores': [0.9969896078109741, 0.0015182538190856576, 0.000806202762760222, 0.0002928061585407704, 0.0002195329434471205, 0.00017359886260237545]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['lightweight (but comfortable)', 'luxury (including evening wear)', 'ultralight', 'minimalist'], 'scores': [0.4188930094242096, 0.29330793023109436, 0.15928976237773895, 0.1285093128681183]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9767962098121643, 0.02228580415248871, 0.0009179163607768714]}\n", + "casual\n", + "4\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['indoor', 'sleeping in a car', 'sleeping in a tent', 'huts with half board'], 'scores': [0.9969127178192139, 0.0010981468949466944, 0.001070384168997407, 0.0009187923860736191]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9990671277046204, 0.0009328957530669868]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['snow and ice', 'snow, ice and avalanche-prone terrain', 'no special conditions to consider', 'high alpine terrain', 'self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'travel with children', 'pet-friendly'], 'scores': [0.9665822982788086, 0.018401287496089935, 0.006536575965583324, 0.0034194111358374357, 0.0021739727817475796, 0.0012514755362644792, 0.0009486956987529993, 0.0006863509770482779]}\n", + "snow and ice\n", + "7\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['7+ days', '2 days', '1 day', '3 days', '4 days', '6 days', '7 days', '5 days'], 'scores': [0.3451513648033142, 0.1306045949459076, 0.1129976287484169, 0.09025346487760544, 0.0851895809173584, 0.08014214038848877, 0.08000493049621582, 0.07565636187791824]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type yoga / wellness retreat \n", + "1 activities [yoga, hiking, relaxing] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions snow and ice \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 yoga / wellness retreat \n", + "1 [hut-to-hut hiking, yoga] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 formal (business trip) \n", + "5 sleeping in a tent \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 7 days \n", + " accuracy true_ident false_pred\n", + "0 0.777778 0.75 0.400000\n", + "0 0.777778 1.00 0.666667\n", + "0 0.555556 1.00 0.500000\n", + "0 0.555556 1.00 0.400000\n", + "0 0.777778 1.00 0.250000\n", + "0 0.555556 1.00 0.750000\n", + "0 0.555556 1.00 0.666667\n", + "0 0.444444 0.50 0.666667\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski tour / skitour', 'nature escape', 'cultural exploration', 'hut trek (winter)', 'digital nomad trip', 'micro-adventure / weekend trip', 'long-distance hike / thru-hike', 'festival trip', 'city trip', 'snowboard / splitboard trip', 'yoga / wellness retreat', 'camping trip (campground)', 'road trip (car/camper)', 'beach vacation', 'hut trek (summer)', 'camping trip (wild camping)'], 'scores': [0.6382768154144287, 0.34898412227630615, 0.004496827255934477, 0.0033553186804056168, 0.0026624524034559727, 0.0004719492280855775, 0.00028072771965526044, 0.00020289758685976267, 0.00019565930415410548, 0.00018587680824566633, 0.00016232342750299722, 0.00016074201266746968, 0.00014927629672456533, 0.00014875782653689384, 0.00013519119238480926, 0.00013107065751682967]}\n", + "ski tour / skitour\n", + "0\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski touring', 'skiing', 'photography', 'relaxing', 'sightseeing', 'hut-to-hut hiking', 'cross-country skiing', 'running', 'hiking', 'yoga', 'paragliding', 'rafting', 'biking', 'swimming', 'surfing', 'ice climbing', 'horseback riding', 'fishing', 'scuba diving', 'snowshoe hiking', 'going to the beach', 'snorkeling', 'stand-up paddleboarding (SUP)', 'rock climbing', 'kayaking / canoeing'], 'scores': [0.9996750950813293, 0.9995617866516113, 0.6772544384002686, 0.009080878458917141, 0.005303272046148777, 0.0025820748414844275, 0.0005505622248165309, 0.00037411076482385397, 0.00035635451786220074, 0.0001530906738480553, 0.0001497681951150298, 0.00013996657798998058, 0.00013668034807778895, 0.00013610451424028724, 0.00013063993537798524, 0.00012790493201464415, 0.0001222029241034761, 0.00010286010365234688, 9.679818322183564e-05, 9.518129081698135e-05, 9.171495912596583e-05, 9.013905219035223e-05, 8.706172229722142e-05, 8.236377470893785e-05, 7.765414920868352e-05]}\n", + "['ski touring', 'skiing', 'photography']\n", + "1\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['cold destination / winter', 'variable weather / spring / autumn', 'dry / desert-like', 'rainy climate', 'tropical / humid', 'warm destination / summer'], 'scores': [0.9986961483955383, 0.0003509517991915345, 0.00029432776500470936, 0.0002802700619213283, 0.00019009283278137445, 0.00018817104864865541]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.7368482947349548, 0.2250514030456543, 0.03313418850302696, 0.004966153297573328]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9134576320648193, 0.07468882948160172, 0.01185356080532074]}\n", + "casual\n", + "4\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['indoor', 'sleeping in a tent', 'sleeping in a car', 'huts with half board'], 'scores': [0.9909074306488037, 0.003433108562603593, 0.002834686078131199, 0.0028247463051229715]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9923460483551025, 0.007653948850929737]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['snow and ice', 'snow, ice and avalanche-prone terrain', 'high alpine terrain', 'no special conditions to consider', 'off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'travel with children', 'pet-friendly'], 'scores': [0.8504838347434998, 0.1404222846031189, 0.0023759156465530396, 0.0022760184947401285, 0.002270035445690155, 0.0012564294738695025, 0.0004756794369313866, 0.00043980349437333643]}\n", + "snow and ice\n", + "7\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '4 days', '1 day', '3 days', '2 days'], 'scores': [0.9861932396888733, 0.004974791780114174, 0.0026425605174154043, 0.0019097059266641736, 0.001837141695432365, 0.000901467225048691, 0.0008923218119889498, 0.0006486815400421619]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type ski tour / skitour \n", + "1 activities [ski touring, skiing, photography] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions snow and ice \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 ski tour / skitour \n", + "1 [ski touring, photography, swimming] \n", + "2 cold destination / winter \n", + "3 minimalist \n", + "4 conservative \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 5 days \n", + " accuracy true_ident false_pred\n", + "0 0.777778 0.750000 0.400000\n", + "0 0.777778 1.000000 0.666667\n", + "0 0.555556 1.000000 0.500000\n", + "0 0.555556 1.000000 0.400000\n", + "0 0.777778 1.000000 0.250000\n", + "0 0.555556 1.000000 0.750000\n", + "0 0.555556 1.000000 0.666667\n", + "0 0.444444 0.500000 0.666667\n", + "0 0.555556 0.666667 0.333333\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['camping trip (wild camping)', 'road trip (car/camper)', 'nature escape', 'micro-adventure / weekend trip', 'camping trip (campground)', 'beach vacation', 'digital nomad trip', 'cultural exploration', 'festival trip', 'hut trek (summer)', 'hut trek (winter)', 'city trip', 'ski tour / skitour', 'long-distance hike / thru-hike', 'yoga / wellness retreat', 'snowboard / splitboard trip'], 'scores': [0.4608076810836792, 0.17862249910831451, 0.1285616010427475, 0.11041224747896194, 0.0765342116355896, 0.04339483380317688, 0.0005322566721588373, 0.000426852231612429, 0.00016549622523598373, 0.00013171916361898184, 8.256099681602791e-05, 7.452056161127985e-05, 7.180110696936026e-05, 6.992110866121948e-05, 5.9392052207840607e-05, 5.239262827672064e-05]}\n", + "camping trip (wild camping)\n", + "0\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['kayaking / canoeing', 'snorkeling', 'swimming', 'going to the beach', 'running', 'relaxing', 'rafting', 'photography', 'stand-up paddleboarding (SUP)', 'sightseeing', 'hiking', 'scuba diving', 'fishing', 'hut-to-hut hiking', 'surfing', 'biking', 'yoga', 'paragliding', 'horseback riding', 'rock climbing', 'skiing', 'snowshoe hiking', 'ski touring', 'cross-country skiing', 'ice climbing'], 'scores': [0.9869630336761475, 0.9823231101036072, 0.9632033109664917, 0.9595791697502136, 0.8922586441040039, 0.7787550091743469, 0.0008629347430542111, 0.0006182342185638845, 0.0006181707140058279, 0.00046712183393538, 0.00041370411054231226, 0.0004020574560854584, 0.0003577682946342975, 0.00028060926706530154, 0.0002756456087809056, 0.0002272573037771508, 0.00021508615463972092, 0.00021410903718788177, 0.00013522253721021116, 0.0001294684479944408, 6.985262734815478e-05, 5.617013812297955e-05, 5.428465374279767e-05, 5.046984733780846e-05, 5.012948895455338e-05]}\n", + "['kayaking / canoeing', 'snorkeling', 'swimming', 'going to the beach', 'running', 'relaxing']\n", + "1\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['tropical / humid', 'warm destination / summer', 'variable weather / spring / autumn', 'rainy climate', 'dry / desert-like', 'cold destination / winter'], 'scores': [0.9555957913398743, 0.02169220894575119, 0.007234721444547176, 0.006480485666543245, 0.005215061828494072, 0.003781726351007819]}\n", + "tropical / humid\n", + "2\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.5499864220619202, 0.2512957453727722, 0.19856701791286469, 0.00015079394506756216]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.99895840883255, 0.0006900332518853247, 0.0003516312863212079]}\n", + "casual\n", + "4\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'indoor', 'huts with half board'], 'scores': [0.9975029826164246, 0.0013844291679561138, 0.0005922418786212802, 0.0005202952306717634]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.9895318746566772, 0.010468104854226112]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['off-grid / no electricity', 'no special conditions to consider', 'self-supported (bring your own cooking gear)', 'high alpine terrain', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'pet-friendly', 'travel with children'], 'scores': [0.8895233273506165, 0.04868960753083229, 0.03836800530552864, 0.00535828061401844, 0.004935247357934713, 0.00459499005228281, 0.004275256302207708, 0.004255247302353382]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['3 days', '2 days', '4 days', '1 day', '6 days', '5 days', '7 days', '7+ days'], 'scores': [0.997272789478302, 0.0005712340353056788, 0.0004742863529827446, 0.0004482012882363051, 0.00035913227475248277, 0.00035059318179264665, 0.00030300740036182106, 0.00022065785015001893]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type camping trip (wild camping) \n", + "1 activities [kayaking / canoeing, snorkeling, swimming, go... \n", + "2 climate_or_season tropical / humid \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 camping trip (wild camping) \n", + "1 [scuba diving, kayaking / canoeing] \n", + "2 tropical / humid \n", + "3 lightweight (but comfortable) \n", + "4 conservative \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.777778 0.750000 0.400000\n", + "0 0.777778 1.000000 0.666667\n", + "0 0.555556 1.000000 0.500000\n", + "0 0.555556 1.000000 0.400000\n", + "0 0.777778 1.000000 0.250000\n", + "0 0.555556 1.000000 0.750000\n", + "0 0.555556 1.000000 0.666667\n", + "0 0.444444 0.500000 0.666667\n", + "0 0.555556 0.666667 0.333333\n", + "0 0.555556 0.500000 0.833333\n", + " superclass same_value same_value same_value same_value \\\n", + "0 activity_type True True False True \n", + "1 activities False False False False \n", + "2 climate_or_season True True True False \n", + "3 style_or_comfort False False False False \n", + "4 dress_code True True True True \n", + "5 accommodation True True True True \n", + "6 transportation True True True True \n", + "7 special_conditions True True True False \n", + "8 trip_length_days True True False True \n", + "\n", + " same_value same_value same_value same_value same_value same_value \n", + "0 True False True True True True \n", + "1 False False False False False False \n", + "2 True False False True True True \n", + "3 True True False True True False \n", + "4 True True True False False False \n", + "5 False True True False True True \n", + "6 True False True True True True \n", + "7 True True True False False False \n", + "8 True True False False False True \n", + " superclass accuracy\n", + "0 activity_type 0.8\n", + "1 activities 0.0\n", + "2 climate_or_season 0.7\n", + "3 style_or_comfort 0.4\n", + "4 dress_code 0.7\n", + "5 accommodation 0.8\n", + "6 transportation 0.9\n", + "7 special_conditions 0.6\n", + "8 trip_length_days 0.6\n", + "accuracy 0.611111\n", + "true_ident 0.841667\n", + "false_pred 0.546667\n", + "dtype: float64\n", + "\n", + "Using model: MoritzLaurer/deberta-v3-large-zeroshot-v2.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['beach vacation', 'nature escape', 'micro-adventure / weekend trip', 'cultural exploration', 'hut trek (summer)', 'road trip (car/camper)', 'festival trip', 'city trip', 'digital nomad trip', 'camping trip (campground)', 'hut trek (winter)', 'long-distance hike / thru-hike', 'camping trip (wild camping)', 'yoga / wellness retreat', 'ski tour / skitour', 'snowboard / splitboard trip'], 'scores': [0.540574848651886, 0.17583170533180237, 0.17128115892410278, 0.0358898788690567, 0.027821946889162064, 0.011772960424423218, 0.007848527282476425, 0.007751017808914185, 0.005348103120923042, 0.003995032049715519, 0.0031476274598389864, 0.0025948351249098778, 0.0019286359893158078, 0.0017248973017558455, 0.001486999448388815, 0.0010018779430538416]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['relaxing', 'going to the beach', 'sightseeing', 'running', 'hiking', 'biking', 'hut-to-hut hiking', 'kayaking / canoeing', 'swimming', 'photography', 'surfing', 'snorkeling', 'fishing', 'stand-up paddleboarding (SUP)', 'yoga', 'horseback riding', 'rafting', 'scuba diving', 'skiing', 'rock climbing', 'paragliding', 'ski touring', 'snowshoe hiking', 'cross-country skiing', 'ice climbing'], 'scores': [0.9895981550216675, 0.4534497559070587, 0.28671494126319885, 0.11864684522151947, 0.09050384908914566, 0.01029898226261139, 0.0054164668545126915, 0.005332465749233961, 0.005006824620068073, 0.0034022487234324217, 0.00145826512016356, 0.0013724712189286947, 0.0009727971628308296, 0.000748474383726716, 0.0006988979293964803, 0.0005830222507938743, 0.0005616010748781264, 0.0004407915403135121, 0.00039490696508437395, 0.00038764163036830723, 0.00030181027250364423, 0.00018776358047034591, 0.00017748789105098695, 0.00014631153317168355, 8.74132601893507e-05]}\n", + "['relaxing']\n", + "1\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'dry / desert-like', 'tropical / humid', 'rainy climate', 'cold destination / winter'], 'scores': [0.7330747246742249, 0.1690293699502945, 0.046533554792404175, 0.034680504351854324, 0.01278524287045002, 0.003896585665643215]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.4746802747249603, 0.3008400797843933, 0.21583037078380585, 0.008649234659969807]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9665514826774597, 0.027425331994891167, 0.006023219786584377]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['indoor', 'huts with half board', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.49530908465385437, 0.39290356636047363, 0.06945105642080307, 0.04233633354306221]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9625488519668579, 0.03745115548372269]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['no special conditions to consider', 'self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'pet-friendly', 'high alpine terrain', 'travel with children', 'snow and ice', 'snow, ice and avalanche-prone terrain'], 'scores': [0.7973918318748474, 0.16384831070899963, 0.01556665450334549, 0.01089412346482277, 0.0034999505151063204, 0.003219936741515994, 0.0030822777189314365, 0.0024968599900603294]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['2 days', '7+ days', '6 days', '5 days', '4 days', '3 days', '7 days', '1 day'], 'scores': [0.1798335760831833, 0.1733836531639099, 0.14580050110816956, 0.12083779275417328, 0.11953994631767273, 0.11643423140048981, 0.09554346650838852, 0.04862680286169052]}\n", + "2 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [relaxing] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 2 days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [swimming, going to the beach, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.666667 0.25 0.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['city trip', 'micro-adventure / weekend trip', 'cultural exploration', 'festival trip', 'nature escape', 'hut trek (summer)', 'hut trek (winter)', 'beach vacation', 'digital nomad trip', 'road trip (car/camper)', 'ski tour / skitour', 'camping trip (campground)', 'snowboard / splitboard trip', 'yoga / wellness retreat', 'long-distance hike / thru-hike', 'camping trip (wild camping)'], 'scores': [0.9047680497169495, 0.05336765572428703, 0.03710786998271942, 0.001301672076806426, 0.0010745287872850895, 0.0004946323460899293, 0.0003452598466537893, 0.00033505819737911224, 0.0002724094083532691, 0.0001865390077000484, 0.00017530772311147302, 0.00014307598758023232, 0.00011445827840361744, 0.00011144841846544296, 0.00010179392120335251, 0.00010025408846559003]}\n", + "city trip\n", + "0\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['relaxing', 'sightseeing', 'running', 'photography', 'hiking', 'kayaking / canoeing', 'biking', 'going to the beach', 'swimming', 'fishing', 'yoga', 'skiing', 'hut-to-hut hiking', 'surfing', 'snorkeling', 'snowshoe hiking', 'rafting', 'ski touring', 'scuba diving', 'cross-country skiing', 'paragliding', 'horseback riding', 'rock climbing', 'ice climbing', 'stand-up paddleboarding (SUP)'], 'scores': [0.8914268612861633, 0.8516362309455872, 0.07387290149927139, 0.004975506104528904, 0.0019135033944621682, 0.0009742618422023952, 0.0009214051533490419, 0.0008361576474271715, 0.0007710555801168084, 0.0004434631555341184, 0.00043659089715220034, 0.0004061785584781319, 0.0003083439078181982, 0.0002466956211719662, 0.00022021104814484715, 0.000200732218218036, 0.00019510647689457983, 0.00018488669593352824, 0.00016408419469371438, 0.0001636030210647732, 0.00015344092389568686, 0.0001489145797677338, 0.00011328162509016693, 0.00010412382835056633, 0.00010213391942670569]}\n", + "['relaxing', 'sightseeing']\n", + "1\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['dry / desert-like', 'cold destination / winter', 'variable weather / spring / autumn', 'rainy climate', 'warm destination / summer', 'tropical / humid'], 'scores': [0.28125205636024475, 0.25270703434944153, 0.24900460243225098, 0.09893329441547394, 0.08001335710287094, 0.0380895659327507]}\n", + "dry / desert-like\n", + "2\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['lightweight (but comfortable)', 'ultralight', 'minimalist', 'luxury (including evening wear)'], 'scores': [0.397329717874527, 0.3171996772289276, 0.26277199387550354, 0.022698543965816498]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9508528113365173, 0.04267475754022598, 0.006472473032772541]}\n", + "casual\n", + "4\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['huts with half board', 'indoor', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.5570633411407471, 0.3667462468147278, 0.049031514674425125, 0.02715887315571308]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.8343377709388733, 0.16566218435764313]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['no special conditions to consider', 'self-supported (bring your own cooking gear)', 'snow, ice and avalanche-prone terrain', 'pet-friendly', 'high alpine terrain', 'off-grid / no electricity', 'snow and ice', 'travel with children'], 'scores': [0.8717426657676697, 0.08990778028964996, 0.010709349066019058, 0.008171449415385723, 0.006933159194886684, 0.006024550646543503, 0.004343606065958738, 0.002167449099943042]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['3 days', '1 day', '2 days', '4 days', '7 days', '6 days', '5 days', '7+ days'], 'scores': [0.9787912368774414, 0.0054542301222682, 0.0035032974556088448, 0.0028807558119297028, 0.002710973843932152, 0.0024503651075065136, 0.002450020983815193, 0.0017591137439012527]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type city trip \n", + "1 activities [relaxing, sightseeing] \n", + "2 climate_or_season dry / desert-like \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [sightseeing] \n", + "2 variable weather / spring / autumn \n", + "3 luxury (including evening wear) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.666667 0.25 0.0\n", + "0 0.555556 1.00 0.5\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['micro-adventure / weekend trip', 'cultural exploration', 'city trip', 'hut trek (winter)', 'nature escape', 'festival trip', 'digital nomad trip', 'beach vacation', 'road trip (car/camper)', 'camping trip (campground)', 'long-distance hike / thru-hike', 'ski tour / skitour', 'camping trip (wild camping)', 'hut trek (summer)', 'snowboard / splitboard trip', 'yoga / wellness retreat'], 'scores': [0.3243733048439026, 0.2016429901123047, 0.10126199573278427, 0.10075175762176514, 0.0786653459072113, 0.07541418075561523, 0.02434183657169342, 0.019218657165765762, 0.013848238624632359, 0.013748589903116226, 0.009427905082702637, 0.009225049987435341, 0.00798394251614809, 0.007148328702896833, 0.006898951716721058, 0.006048942916095257]}\n", + "micro-adventure / weekend trip\n", + "0\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['running', 'relaxing', 'sightseeing', 'paragliding', 'biking', 'photography', 'hiking', 'going to the beach', 'kayaking / canoeing', 'swimming', 'hut-to-hut hiking', 'fishing', 'yoga', 'skiing', 'rafting', 'horseback riding', 'cross-country skiing', 'surfing', 'ski touring', 'snowshoe hiking', 'snorkeling', 'scuba diving', 'stand-up paddleboarding (SUP)', 'ice climbing', 'rock climbing'], 'scores': [0.11223453283309937, 0.05237799137830734, 0.012791312299668789, 0.004979365039616823, 0.002586791990324855, 0.001641722396016121, 0.001115853781811893, 0.0010774378897622228, 0.001055501983501017, 0.0009273794130422175, 0.0007749773794785142, 0.0004476915637496859, 0.0003129353281110525, 0.0003016387054231018, 0.0002593835524749011, 0.00024547780049033463, 0.00017648110224399716, 0.00016495255113113672, 0.00015298953803721815, 0.00012601111666299403, 0.00012280601367820054, 0.00010679734259610996, 9.942331962520257e-05, 9.232638694811612e-05, 8.868955046636984e-05]}\n", + "[]\n", + "1\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['cold destination / winter', 'dry / desert-like', 'rainy climate', 'variable weather / spring / autumn', 'tropical / humid', 'warm destination / summer'], 'scores': [0.6082100868225098, 0.16648654639720917, 0.10846409201622009, 0.083712138235569, 0.02540912851691246, 0.0077179488725960255]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.645818293094635, 0.24975569546222687, 0.05797264352440834, 0.04645337536931038]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['conservative', 'casual', 'formal (business trip)'], 'scores': [0.44843506813049316, 0.44146326184272766, 0.11010167002677917]}\n", + "conservative\n", + "4\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['huts with half board', 'indoor', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.46601974964141846, 0.43511924147605896, 0.06717222183942795, 0.03168877959251404]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.7875342965126038, 0.21246573328971863]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['no special conditions to consider', 'self-supported (bring your own cooking gear)', 'snow, ice and avalanche-prone terrain', 'off-grid / no electricity', 'snow and ice', 'high alpine terrain', 'pet-friendly', 'travel with children'], 'scores': [0.7719332575798035, 0.13952508568763733, 0.028825251385569572, 0.01484883576631546, 0.014471466653048992, 0.012969687581062317, 0.010143648833036423, 0.00728279072791338]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['7+ days', '2 days', '7 days', '1 day', '3 days', '4 days', '5 days', '6 days'], 'scores': [0.3044857084751129, 0.16198693215847015, 0.1235339343547821, 0.10670124739408493, 0.10550602525472641, 0.07317331433296204, 0.07100924849510193, 0.05360353738069534]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type micro-adventure / weekend trip \n", + "1 activities [] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code conservative \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [relaxing] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.666667 0.25 0.0\n", + "0 0.555556 1.00 0.5\n", + "0 0.444444 0.00 NaN\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['cultural exploration', 'hut trek (summer)', 'nature escape', 'micro-adventure / weekend trip', 'city trip', 'festival trip', 'camping trip (campground)', 'digital nomad trip', 'hut trek (winter)', 'long-distance hike / thru-hike', 'camping trip (wild camping)', 'beach vacation', 'road trip (car/camper)', 'yoga / wellness retreat', 'ski tour / skitour', 'snowboard / splitboard trip'], 'scores': [0.5237001180648804, 0.22795896232128143, 0.09159558266401291, 0.04576190933585167, 0.022755669429898262, 0.01685747504234314, 0.010900093242526054, 0.010843522846698761, 0.010837402194738388, 0.010558702982962132, 0.007422746159136295, 0.007138502784073353, 0.0053896415047347546, 0.0030592503026127815, 0.0028138472698628902, 0.002406551968306303]}\n", + "cultural exploration\n", + "0\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['hiking', 'sightseeing', 'relaxing', 'rafting', 'running', 'kayaking / canoeing', 'photography', 'hut-to-hut hiking', 'swimming', 'going to the beach', 'biking', 'yoga', 'horseback riding', 'fishing', 'stand-up paddleboarding (SUP)', 'surfing', 'paragliding', 'snorkeling', 'skiing', 'scuba diving', 'cross-country skiing', 'snowshoe hiking', 'ski touring', 'rock climbing', 'ice climbing'], 'scores': [0.28072381019592285, 0.24620948731899261, 0.0728176161646843, 0.05350010469555855, 0.037786319851875305, 0.011649451218545437, 0.0030727856792509556, 0.0029012998566031456, 0.0024104288313537836, 0.00229629990644753, 0.0020154407247900963, 0.0007598921656608582, 0.0005324294324964285, 0.0003796119417529553, 0.0003761764382943511, 0.0002992757654283196, 0.000282983120996505, 0.0002663573541212827, 0.00025498587638139725, 0.00022939854534342885, 0.0002292313874932006, 0.00016893875726964325, 0.00014844629913568497, 0.00013607539585791528, 0.00010784620826598257]}\n", + "[]\n", + "1\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['warm destination / summer', 'tropical / humid', 'rainy climate', 'variable weather / spring / autumn', 'dry / desert-like', 'cold destination / winter'], 'scores': [0.5529713034629822, 0.13685786724090576, 0.12937045097351074, 0.1264636516571045, 0.04466181993484497, 0.00967496633529663]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.7458080649375916, 0.17575135827064514, 0.046510759741067886, 0.03192982077598572]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.8770694136619568, 0.10288258641958237, 0.02004794031381607]}\n", + "casual\n", + "4\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['huts with half board', 'indoor', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.4419741630554199, 0.37804079055786133, 0.09964881837368011, 0.08033629506826401]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.7454105019569397, 0.2545894980430603]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['no special conditions to consider', 'self-supported (bring your own cooking gear)', 'high alpine terrain', 'off-grid / no electricity', 'pet-friendly', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'travel with children'], 'scores': [0.6809815168380737, 0.23135535418987274, 0.047363683581352234, 0.015920840203762054, 0.012004069052636623, 0.005084002390503883, 0.004369519185274839, 0.0029210106004029512]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['7+ days', '1 day', '7 days', '3 days', '6 days', '5 days', '2 days', '4 days'], 'scores': [0.9727691411972046, 0.00714900903403759, 0.005046790931373835, 0.003694989252835512, 0.0035785904619842768, 0.0029785390943288803, 0.0025766422040760517, 0.0022062540519982576]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type cultural exploration \n", + "1 activities [] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 cultural exploration \n", + "1 [sightseeing, hiking, rafting] \n", + "2 variable weather / spring / autumn \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 rainy climate \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.666667 0.25 0.0\n", + "0 0.555556 1.00 0.5\n", + "0 0.444444 0.00 NaN\n", + "0 0.333333 0.00 NaN\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['hut trek (summer)', 'nature escape', 'camping trip (campground)', 'cultural exploration', 'micro-adventure / weekend trip', 'long-distance hike / thru-hike', 'road trip (car/camper)', 'camping trip (wild camping)', 'beach vacation', 'festival trip', 'digital nomad trip', 'city trip', 'yoga / wellness retreat', 'hut trek (winter)', 'ski tour / skitour', 'snowboard / splitboard trip'], 'scores': [0.4726983308792114, 0.4164566099643707, 0.021807106211781502, 0.018700705841183662, 0.017125574871897697, 0.009333894588053226, 0.008568063378334045, 0.0081627881154418, 0.006627154536545277, 0.006340299732983112, 0.006157406140118837, 0.00392079958692193, 0.0013418957823887467, 0.0010761655867099762, 0.0009682789095677435, 0.0007149213925004005]}\n", + "hut trek (summer)\n", + "0\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['relaxing', 'hiking', 'swimming', 'sightseeing', 'running', 'hut-to-hut hiking', 'kayaking / canoeing', 'photography', 'going to the beach', 'biking', 'stand-up paddleboarding (SUP)', 'fishing', 'snorkeling', 'rafting', 'scuba diving', 'surfing', 'yoga', 'paragliding', 'horseback riding', 'skiing', 'snowshoe hiking', 'cross-country skiing', 'rock climbing', 'ski touring', 'ice climbing'], 'scores': [0.7236350178718567, 0.6093413233757019, 0.12801645696163177, 0.08936749398708344, 0.018426882103085518, 0.010148907080292702, 0.007792267948389053, 0.004522609990090132, 0.0040685925632715225, 0.0021247139666229486, 0.0016714483499526978, 0.0015002069994807243, 0.001354475854896009, 0.0013080098433420062, 0.0009955517016351223, 0.0008254730491898954, 0.0007104346877895296, 0.0004664211592171341, 0.0004098135104868561, 0.0002901926636695862, 0.00021011386706959456, 0.00018713960889726877, 0.00017897966608870775, 0.000142478704219684, 0.00011465019633760676]}\n", + "['relaxing', 'hiking']\n", + "1\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'dry / desert-like', 'tropical / humid', 'rainy climate', 'cold destination / winter'], 'scores': [0.743497908115387, 0.11723490059375763, 0.06325744092464447, 0.04260329157114029, 0.029327530413866043, 0.004078979603946209]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['lightweight (but comfortable)', 'ultralight', 'minimalist', 'luxury (including evening wear)'], 'scores': [0.4338512718677521, 0.29340165853500366, 0.24233049154281616, 0.03041655570268631]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9181137084960938, 0.07210994511842728, 0.009776383638381958]}\n", + "casual\n", + "4\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['huts with half board', 'sleeping in a tent', 'indoor', 'sleeping in a car'], 'scores': [0.6635745763778687, 0.15678207576274872, 0.1376606822013855, 0.04198266565799713]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.6348640322685242, 0.36513590812683105]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['no special conditions to consider', 'self-supported (bring your own cooking gear)', 'high alpine terrain', 'off-grid / no electricity', 'travel with children', 'pet-friendly', 'snow and ice', 'snow, ice and avalanche-prone terrain'], 'scores': [0.4834531247615814, 0.3029048442840576, 0.07137680798768997, 0.04930464178323746, 0.04335354268550873, 0.03568526357412338, 0.007340526673942804, 0.006581204477697611]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['7+ days', '1 day', '6 days', '2 days', '4 days', '5 days', '3 days', '7 days'], 'scores': [0.9804688096046448, 0.007080431096255779, 0.002598961116746068, 0.0024328685831278563, 0.0020956203807145357, 0.001968599623069167, 0.0017564675072208047, 0.0015982503537088633]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type hut trek (summer) \n", + "1 activities [relaxing, hiking] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 nature escape \n", + "1 [swimming, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.666667 0.250000 0.0\n", + "0 0.555556 1.000000 0.5\n", + "0 0.444444 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.666667 0.666667 0.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['nature escape', 'hut trek (summer)', 'long-distance hike / thru-hike', 'camping trip (campground)', 'road trip (car/camper)', 'micro-adventure / weekend trip', 'camping trip (wild camping)', 'hut trek (winter)', 'beach vacation', 'cultural exploration', 'digital nomad trip', 'festival trip', 'snowboard / splitboard trip', 'city trip', 'ski tour / skitour', 'yoga / wellness retreat'], 'scores': [0.4786786139011383, 0.19686007499694824, 0.14486241340637207, 0.050541386008262634, 0.04170877858996391, 0.03530164062976837, 0.023665593937039375, 0.00773708987981081, 0.004898452199995518, 0.004586772061884403, 0.00288120424374938, 0.002224661409854889, 0.0021658914629369974, 0.0017841645749285817, 0.0012097429716959596, 0.0008935121004469693]}\n", + "nature escape\n", + "0\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['hiking', 'hut-to-hut hiking', 'running', 'relaxing', 'going to the beach', 'sightseeing', 'surfing', 'swimming', 'biking', 'photography', 'rafting', 'stand-up paddleboarding (SUP)', 'snowshoe hiking', 'horseback riding', 'skiing', 'ski touring', 'kayaking / canoeing', 'snorkeling', 'yoga', 'fishing', 'paragliding', 'rock climbing', 'scuba diving', 'cross-country skiing', 'ice climbing'], 'scores': [0.9997524619102478, 0.7719876766204834, 0.11473424732685089, 0.05858203023672104, 0.024375952780246735, 0.003242070320993662, 0.0011808943236246705, 0.0010936780599877238, 0.0009702210081741214, 0.0006590911652892828, 0.0005865307175554335, 0.0004967381246387959, 0.00033697771141305566, 0.0002790963335428387, 0.0002562550362199545, 0.0002562129811849445, 0.00022160731896292418, 0.00020152729121036828, 0.0001995340280700475, 0.00017936670337803662, 0.00014765863306820393, 0.0001160710962722078, 0.00010945371468551457, 0.00010840142203960568, 7.818868471076712e-05]}\n", + "['hiking', 'hut-to-hut hiking']\n", + "1\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'dry / desert-like', 'tropical / humid', 'rainy climate', 'cold destination / winter'], 'scores': [0.45945411920547485, 0.2717747390270233, 0.14553998410701752, 0.06587608903646469, 0.031606171280145645, 0.025748854503035545]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.5652434825897217, 0.29396721720695496, 0.13934913277626038, 0.0014402525266632438]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9005856513977051, 0.09515774250030518, 0.004256647080183029]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['huts with half board', 'sleeping in a tent', 'indoor', 'sleeping in a car'], 'scores': [0.9786977171897888, 0.008309613913297653, 0.007907713763415813, 0.005084925796836615]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.6302744746208191, 0.3697255253791809]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['no special conditions to consider', 'off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'high alpine terrain', 'pet-friendly', 'snow, ice and avalanche-prone terrain', 'snow and ice', 'travel with children'], 'scores': [0.7186384797096252, 0.15296901762485504, 0.07704836875200272, 0.021962536498904228, 0.010641331784427166, 0.008646330796182156, 0.005986757110804319, 0.00410722428932786]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['6 days', '7 days', '7+ days', '5 days', '2 days', '1 day', '4 days', '3 days'], 'scores': [0.7854909300804138, 0.08008405566215515, 0.059808067977428436, 0.019290413707494736, 0.018107280135154724, 0.016997413709759712, 0.01092872116714716, 0.009293134324252605]}\n", + "6 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type nature escape \n", + "1 activities [hiking, hut-to-hut hiking] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 6 days \n", + "\n", + " true_class \n", + "0 long-distance hike / thru-hike \n", + "1 [going to the beach] \n", + "2 tropical / humid \n", + "3 minimalist \n", + "4 casual \n", + "5 huts with half board \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.666667 0.250000 0.0\n", + "0 0.555556 1.000000 0.5\n", + "0 0.444444 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.666667 0.666667 0.0\n", + "0 0.444444 0.000000 1.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['beach vacation', 'nature escape', 'road trip (car/camper)', 'micro-adventure / weekend trip', 'camping trip (campground)', 'hut trek (summer)', 'camping trip (wild camping)', 'cultural exploration', 'festival trip', 'hut trek (winter)', 'city trip', 'digital nomad trip', 'ski tour / skitour', 'yoga / wellness retreat', 'long-distance hike / thru-hike', 'snowboard / splitboard trip'], 'scores': [0.9023054242134094, 0.06771678477525711, 0.023415040224790573, 0.002274173777550459, 0.0013014301657676697, 0.0009757255902513862, 0.0006367503083311021, 0.000362402613973245, 0.00034185548429377377, 0.00014946950250305235, 0.00012117598816985264, 0.00010425540676806122, 8.202681055990979e-05, 7.272032235050574e-05, 7.171816105255857e-05, 6.907823990331963e-05]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['going to the beach', 'stand-up paddleboarding (SUP)', 'surfing', 'relaxing', 'running', 'swimming', 'kayaking / canoeing', 'photography', 'sightseeing', 'biking', 'rafting', 'hiking', 'fishing', 'yoga', 'horseback riding', 'snorkeling', 'hut-to-hut hiking', 'paragliding', 'skiing', 'scuba diving', 'snowshoe hiking', 'rock climbing', 'ski touring', 'ice climbing', 'cross-country skiing'], 'scores': [0.9992542862892151, 0.9943021535873413, 0.9912192821502686, 0.9398669600486755, 0.08895961195230484, 0.03121834248304367, 0.009983744472265244, 0.0043620518408715725, 0.00413721427321434, 0.0007933812448754907, 0.0005053003551438451, 0.00044698207057081163, 0.0002627711510285735, 0.00018068939971271902, 0.00015396626258734614, 0.00015388516476377845, 0.00011159545829286799, 8.777360199019313e-05, 8.622700261184946e-05, 8.30994758871384e-05, 7.572415779577568e-05, 6.917330028954893e-05, 6.89280204824172e-05, 5.9173045883653685e-05, 5.558484554057941e-05]}\n", + "['going to the beach', 'stand-up paddleboarding (SUP)', 'surfing', 'relaxing']\n", + "1\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['variable weather / spring / autumn', 'warm destination / summer', 'cold destination / winter', 'tropical / humid', 'dry / desert-like', 'rainy climate'], 'scores': [0.6638323068618774, 0.16385667026042938, 0.07288291305303574, 0.049545470625162125, 0.03458089753985405, 0.01530164759606123]}\n", + "variable weather / spring / autumn\n", + "2\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.6875336766242981, 0.2601928114891052, 0.04405923932790756, 0.00821428932249546]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9709079265594482, 0.02785656414926052, 0.001235579838976264]}\n", + "casual\n", + "4\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'huts with half board', 'indoor'], 'scores': [0.8974651098251343, 0.05046534910798073, 0.03689936175942421, 0.015170179307460785]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.822148859500885, 0.1778511255979538]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['no special conditions to consider', 'self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'pet-friendly', 'travel with children', 'snow and ice', 'high alpine terrain', 'snow, ice and avalanche-prone terrain'], 'scores': [0.5981003046035767, 0.19564257562160492, 0.16143374145030975, 0.0200392734259367, 0.014210565015673637, 0.004050415474921465, 0.0034565965179353952, 0.0030664720106869936]}\n", + "no special conditions to consider\n", + "7\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['7+ days', '7 days', '1 day', '6 days', '2 days', '5 days', '4 days', '3 days'], 'scores': [0.9739024043083191, 0.006751261185854673, 0.006431282497942448, 0.003172357566654682, 0.0031420602463185787, 0.0024690853897482157, 0.0021163264755159616, 0.0020151895005255938]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [going to the beach, stand-up paddleboarding (... \n", + "2 climate_or_season variable weather / spring / autumn \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation own vehicle \n", + "7 special_conditions no special conditions to consider \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [stand-up paddleboarding (SUP), surfing] \n", + "2 cold destination / winter \n", + "3 ultralight \n", + "4 casual \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.666667 0.250000 0.0\n", + "0 0.555556 1.000000 0.5\n", + "0 0.444444 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.666667 0.666667 0.0\n", + "0 0.444444 0.000000 1.0\n", + "0 0.444444 1.000000 0.5\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['yoga / wellness retreat', 'nature escape', 'micro-adventure / weekend trip', 'cultural exploration', 'hut trek (winter)', 'digital nomad trip', 'city trip', 'ski tour / skitour', 'festival trip', 'long-distance hike / thru-hike', 'road trip (car/camper)', 'beach vacation', 'snowboard / splitboard trip', 'camping trip (campground)', 'hut trek (summer)', 'camping trip (wild camping)'], 'scores': [0.8634371161460876, 0.063475102186203, 0.0416228361427784, 0.0124744214117527, 0.003919944632798433, 0.0034459270536899567, 0.0026935304049402475, 0.002648671856150031, 0.0019693293143063784, 0.0011788610136136413, 0.0008555471431463957, 0.0006204863893799484, 0.0005134729435667396, 0.0004542186507023871, 0.00037570999120362103, 0.00031478473101742566]}\n", + "yoga / wellness retreat\n", + "0\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['relaxing', 'yoga', 'hiking', 'sightseeing', 'running', 'snowshoe hiking', 'biking', 'skiing', 'ski touring', 'swimming', 'cross-country skiing', 'photography', 'kayaking / canoeing', 'going to the beach', 'horseback riding', 'fishing', 'hut-to-hut hiking', 'ice climbing', 'stand-up paddleboarding (SUP)', 'rafting', 'surfing', 'rock climbing', 'paragliding', 'scuba diving', 'snorkeling'], 'scores': [0.8071770668029785, 0.43832290172576904, 0.051670607179403305, 0.014042481780052185, 0.013742679730057716, 0.011436998844146729, 0.0019058140460401773, 0.0017018323997035623, 0.00138685607817024, 0.001163950888440013, 0.0009761754772625864, 0.0007811421528458595, 0.0006581683992408216, 0.0005943804862909019, 0.0003958136076107621, 0.0003266537969466299, 0.0003128033422399312, 0.00025584938703104854, 0.00021485054458025843, 0.0002130846114596352, 0.00021295830083545297, 0.00018450980132911354, 0.0001635845983400941, 0.00013335692347027361, 8.342735964106396e-05]}\n", + "['relaxing']\n", + "1\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['cold destination / winter', 'dry / desert-like', 'rainy climate', 'variable weather / spring / autumn', 'tropical / humid', 'warm destination / summer'], 'scores': [0.9790012836456299, 0.012577192857861519, 0.004155130125582218, 0.003021716605871916, 0.0007730682264082134, 0.00047152990009635687]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.3538796007633209, 0.31872159242630005, 0.2034650295972824, 0.12393371015787125]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.7486436367034912, 0.18721903860569, 0.064137302339077]}\n", + "casual\n", + "4\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['indoor', 'huts with half board', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.8897278904914856, 0.06706675887107849, 0.02257373183965683, 0.020631583407521248]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9249978065490723, 0.07500220835208893]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['snow, ice and avalanche-prone terrain', 'snow and ice', 'no special conditions to consider', 'travel with children', 'self-supported (bring your own cooking gear)', 'pet-friendly', 'high alpine terrain', 'off-grid / no electricity'], 'scores': [0.41323578357696533, 0.3439265787601471, 0.2042030394077301, 0.015301010571420193, 0.013015201315283775, 0.0050519476644694805, 0.0028190454468131065, 0.0024474291130900383]}\n", + "snow, ice and avalanche-prone terrain\n", + "7\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['7+ days', '2 days', '1 day', '7 days', '3 days', '4 days', '5 days', '6 days'], 'scores': [0.6732884645462036, 0.10189462453126907, 0.06836388260126114, 0.062414027750492096, 0.03827187046408653, 0.02262158691883087, 0.017075788229703903, 0.01606978289783001]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type yoga / wellness retreat \n", + "1 activities [relaxing] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions snow, ice and avalanche-prone terrain \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 yoga / wellness retreat \n", + "1 [hut-to-hut hiking, yoga] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 formal (business trip) \n", + "5 sleeping in a tent \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 7 days \n", + " accuracy true_ident false_pred\n", + "0 0.666667 0.250000 0.0\n", + "0 0.555556 1.000000 0.5\n", + "0 0.444444 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.666667 0.666667 0.0\n", + "0 0.444444 0.000000 1.0\n", + "0 0.444444 1.000000 0.5\n", + "0 0.333333 0.000000 1.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski tour / skitour', 'hut trek (winter)', 'nature escape', 'micro-adventure / weekend trip', 'cultural exploration', 'digital nomad trip', 'festival trip', 'city trip', 'hut trek (summer)', 'long-distance hike / thru-hike', 'road trip (car/camper)', 'beach vacation', 'camping trip (campground)', 'snowboard / splitboard trip', 'yoga / wellness retreat', 'camping trip (wild camping)'], 'scores': [0.8361262083053589, 0.10536301136016846, 0.05026585981249809, 0.004557041916996241, 0.001467501395381987, 0.0003318417293485254, 0.0002813032187987119, 0.0002695616567507386, 0.00018507982895243913, 0.00018174428259953856, 0.0001715653925202787, 0.0001670663768891245, 0.0001646953751333058, 0.00016371881065424532, 0.0001538232172606513, 0.00015000690473243594]}\n", + "ski tour / skitour\n", + "0\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski touring', 'skiing', 'running', 'relaxing', 'photography', 'cross-country skiing', 'sightseeing', 'hiking', 'biking', 'swimming', 'going to the beach', 'fishing', 'surfing', 'hut-to-hut hiking', 'horseback riding', 'yoga', 'rafting', 'ice climbing', 'paragliding', 'kayaking / canoeing', 'snorkeling', 'rock climbing', 'snowshoe hiking', 'scuba diving', 'stand-up paddleboarding (SUP)'], 'scores': [0.9998264908790588, 0.9963346123695374, 0.1351906657218933, 0.03622620552778244, 0.021675696596503258, 0.004298442974686623, 0.0019041221821680665, 0.00019328219059389085, 0.0001396295556332916, 0.00011384853132767603, 0.00010083061351906508, 9.96946037048474e-05, 9.298663644585758e-05, 8.400969818467274e-05, 8.166170300683007e-05, 7.931036816444248e-05, 7.347861537709832e-05, 7.303679012693465e-05, 6.728766311425716e-05, 6.367250171024352e-05, 6.29083879175596e-05, 5.962408613413572e-05, 5.939247421338223e-05, 5.7207118516089395e-05, 5.182576205697842e-05]}\n", + "['ski touring', 'skiing']\n", + "1\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['cold destination / winter', 'dry / desert-like', 'variable weather / spring / autumn', 'rainy climate', 'tropical / humid', 'warm destination / summer'], 'scores': [0.9914017915725708, 0.005173682700842619, 0.0017558527179062366, 0.0007463382789865136, 0.0005013245390728116, 0.0004210273327771574]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.8112106323242188, 0.105157770216465, 0.08066494762897491, 0.002966685686260462]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['conservative', 'casual', 'formal (business trip)'], 'scores': [0.5274205207824707, 0.46099764108657837, 0.011581824161112309]}\n", + "conservative\n", + "4\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['indoor', 'huts with half board', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.5402655005455017, 0.4093676805496216, 0.029302924871444702, 0.021063897758722305]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.7493526935577393, 0.25064733624458313]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['snow, ice and avalanche-prone terrain', 'snow and ice', 'high alpine terrain', 'no special conditions to consider', 'self-supported (bring your own cooking gear)', 'off-grid / no electricity', 'travel with children', 'pet-friendly'], 'scores': [0.49815037846565247, 0.42996588349342346, 0.02416369318962097, 0.01754496805369854, 0.015227101743221283, 0.011197454296052456, 0.0020874436013400555, 0.001663029077462852]}\n", + "snow, ice and avalanche-prone terrain\n", + "7\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['7+ days', '1 day', '6 days', '7 days', '4 days', '2 days', '5 days', '3 days'], 'scores': [0.9907811284065247, 0.0026418629568070173, 0.0015105399070307612, 0.0011451926548033953, 0.0010808479273691773, 0.001058229710906744, 0.0009560652542859316, 0.0008260445320047438]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type ski tour / skitour \n", + "1 activities [ski touring, skiing] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code conservative \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions snow, ice and avalanche-prone terrain \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 ski tour / skitour \n", + "1 [ski touring, photography, swimming] \n", + "2 cold destination / winter \n", + "3 minimalist \n", + "4 conservative \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 5 days \n", + " accuracy true_ident false_pred\n", + "0 0.666667 0.250000 0.0\n", + "0 0.555556 1.000000 0.5\n", + "0 0.444444 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.666667 0.666667 0.0\n", + "0 0.444444 0.000000 1.0\n", + "0 0.444444 1.000000 0.5\n", + "0 0.333333 0.000000 1.0\n", + "0 0.666667 0.333333 0.5\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['camping trip (wild camping)', 'camping trip (campground)', 'nature escape', 'road trip (car/camper)', 'micro-adventure / weekend trip', 'hut trek (summer)', 'beach vacation', 'cultural exploration', 'digital nomad trip', 'festival trip', 'city trip', 'hut trek (winter)', 'long-distance hike / thru-hike', 'ski tour / skitour', 'yoga / wellness retreat', 'snowboard / splitboard trip'], 'scores': [0.5457268357276917, 0.26911282539367676, 0.08194205909967422, 0.08063645660877228, 0.01525019109249115, 0.004091212991625071, 0.0017873292090371251, 0.0006210736464709044, 0.00026358035393059254, 0.0002348228299524635, 6.316068902378902e-05, 6.269098958000541e-05, 5.7672128605190665e-05, 5.557313852477819e-05, 4.878045729128644e-05, 4.570659075397998e-05]}\n", + "camping trip (wild camping)\n", + "0\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['relaxing', 'kayaking / canoeing', 'snorkeling', 'running', 'swimming', 'going to the beach', 'photography', 'sightseeing', 'hiking', 'scuba diving', 'rafting', 'biking', 'fishing', 'surfing', 'stand-up paddleboarding (SUP)', 'hut-to-hut hiking', 'horseback riding', 'rock climbing', 'skiing', 'yoga', 'paragliding', 'ski touring', 'cross-country skiing', 'snowshoe hiking', 'ice climbing'], 'scores': [0.49147647619247437, 0.3160792291164398, 0.22188524901866913, 0.13189853727817535, 0.05248396098613739, 0.01865031197667122, 0.0047949738800525665, 0.0015770524041727185, 0.0012544816127046943, 0.0012326964642852545, 0.0010175887728109956, 0.0005656369030475616, 0.00036033036303706467, 0.0001612818450666964, 0.0001452150463592261, 0.00012646558752749115, 0.0001021817879518494, 8.167608029907569e-05, 7.586850551888347e-05, 7.586340507259592e-05, 7.31997424736619e-05, 5.827348286402412e-05, 5.5792137573007494e-05, 5.433592741610482e-05, 5.124895687913522e-05]}\n", + "[]\n", + "1\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['warm destination / summer', 'tropical / humid', 'variable weather / spring / autumn', 'dry / desert-like', 'rainy climate', 'cold destination / winter'], 'scores': [0.7701144814491272, 0.18032744526863098, 0.025417722761631012, 0.020337199792265892, 0.0030921439174562693, 0.0007110274164006114]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.6682962775230408, 0.1800297349691391, 0.15000362694263458, 0.0016703574219718575]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.9891048669815063, 0.009653294458985329, 0.0012418079422786832]}\n", + "casual\n", + "4\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'indoor', 'huts with half board'], 'scores': [0.9356066584587097, 0.03616010397672653, 0.015921462327241898, 0.012311747297644615]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.9541180729866028, 0.04588189348578453]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['off-grid / no electricity', 'no special conditions to consider', 'self-supported (bring your own cooking gear)', 'travel with children', 'pet-friendly', 'high alpine terrain', 'snow, ice and avalanche-prone terrain', 'snow and ice'], 'scores': [0.3662600815296173, 0.30932390689849854, 0.27713826298713684, 0.03658061474561691, 0.006220872979611158, 0.0020860976073890924, 0.0012057803105562925, 0.001184391789138317]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['3 days', '1 day', '2 days', '7+ days', '4 days', '7 days', '6 days', '5 days'], 'scores': [0.9888057708740234, 0.0024326194543391466, 0.0017565857851877809, 0.001737838494591415, 0.0015809746691957116, 0.0012994552962481976, 0.0012201626086607575, 0.0011665795464068651]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type camping trip (wild camping) \n", + "1 activities [] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 camping trip (wild camping) \n", + "1 [scuba diving, kayaking / canoeing] \n", + "2 tropical / humid \n", + "3 lightweight (but comfortable) \n", + "4 conservative \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.666667 0.250000 0.0\n", + "0 0.555556 1.000000 0.5\n", + "0 0.444444 0.000000 NaN\n", + "0 0.333333 0.000000 NaN\n", + "0 0.666667 0.666667 0.0\n", + "0 0.444444 0.000000 1.0\n", + "0 0.444444 1.000000 0.5\n", + "0 0.333333 0.000000 1.0\n", + "0 0.666667 0.333333 0.5\n", + "0 0.444444 0.000000 NaN\n", + " superclass same_value same_value same_value same_value \\\n", + "0 activity_type True True False True \n", + "1 activities False False False False \n", + "2 climate_or_season True False True False \n", + "3 style_or_comfort False False False False \n", + "4 dress_code True True False True \n", + "5 accommodation True False False False \n", + "6 transportation True True True False \n", + "7 special_conditions True True True False \n", + "8 trip_length_days False True True True \n", + "\n", + " same_value same_value same_value same_value same_value same_value \n", + "0 False False True True True True \n", + "1 False False False False False False \n", + "2 True False False True True False \n", + "3 True True False False True False \n", + "4 True True True False True False \n", + "5 False True True False True True \n", + "6 True False True True True True \n", + "7 True False False False False False \n", + "8 True True False False False True \n", + " superclass accuracy\n", + "0 activity_type 0.7\n", + "1 activities 0.0\n", + "2 climate_or_season 0.5\n", + "3 style_or_comfort 0.3\n", + "4 dress_code 0.7\n", + "5 accommodation 0.5\n", + "6 transportation 0.8\n", + "7 special_conditions 0.4\n", + "8 trip_length_days 0.6\n", + "accuracy 0.500\n", + "true_ident 0.325\n", + "false_pred 0.500\n", + "dtype: float64\n", + "\n", + "Using model: valhalla/distilbart-mnli-12-1\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['micro-adventure / weekend trip', 'beach vacation', 'nature escape', 'digital nomad trip', 'city trip', 'festival trip', 'cultural exploration', 'hut trek (summer)', 'road trip (car/camper)', 'hut trek (winter)', 'long-distance hike / thru-hike', 'camping trip (campground)', 'ski tour / skitour', 'camping trip (wild camping)', 'yoga / wellness retreat', 'snowboard / splitboard trip'], 'scores': [0.15794101357460022, 0.0909351333975792, 0.08646991103887558, 0.06613361835479736, 0.06530281156301498, 0.0648210272192955, 0.06070808321237564, 0.05969493091106415, 0.05878270044922829, 0.05330195277929306, 0.052567820996046066, 0.04352705553174019, 0.0400867760181427, 0.03852350637316704, 0.03636886924505234, 0.024834774434566498]}\n", + "micro-adventure / weekend trip\n", + "0\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['relaxing', 'going to the beach', 'hiking', 'sightseeing', 'photography', 'stand-up paddleboarding (SUP)', 'swimming', 'running', 'yoga', 'surfing', 'snorkeling', 'biking', 'hut-to-hut hiking', 'paragliding', 'fishing', 'snowshoe hiking', 'rock climbing', 'kayaking / canoeing', 'ice climbing', 'rafting', 'cross-country skiing', 'horseback riding', 'skiing', 'ski touring', 'scuba diving'], 'scores': [0.23232045769691467, 0.19501587748527527, 0.049304407089948654, 0.034400105476379395, 0.029636483639478683, 0.02577988989651203, 0.02544470503926277, 0.02452000044286251, 0.01832990162074566, 0.018242035061120987, 0.011697713285684586, 0.009464656934142113, 0.007488678675144911, 0.007369061466306448, 0.006666752975434065, 0.0060437992215156555, 0.0059071010909974575, 0.0038717284332960844, 0.003637398825958371, 0.003402863861992955, 0.002844652161002159, 0.002728586783632636, 0.0026827093679457903, 0.0025354616809636354, 0.0006062863394618034]}\n", + "[]\n", + "1\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['warm destination / summer', 'tropical / humid', 'dry / desert-like', 'variable weather / spring / autumn', 'rainy climate', 'cold destination / winter'], 'scores': [0.2761985659599304, 0.2489338368177414, 0.15671202540397644, 0.14267940819263458, 0.09526548534631729, 0.08021072298288345]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['ultralight', 'minimalist', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.4254879653453827, 0.281185507774353, 0.17797037959098816, 0.1153561919927597]}\n", + "ultralight\n", + "3\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.44703659415245056, 0.39053475856781006, 0.1624285876750946]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['sleeping in a car', 'indoor', 'huts with half board', 'sleeping in a tent'], 'scores': [0.3156084418296814, 0.3125784695148468, 0.20309597253799438, 0.16871705651283264]}\n", + "sleeping in a car\n", + "5\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9035600423812866, 0.09643995761871338]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['off-grid / no electricity', 'no special conditions to consider', 'pet-friendly', 'travel with children', 'self-supported (bring your own cooking gear)', 'snow, ice and avalanche-prone terrain', 'snow and ice', 'high alpine terrain'], 'scores': [0.38155892491340637, 0.16478605568408966, 0.155692920088768, 0.09079926460981369, 0.07213052362203598, 0.053994275629520416, 0.04698878526687622, 0.03404922038316727]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I am planning a trip to Greece with my boyfriend, where we will visit two islands. We have booked an apartment on each island for a few days and plan to spend most of our time relaxing. Our main goals are to enjoy the beach, try delicious local food, and possibly go on a hike—if it’s not too hot. We will be relying solely on public transport. We’re in our late 20s and traveling from the Netherlands.', 'labels': ['7+ days', '1 day', '2 days', '3 days', '5 days', '6 days', '7 days', '4 days'], 'scores': [0.16671018302440643, 0.16110628843307495, 0.15877756476402283, 0.12673473358154297, 0.1000082716345787, 0.09602959454059601, 0.09553588926792145, 0.09509749710559845]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type micro-adventure / weekend trip \n", + "1 activities [] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort ultralight \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a car \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [swimming, going to the beach, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.0 NaN\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['city trip', 'micro-adventure / weekend trip', 'cultural exploration', 'festival trip', 'nature escape', 'digital nomad trip', 'hut trek (winter)', 'hut trek (summer)', 'long-distance hike / thru-hike', 'ski tour / skitour', 'beach vacation', 'camping trip (campground)', 'road trip (car/camper)', 'camping trip (wild camping)', 'snowboard / splitboard trip', 'yoga / wellness retreat'], 'scores': [0.2905210554599762, 0.2432536482810974, 0.20954187214374542, 0.08670674264431, 0.03322027996182442, 0.02290090173482895, 0.016202721744775772, 0.01615874283015728, 0.013323655351996422, 0.011808025650680065, 0.011008738540112972, 0.01090748980641365, 0.009752722457051277, 0.009084008634090424, 0.008152319118380547, 0.007457094267010689]}\n", + "city trip\n", + "0\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['sightseeing', 'relaxing', 'running', 'photography', 'yoga', 'stand-up paddleboarding (SUP)', 'swimming', 'snowshoe hiking', 'surfing', 'snorkeling', 'fishing', 'hiking', 'horseback riding', 'paragliding', 'ice climbing', 'rock climbing', 'hut-to-hut hiking', 'kayaking / canoeing', 'ski touring', 'biking', 'skiing', 'cross-country skiing', 'going to the beach', 'rafting', 'scuba diving'], 'scores': [0.9079591631889343, 0.44212812185287476, 0.34171172976493835, 0.09380627423524857, 0.02156832255423069, 0.017738940194249153, 0.00736992759630084, 0.005764526780694723, 0.005484557710587978, 0.005041890311986208, 0.005030252505093813, 0.003905334509909153, 0.0038696778938174248, 0.0034556591417640448, 0.003105840412899852, 0.0027816814836114645, 0.0026462178211659193, 0.0023300964385271072, 0.002323177643120289, 0.0021325598936527967, 0.0021314232144504786, 0.002119816839694977, 0.0016496896278113127, 0.00098455511033535, 0.0008596986881457269]}\n", + "['sightseeing']\n", + "1\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['warm destination / summer', 'cold destination / winter', 'rainy climate', 'variable weather / spring / autumn', 'dry / desert-like', 'tropical / humid'], 'scores': [0.2377377599477768, 0.2009732574224472, 0.19732534885406494, 0.14093708992004395, 0.11368248611688614, 0.10934402793645859]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.49261605739593506, 0.24388021230697632, 0.1377057582139969, 0.12579792737960815]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.5892181396484375, 0.358402281999588, 0.052379585802555084]}\n", + "casual\n", + "4\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['indoor', 'huts with half board', 'sleeping in a car', 'sleeping in a tent'], 'scores': [0.49792465567588806, 0.19339656829833984, 0.15974190831184387, 0.14893683791160583]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.9017424583435059, 0.09825757145881653]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['pet-friendly', 'off-grid / no electricity', 'travel with children', 'no special conditions to consider', 'self-supported (bring your own cooking gear)', 'snow, ice and avalanche-prone terrain', 'snow and ice', 'high alpine terrain'], 'scores': [0.273716002702713, 0.2207411825656891, 0.13912343978881836, 0.1146065965294838, 0.09021998196840286, 0.0733366459608078, 0.06688940525054932, 0.021366801112890244]}\n", + "pet-friendly\n", + "7\n", + "{'sequence': 'We are a couple in our thirties traveling to Vienna for a three-day city trip. We’ll be staying at a friend’s house and plan to explore the city by sightseeing, strolling through the streets, visiting markets, and trying out great restaurants and cafés. We also hope to attend a classical music concert. Our journey to Vienna will be by train.', 'labels': ['3 days', '1 day', '4 days', '2 days', '7+ days', '5 days', '7 days', '6 days'], 'scores': [0.8632946014404297, 0.0393948033452034, 0.023651208728551865, 0.022673729807138443, 0.013795467093586922, 0.013493604026734829, 0.012378695420920849, 0.011317938566207886]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type city trip \n", + "1 activities [sightseeing] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions pet-friendly \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [sightseeing] \n", + "2 variable weather / spring / autumn \n", + "3 luxury (including evening wear) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.0 NaN\n", + "0 0.555556 1.0 0.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['micro-adventure / weekend trip', 'cultural exploration', 'festival trip', 'city trip', 'digital nomad trip', 'nature escape', 'ski tour / skitour', 'long-distance hike / thru-hike', 'snowboard / splitboard trip', 'beach vacation', 'road trip (car/camper)', 'hut trek (winter)', 'yoga / wellness retreat', 'camping trip (campground)', 'hut trek (summer)', 'camping trip (wild camping)'], 'scores': [0.2098330855369568, 0.19708400964736938, 0.12522809207439423, 0.10960791260004044, 0.06899525225162506, 0.06772366166114807, 0.033996157348155975, 0.031236005946993828, 0.029097802937030792, 0.026051418855786324, 0.024673916399478912, 0.019777407869696617, 0.014981715939939022, 0.014676440507173538, 0.013884112238883972, 0.013153028674423695]}\n", + "micro-adventure / weekend trip\n", + "0\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['running', 'sightseeing', 'relaxing', 'photography', 'horseback riding', 'biking', 'snowshoe hiking', 'rock climbing', 'hiking', 'hut-to-hut hiking', 'ice climbing', 'paragliding', 'swimming', 'snorkeling', 'yoga', 'rafting', 'kayaking / canoeing', 'skiing', 'fishing', 'stand-up paddleboarding (SUP)', 'ski touring', 'going to the beach', 'surfing', 'cross-country skiing', 'scuba diving'], 'scores': [0.8152925968170166, 0.4844887852668762, 0.1576191782951355, 0.12518487870693207, 0.07822155207395554, 0.05465787276625633, 0.04570593684911728, 0.04181528463959694, 0.04172082990407944, 0.03902319446206093, 0.03710000962018967, 0.03519241511821747, 0.03498588874936104, 0.03375457227230072, 0.028161082416772842, 0.0213912483304739, 0.02112145908176899, 0.02064443752169609, 0.02035708539187908, 0.019961608573794365, 0.01536568347364664, 0.014996267855167389, 0.013009767048060894, 0.012550124898552895, 0.004971869755536318]}\n", + "['running']\n", + "1\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['rainy climate', 'cold destination / winter', 'tropical / humid', 'warm destination / summer', 'variable weather / spring / autumn', 'dry / desert-like'], 'scores': [0.236741304397583, 0.21880118548870087, 0.1489969789981842, 0.13892842829227448, 0.13426952064037323, 0.1222626194357872]}\n", + "rainy climate\n", + "2\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.5776328444480896, 0.16924487054347992, 0.15588884055614471, 0.09723342210054398]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.6429276466369629, 0.32423466444015503, 0.03283771872520447]}\n", + "casual\n", + "4\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['sleeping in a tent', 'indoor', 'huts with half board', 'sleeping in a car'], 'scores': [0.2867337465286255, 0.284808874130249, 0.2637215256690979, 0.1647358387708664]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.8312177658081055, 0.1687822788953781]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['pet-friendly', 'off-grid / no electricity', 'snow, ice and avalanche-prone terrain', 'snow and ice', 'travel with children', 'self-supported (bring your own cooking gear)', 'no special conditions to consider', 'high alpine terrain'], 'scores': [0.2899295389652252, 0.26061978936195374, 0.1512698084115982, 0.08977404981851578, 0.07963050156831741, 0.054606225341558456, 0.044396400451660156, 0.02977367863059044]}\n", + "pet-friendly\n", + "7\n", + "{'sequence': 'My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany.', 'labels': ['7+ days', '5 days', '2 days', '3 days', '6 days', '7 days', '4 days', '1 day'], 'scores': [0.22703319787979126, 0.15256404876708984, 0.13763178884983063, 0.1214180663228035, 0.09182892739772797, 0.09157878905534744, 0.08946926146745682, 0.08847592771053314]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type micro-adventure / weekend trip \n", + "1 activities [running] \n", + "2 climate_or_season rainy climate \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation no own vehicle \n", + "7 special_conditions pet-friendly \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 city trip \n", + "1 [relaxing] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.0 NaN\n", + "0 0.555556 1.0 0.0\n", + "0 0.333333 0.0 1.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['cultural exploration', 'hut trek (summer)', 'nature escape', 'long-distance hike / thru-hike', 'hut trek (winter)', 'camping trip (wild camping)', 'road trip (car/camper)', 'camping trip (campground)', 'digital nomad trip', 'festival trip', 'beach vacation', 'city trip', 'yoga / wellness retreat', 'ski tour / skitour', 'micro-adventure / weekend trip', 'snowboard / splitboard trip'], 'scores': [0.09175726026296616, 0.08199138194322586, 0.07991472631692886, 0.07907065004110336, 0.07130569964647293, 0.0685863122344017, 0.06205756962299347, 0.061067599803209305, 0.05943961441516876, 0.05876072868704796, 0.055751316249370575, 0.054960303008556366, 0.04643544182181358, 0.045953862369060516, 0.043560389429330826, 0.03938716650009155]}\n", + "cultural exploration\n", + "0\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['hiking', 'sightseeing', 'rafting', 'running', 'photography', 'stand-up paddleboarding (SUP)', 'yoga', 'relaxing', 'swimming', 'fishing', 'horseback riding', 'surfing', 'biking', 'kayaking / canoeing', 'paragliding', 'rock climbing', 'hut-to-hut hiking', 'snowshoe hiking', 'cross-country skiing', 'snorkeling', 'ski touring', 'skiing', 'ice climbing', 'scuba diving', 'going to the beach'], 'scores': [0.15313810110092163, 0.15124933421611786, 0.14838041365146637, 0.1472959667444229, 0.1389993131160736, 0.09817570447921753, 0.0956089124083519, 0.0856492817401886, 0.08361047506332397, 0.0694742500782013, 0.06284122169017792, 0.053859248757362366, 0.053131476044654846, 0.053122520446777344, 0.051025938242673874, 0.0484144501388073, 0.04584139585494995, 0.04543812945485115, 0.040472984313964844, 0.03526032716035843, 0.03234950825572014, 0.03221224248409271, 0.03180569410324097, 0.023461027070879936, 0.02067609876394272]}\n", + "[]\n", + "1\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['tropical / humid', 'warm destination / summer', 'rainy climate', 'variable weather / spring / autumn', 'dry / desert-like', 'cold destination / winter'], 'scores': [0.23783381283283234, 0.19670388102531433, 0.19143737852573395, 0.1654558628797531, 0.11782895773649216, 0.09074007719755173]}\n", + "tropical / humid\n", + "2\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['luxury (including evening wear)', 'lightweight (but comfortable)', 'minimalist', 'ultralight'], 'scores': [0.287923663854599, 0.26435530185699463, 0.23920416831970215, 0.20851683616638184]}\n", + "luxury (including evening wear)\n", + "3\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['conservative', 'casual', 'formal (business trip)'], 'scores': [0.3639557957649231, 0.3553451895713806, 0.2806989550590515]}\n", + "conservative\n", + "4\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['sleeping in a tent', 'huts with half board', 'indoor', 'sleeping in a car'], 'scores': [0.2735897898674011, 0.25464150309562683, 0.24470360577106476, 0.2270650416612625]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.5792829394340515, 0.4207170307636261]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['pet-friendly', 'off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'snow and ice', 'snow, ice and avalanche-prone terrain', 'high alpine terrain', 'travel with children', 'no special conditions to consider'], 'scores': [0.17194864153862, 0.1440432071685791, 0.1436983346939087, 0.11556501686573029, 0.11496715992689133, 0.11079669743776321, 0.1047905683517456, 0.09419038891792297]}\n", + "pet-friendly\n", + "7\n", + "{'sequence': 'I’m in my twenties and will be traveling to Peru for three weeks. I’m going solo but will meet up with a friend to explore the Sacred Valley and take part in a Machu Picchu tour. We plan to hike, go rafting, and explore the remnants of the ancient Inca Empire. We’re also excited to try Peruvian cuisine and immerse ourselves in the local culture. Depending on our plans, we might also visit the rainforest region, such as Tarapoto. I’ll be flying to Peru on a long-haul flight and will be traveling in August.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '3 days', '4 days', '1 day', '2 days'], 'scores': [0.20337752997875214, 0.13112668693065643, 0.12880821526050568, 0.11797140538692474, 0.11474470049142838, 0.11368867754936218, 0.09646113961935043, 0.093821682035923]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type cultural exploration \n", + "1 activities [] \n", + "2 climate_or_season tropical / humid \n", + "3 style_or_comfort luxury (including evening wear) \n", + "4 dress_code conservative \n", + "5 accommodation sleeping in a tent \n", + "6 transportation no own vehicle \n", + "7 special_conditions pet-friendly \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 cultural exploration \n", + "1 [sightseeing, hiking, rafting] \n", + "2 variable weather / spring / autumn \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 rainy climate \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.0 NaN\n", + "0 0.555556 1.0 0.0\n", + "0 0.333333 0.0 1.0\n", + "0 0.333333 0.0 NaN\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['nature escape', 'micro-adventure / weekend trip', 'festival trip', 'digital nomad trip', 'cultural exploration', 'city trip', 'long-distance hike / thru-hike', 'beach vacation', 'hut trek (summer)', 'yoga / wellness retreat', 'road trip (car/camper)', 'camping trip (campground)', 'ski tour / skitour', 'camping trip (wild camping)', 'snowboard / splitboard trip', 'hut trek (winter)'], 'scores': [0.45354974269866943, 0.15437819063663483, 0.14925657212734222, 0.06404560804367065, 0.05055071786046028, 0.027888130396604538, 0.019093135371804237, 0.017687132582068443, 0.013261696323752403, 0.011301951482892036, 0.010838225483894348, 0.006791872438043356, 0.006765608210116625, 0.0063323769718408585, 0.005806106608361006, 0.0024528687354177237]}\n", + "nature escape\n", + "0\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['hiking', 'relaxing', 'swimming', 'snowshoe hiking', 'hut-to-hut hiking', 'photography', 'going to the beach', 'running', 'horseback riding', 'snorkeling', 'kayaking / canoeing', 'rafting', 'sightseeing', 'yoga', 'biking', 'stand-up paddleboarding (SUP)', 'surfing', 'rock climbing', 'fishing', 'paragliding', 'ice climbing', 'ski touring', 'scuba diving', 'cross-country skiing', 'skiing'], 'scores': [0.9909619092941284, 0.963836133480072, 0.9469174742698669, 0.3217303156852722, 0.11764351278543472, 0.11526637524366379, 0.052596565335989, 0.04832204431295395, 0.030369985848665237, 0.028124770149588585, 0.027534058317542076, 0.026869088411331177, 0.021940309554338455, 0.018149124458432198, 0.01644567772746086, 0.012745597399771214, 0.012554350309073925, 0.011663420125842094, 0.010582811199128628, 0.010490518994629383, 0.006007307209074497, 0.0034305108711123466, 0.0016530376160517335, 0.0014487601583823562, 0.001076333224773407]}\n", + "['hiking', 'relaxing', 'swimming']\n", + "1\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['warm destination / summer', 'variable weather / spring / autumn', 'dry / desert-like', 'tropical / humid', 'rainy climate', 'cold destination / winter'], 'scores': [0.8721152544021606, 0.040887657552957535, 0.02927633561193943, 0.025864865630865097, 0.022819917649030685, 0.009036069735884666]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['ultralight', 'minimalist', 'luxury (including evening wear)', 'lightweight (but comfortable)'], 'scores': [0.39539676904678345, 0.36003127694129944, 0.1540054976940155, 0.0905664712190628]}\n", + "ultralight\n", + "3\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.8459009528160095, 0.12779468297958374, 0.026304299011826515]}\n", + "casual\n", + "4\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['huts with half board', 'indoor', 'sleeping in a tent', 'sleeping in a car'], 'scores': [0.3661818206310272, 0.26618117094039917, 0.18826626241207123, 0.17937076091766357]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.7206598520278931, 0.2793402075767517]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['pet-friendly', 'off-grid / no electricity', 'travel with children', 'snow, ice and avalanche-prone terrain', 'self-supported (bring your own cooking gear)', 'snow and ice', 'no special conditions to consider', 'high alpine terrain'], 'scores': [0.3892984390258789, 0.3554263710975647, 0.15361052751541138, 0.02682800404727459, 0.024384181946516037, 0.017904378473758698, 0.01760462485253811, 0.014943437650799751]}\n", + "pet-friendly\n", + "7\n", + "{'sequence': 'We’re planning a 10-day trip to Austria in the summer, combining hiking with relaxation by the lake. We love exploring scenic trails and enjoying the outdoors, but we also want to unwind and swim in the lake. It’s the perfect mix of adventure and relaxation.', 'labels': ['7+ days', '1 day', '7 days', '5 days', '6 days', '4 days', '2 days', '3 days'], 'scores': [0.7335532307624817, 0.07119778543710709, 0.04206594452261925, 0.036585912108421326, 0.031767670065164566, 0.02929818630218506, 0.028853485360741615, 0.026677731424570084]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type nature escape \n", + "1 activities [hiking, relaxing, swimming] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort ultralight \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions pet-friendly \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 nature escape \n", + "1 [swimming, relaxing, hiking] \n", + "2 warm destination / summer \n", + "3 lightweight (but comfortable) \n", + "4 casual \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 no special conditions to consider \n", + "8 7+ days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.0 NaN\n", + "0 0.555556 1.0 0.0\n", + "0 0.333333 0.0 1.0\n", + "0 0.333333 0.0 NaN\n", + "0 0.555556 1.0 0.0\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['long-distance hike / thru-hike', 'nature escape', 'micro-adventure / weekend trip', 'festival trip', 'cultural exploration', 'road trip (car/camper)', 'beach vacation', 'digital nomad trip', 'hut trek (winter)', 'snowboard / splitboard trip', 'hut trek (summer)', 'camping trip (wild camping)', 'camping trip (campground)', 'city trip', 'ski tour / skitour', 'yoga / wellness retreat'], 'scores': [0.23982098698616028, 0.23883266746997833, 0.10170283913612366, 0.07120425999164581, 0.05876864865422249, 0.056866779923439026, 0.05484255030751228, 0.04043653607368469, 0.028415536507964134, 0.0281811710447073, 0.025900568813085556, 0.013847965747117996, 0.013140945695340633, 0.012208573520183563, 0.008907012641429901, 0.006923014298081398]}\n", + "long-distance hike / thru-hike\n", + "0\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['hiking', 'hut-to-hut hiking', 'going to the beach', 'sightseeing', 'relaxing', 'photography', 'rafting', 'snowshoe hiking', 'running', 'surfing', 'kayaking / canoeing', 'rock climbing', 'swimming', 'yoga', 'horseback riding', 'ice climbing', 'stand-up paddleboarding (SUP)', 'paragliding', 'snorkeling', 'ski touring', 'biking', 'fishing', 'skiing', 'cross-country skiing', 'scuba diving'], 'scores': [0.9847744703292847, 0.7611968517303467, 0.7535679340362549, 0.19320166110992432, 0.14948688447475433, 0.080541230738163, 0.05957135558128357, 0.040428146719932556, 0.034612905234098434, 0.03189696744084358, 0.018572911620140076, 0.012933325953781605, 0.01016066875308752, 0.00869038701057434, 0.008413277566432953, 0.0069808210246264935, 0.0067105782218277454, 0.004920388571918011, 0.002995150163769722, 0.002342828316614032, 0.0022627359721809626, 0.002150846179574728, 0.0010648919269442558, 0.0005733172292821109, 0.0003589341649785638]}\n", + "['hiking', 'hut-to-hut hiking', 'going to the beach']\n", + "1\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['variable weather / spring / autumn', 'rainy climate', 'cold destination / winter', 'warm destination / summer', 'tropical / humid', 'dry / desert-like'], 'scores': [0.20797233283519745, 0.2072979062795639, 0.18069592118263245, 0.13884718716144562, 0.13831815123558044, 0.12686842679977417]}\n", + "variable weather / spring / autumn\n", + "2\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.6114370822906494, 0.30456143617630005, 0.062163177877664566, 0.02183835208415985]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.6030768752098083, 0.36801743507385254, 0.028905708342790604]}\n", + "casual\n", + "4\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['huts with half board', 'sleeping in a car', 'indoor', 'sleeping in a tent'], 'scores': [0.7365862131118774, 0.15091738104820251, 0.0667504295706749, 0.04574596509337425]}\n", + "huts with half board\n", + "5\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.7194840908050537, 0.2805158495903015]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['off-grid / no electricity', 'pet-friendly', 'high alpine terrain', 'snow, ice and avalanche-prone terrain', 'travel with children', 'self-supported (bring your own cooking gear)', 'snow and ice', 'no special conditions to consider'], 'scores': [0.2719384431838989, 0.2165234088897705, 0.19032229483127594, 0.11902709305286407, 0.0804465115070343, 0.050317686051130295, 0.04186888784170151, 0.029555700719356537]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I am going on a multiple day hike and passing though mountains and the beach in Croatia. I like to pack light and will stay in refugios/huts with half board and travel to the start of the hike by car. It will be 6-7 days.', 'labels': ['6 days', '7 days', '7+ days', '5 days', '4 days', '3 days', '1 day', '2 days'], 'scores': [0.4390811622142792, 0.26290732622146606, 0.18934856355190277, 0.02927662432193756, 0.02701345644891262, 0.02105168253183365, 0.015827976167201996, 0.015493117272853851]}\n", + "6 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type long-distance hike / thru-hike \n", + "1 activities [hiking, hut-to-hut hiking, going to the beach] \n", + "2 climate_or_season variable weather / spring / autumn \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation huts with half board \n", + "6 transportation no own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 6 days \n", + "\n", + " true_class \n", + "0 long-distance hike / thru-hike \n", + "1 [going to the beach] \n", + "2 tropical / humid \n", + "3 minimalist \n", + "4 casual \n", + "5 huts with half board \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.0 NaN\n", + "0 0.555556 1.0 0.000000\n", + "0 0.333333 0.0 1.000000\n", + "0 0.333333 0.0 NaN\n", + "0 0.555556 1.0 0.000000\n", + "0 0.666667 1.0 0.666667\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['beach vacation', 'road trip (car/camper)', 'nature escape', 'micro-adventure / weekend trip', 'festival trip', 'cultural exploration', 'digital nomad trip', 'camping trip (campground)', 'camping trip (wild camping)', 'hut trek (summer)', 'city trip', 'hut trek (winter)', 'snowboard / splitboard trip', 'long-distance hike / thru-hike', 'ski tour / skitour', 'yoga / wellness retreat'], 'scores': [0.17720960080623627, 0.17012496292591095, 0.11979678273200989, 0.09363898634910583, 0.07830631732940674, 0.05020600184798241, 0.042807336896657944, 0.041095416992902756, 0.04031028226017952, 0.03648531809449196, 0.03416537493467331, 0.03392753377556801, 0.022789686918258667, 0.022493762895464897, 0.020739208906888962, 0.015903474763035774]}\n", + "beach vacation\n", + "0\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['going to the beach', 'surfing', 'running', 'stand-up paddleboarding (SUP)', 'relaxing', 'swimming', 'kayaking / canoeing', 'photography', 'rafting', 'yoga', 'fishing', 'snorkeling', 'sightseeing', 'horseback riding', 'hut-to-hut hiking', 'hiking', 'snowshoe hiking', 'paragliding', 'ski touring', 'ice climbing', 'biking', 'rock climbing', 'scuba diving', 'skiing', 'cross-country skiing'], 'scores': [0.5000560879707336, 0.49617308378219604, 0.12659171223640442, 0.08831766247749329, 0.050404638051986694, 0.03287673741579056, 0.030850756913423538, 0.005660817958414555, 0.004274255596101284, 0.0019787410274147987, 0.0017405034741386771, 0.00148495112080127, 0.0014188644709065557, 0.001080115558579564, 0.0008742729551158845, 0.0007795835845172405, 0.0005380294169299304, 0.000496032414957881, 0.0004450145352166146, 0.0004404234641697258, 0.0004298155545257032, 0.00042752677109092474, 0.00028753752121701837, 0.00017385526734869927, 0.0001690072240307927]}\n", + "['going to the beach']\n", + "1\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['cold destination / winter', 'variable weather / spring / autumn', 'warm destination / summer', 'tropical / humid', 'dry / desert-like', 'rainy climate'], 'scores': [0.27681052684783936, 0.2657775580883026, 0.17140507698059082, 0.10263799130916595, 0.09543529897928238, 0.08793354034423828]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['ultralight', 'minimalist', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.344660222530365, 0.3122453987598419, 0.2117779552936554, 0.1313164085149765]}\n", + "ultralight\n", + "3\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.5354022979736328, 0.394443154335022, 0.07015461474657059]}\n", + "casual\n", + "4\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['sleeping in a tent', 'sleeping in a car', 'indoor', 'huts with half board'], 'scores': [0.8237726092338562, 0.11862459033727646, 0.029331998899579048, 0.028270753100514412]}\n", + "sleeping in a tent\n", + "5\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.5119187831878662, 0.48808127641677856]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['off-grid / no electricity', 'pet-friendly', 'self-supported (bring your own cooking gear)', 'no special conditions to consider', 'travel with children', 'snow, ice and avalanche-prone terrain', 'snow and ice', 'high alpine terrain'], 'scores': [0.35452035069465637, 0.19209660589694977, 0.11715283989906311, 0.11326144635677338, 0.11122327297925949, 0.04313826560974121, 0.036194924265146255, 0.0324123241007328]}\n", + "off-grid / no electricity\n", + "7\n", + "{'sequence': 'I will go with a friend on a beach holiday and we will do stand-up paddling, and surfing in the North of Spain. The destination is windy and can get cold, but is generally sunny. We will go by car and bring a tent to sleep in. It will be two weeks.', 'labels': ['7+ days', '7 days', '6 days', '5 days', '2 days', '3 days', '4 days', '1 day'], 'scores': [0.26525014638900757, 0.13782952725887299, 0.12399822473526001, 0.11215641349554062, 0.10533782094717026, 0.0966181829571724, 0.08430716395378113, 0.07450252771377563]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type beach vacation \n", + "1 activities [going to the beach] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort ultralight \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a tent \n", + "6 transportation own vehicle \n", + "7 special_conditions off-grid / no electricity \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 beach vacation \n", + "1 [stand-up paddleboarding (SUP), surfing] \n", + "2 cold destination / winter \n", + "3 ultralight \n", + "4 casual \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 off-grid / no electricity \n", + "8 6 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.0 NaN\n", + "0 0.555556 1.0 0.000000\n", + "0 0.333333 0.0 1.000000\n", + "0 0.333333 0.0 NaN\n", + "0 0.555556 1.0 0.000000\n", + "0 0.666667 1.0 0.666667\n", + "0 0.777778 0.0 1.000000\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['yoga / wellness retreat', 'micro-adventure / weekend trip', 'hut trek (winter)', 'nature escape', 'city trip', 'road trip (car/camper)', 'cultural exploration', 'long-distance hike / thru-hike', 'festival trip', 'digital nomad trip', 'hut trek (summer)', 'beach vacation', 'camping trip (campground)', 'ski tour / skitour', 'camping trip (wild camping)', 'snowboard / splitboard trip'], 'scores': [0.15678472816944122, 0.1037876084446907, 0.08305447548627853, 0.061712123453617096, 0.06152689456939697, 0.05534999817609787, 0.055307600647211075, 0.054980259388685226, 0.05481633543968201, 0.05091937631368637, 0.04886521026492119, 0.047319598495960236, 0.04692758247256279, 0.04406196251511574, 0.04004400596022606, 0.034542303532361984]}\n", + "yoga / wellness retreat\n", + "0\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['hiking', 'yoga', 'relaxing', 'snowshoe hiking', 'stand-up paddleboarding (SUP)', 'rock climbing', 'horseback riding', 'ice climbing', 'snorkeling', 'hut-to-hut hiking', 'swimming', 'kayaking / canoeing', 'sightseeing', 'running', 'paragliding', 'going to the beach', 'ski touring', 'biking', 'rafting', 'fishing', 'photography', 'surfing', 'cross-country skiing', 'skiing', 'scuba diving'], 'scores': [0.0055185905657708645, 0.004605540540069342, 0.002813174156472087, 0.0017565995221957564, 0.001033503795042634, 0.0009986539371311665, 0.0007478013285435736, 0.0007352158427238464, 0.0007290256908163428, 0.0006923492182977498, 0.0006152509595267475, 0.0005611134693026543, 0.000540568376891315, 0.0005199059960432351, 0.0005121120484545827, 0.00043516530422493815, 0.00039782171370461583, 0.00039437724626623094, 0.0003764294961001724, 0.00033916201209649444, 0.00033391406759619713, 0.0002864720590878278, 0.00026530391187407076, 0.00021412287605926394, 0.00014592574734706432]}\n", + "[]\n", + "1\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['cold destination / winter', 'warm destination / summer', 'variable weather / spring / autumn', 'rainy climate', 'tropical / humid', 'dry / desert-like'], 'scores': [0.4047710597515106, 0.17541682720184326, 0.15915031731128693, 0.09034949541091919, 0.08718790858983994, 0.08312442898750305]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['lightweight (but comfortable)', 'ultralight', 'minimalist', 'luxury (including evening wear)'], 'scores': [0.3096036911010742, 0.2567397654056549, 0.21885022521018982, 0.21480627357959747]}\n", + "lightweight (but comfortable)\n", + "3\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.4207872748374939, 0.3576851487159729, 0.2215275913476944]}\n", + "casual\n", + "4\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['indoor', 'sleeping in a car', 'sleeping in a tent', 'huts with half board'], 'scores': [0.3227717876434326, 0.2730870842933655, 0.2307731658220291, 0.17336790263652802]}\n", + "indoor\n", + "5\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.779691755771637, 0.22030824422836304]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['pet-friendly', 'snow, ice and avalanche-prone terrain', 'snow and ice', 'travel with children', 'self-supported (bring your own cooking gear)', 'no special conditions to consider', 'high alpine terrain', 'off-grid / no electricity'], 'scores': [0.19463308155536652, 0.15095236897468567, 0.12024451792240143, 0.11805718392133713, 0.1158665269613266, 0.10785605013370514, 0.10719065368175507, 0.08519963920116425]}\n", + "pet-friendly\n", + "7\n", + "{'sequence': 'We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels.', 'labels': ['7+ days', '1 day', '3 days', '2 days', '5 days', '6 days', '7 days', '4 days'], 'scores': [0.1580134481191635, 0.14457011222839355, 0.12547041475772858, 0.12148021906614304, 0.12061022222042084, 0.11322655528783798, 0.11014997959136963, 0.10647901147603989]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type yoga / wellness retreat \n", + "1 activities [] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort lightweight (but comfortable) \n", + "4 dress_code casual \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions pet-friendly \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 yoga / wellness retreat \n", + "1 [hut-to-hut hiking, yoga] \n", + "2 cold destination / winter \n", + "3 lightweight (but comfortable) \n", + "4 formal (business trip) \n", + "5 sleeping in a tent \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 7 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.0 NaN\n", + "0 0.555556 1.0 0.000000\n", + "0 0.333333 0.0 1.000000\n", + "0 0.333333 0.0 NaN\n", + "0 0.555556 1.0 0.000000\n", + "0 0.666667 1.0 0.666667\n", + "0 0.777778 0.0 1.000000\n", + "0 0.444444 0.0 NaN\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['ski tour / skitour', 'micro-adventure / weekend trip', 'snowboard / splitboard trip', 'hut trek (winter)', 'digital nomad trip', 'nature escape', 'road trip (car/camper)', 'city trip', 'cultural exploration', 'festival trip', 'camping trip (campground)', 'yoga / wellness retreat', 'beach vacation', 'long-distance hike / thru-hike', 'camping trip (wild camping)', 'hut trek (summer)'], 'scores': [0.3663986921310425, 0.09636696428060532, 0.075004942715168, 0.07167945802211761, 0.0598367378115654, 0.05768248438835144, 0.03861546888947487, 0.033177174627780914, 0.03233226761221886, 0.029614439234137535, 0.029370257630944252, 0.024656474590301514, 0.023532342165708542, 0.02279793471097946, 0.022022053599357605, 0.01691233180463314]}\n", + "ski tour / skitour\n", + "0\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['skiing', 'ski touring', 'cross-country skiing', 'kayaking / canoeing', 'horseback riding', 'snowshoe hiking', 'relaxing', 'stand-up paddleboarding (SUP)', 'running', 'swimming', 'surfing', 'paragliding', 'ice climbing', 'biking', 'fishing', 'hut-to-hut hiking', 'rock climbing', 'snorkeling', 'photography', 'rafting', 'going to the beach', 'yoga', 'hiking', 'scuba diving', 'sightseeing'], 'scores': [0.2528277635574341, 0.2313651442527771, 0.05568905547261238, 0.024118544533848763, 0.018762411549687386, 0.017000269144773483, 0.01608273573219776, 0.015383646823465824, 0.01368768885731697, 0.012414421886205673, 0.012261427007615566, 0.01063449028879404, 0.009735631756484509, 0.006543663330376148, 0.0058145178481936455, 0.004837794695049524, 0.004204615950584412, 0.003984866663813591, 0.0027321409434080124, 0.002524872776120901, 0.0021140314638614655, 0.0018475559772923589, 0.001832617912441492, 0.0015647730324417353, 0.0007389422389678657]}\n", + "[]\n", + "1\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['cold destination / winter', 'variable weather / spring / autumn', 'dry / desert-like', 'rainy climate', 'warm destination / summer', 'tropical / humid'], 'scores': [0.7086601853370667, 0.08325935900211334, 0.06411304324865341, 0.060533519834280014, 0.052686937153339386, 0.03074697032570839]}\n", + "cold destination / winter\n", + "2\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['minimalist', 'lightweight (but comfortable)', 'ultralight', 'luxury (including evening wear)'], 'scores': [0.3863230049610138, 0.275593101978302, 0.24462758004665375, 0.09345629066228867]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['conservative', 'casual', 'formal (business trip)'], 'scores': [0.4603714346885681, 0.42640116810798645, 0.11322735995054245]}\n", + "conservative\n", + "4\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['indoor', 'sleeping in a tent', 'sleeping in a car', 'huts with half board'], 'scores': [0.4865235686302185, 0.17880550026893616, 0.1702754646539688, 0.16439545154571533]}\n", + "indoor\n", + "5\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['no own vehicle', 'own vehicle'], 'scores': [0.8596820831298828, 0.14031793177127838]}\n", + "no own vehicle\n", + "6\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['snow, ice and avalanche-prone terrain', 'off-grid / no electricity', 'snow and ice', 'self-supported (bring your own cooking gear)', 'pet-friendly', 'no special conditions to consider', 'travel with children', 'high alpine terrain'], 'scores': [0.26320880651474, 0.20015636086463928, 0.12931954860687256, 0.09833185374736786, 0.0889144018292427, 0.08763295412063599, 0.07082437723875046, 0.061611734330654144]}\n", + "snow, ice and avalanche-prone terrain\n", + "7\n", + "{'sequence': 'I go on a skitouring trip where we also make videos/photos and the destination is Japan. Mainly sports clothes and isolation are needed (it is winter). We stay in a guesthouse. It will be 10 days.', 'labels': ['7+ days', '6 days', '7 days', '3 days', '5 days', '1 day', '4 days', '2 days'], 'scores': [0.34141209721565247, 0.10077369213104248, 0.09997611492872238, 0.09751024842262268, 0.09719471633434296, 0.0893651470541954, 0.08826962113380432, 0.08549842983484268]}\n", + "7+ days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type ski tour / skitour \n", + "1 activities [] \n", + "2 climate_or_season cold destination / winter \n", + "3 style_or_comfort minimalist \n", + "4 dress_code conservative \n", + "5 accommodation indoor \n", + "6 transportation no own vehicle \n", + "7 special_conditions snow, ice and avalanche-prone terrain \n", + "8 trip_length_days 7+ days \n", + "\n", + " true_class \n", + "0 ski tour / skitour \n", + "1 [ski touring, photography, swimming] \n", + "2 cold destination / winter \n", + "3 minimalist \n", + "4 conservative \n", + "5 indoor \n", + "6 no own vehicle \n", + "7 avalanche-prone terrain \n", + "8 5 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.0 NaN\n", + "0 0.555556 1.0 0.000000\n", + "0 0.333333 0.0 1.000000\n", + "0 0.333333 0.0 NaN\n", + "0 0.555556 1.0 0.000000\n", + "0 0.666667 1.0 0.666667\n", + "0 0.777778 0.0 1.000000\n", + "0 0.444444 0.0 NaN\n", + "0 0.666667 0.0 NaN\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Hardware accelerator e.g. GPU is available in the environment, but no `device` argument is passed to the `Pipeline` object. Model will be on CPU.\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['micro-adventure / weekend trip', 'road trip (car/camper)', 'nature escape', 'camping trip (campground)', 'camping trip (wild camping)', 'beach vacation', 'hut trek (summer)', 'festival trip', 'hut trek (winter)', 'cultural exploration', 'digital nomad trip', 'city trip', 'ski tour / skitour', 'long-distance hike / thru-hike', 'yoga / wellness retreat', 'snowboard / splitboard trip'], 'scores': [0.14423927664756775, 0.11643649637699127, 0.09590975940227509, 0.08910705149173737, 0.08752791583538055, 0.05881462246179581, 0.05384520813822746, 0.04758714884519577, 0.04725944250822067, 0.04560442641377449, 0.04329550638794899, 0.04088292643427849, 0.0358712300658226, 0.03412462770938873, 0.030597958713769913, 0.028896350413560867]}\n", + "micro-adventure / weekend trip\n", + "0\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['kayaking / canoeing', 'snorkeling', 'swimming', 'going to the beach', 'relaxing', 'running', 'stand-up paddleboarding (SUP)', 'rafting', 'fishing', 'surfing', 'photography', 'hut-to-hut hiking', 'rock climbing', 'yoga', 'hiking', 'horseback riding', 'ice climbing', 'snowshoe hiking', 'sightseeing', 'paragliding', 'scuba diving', 'cross-country skiing', 'ski touring', 'biking', 'skiing'], 'scores': [0.028565580025315285, 0.02070329338312149, 0.006974227726459503, 0.006276432890444994, 0.002496143104508519, 0.0018807799788191915, 0.0012317381333559752, 0.000891674542799592, 0.0008862033137120306, 0.0008039168315008283, 0.0005050284671597183, 0.0004931029980070889, 0.000484708056319505, 0.00047680657007731497, 0.00039064371958374977, 0.00038128727464936674, 0.00038075499469414353, 0.00035653385566547513, 0.0003124861395917833, 0.00029557954985648394, 0.0002564797759987414, 0.00012496171984821558, 0.0001228645269293338, 9.419946582056582e-05, 8.837275527184829e-05]}\n", + "[]\n", + "1\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['warm destination / summer', 'tropical / humid', 'cold destination / winter', 'variable weather / spring / autumn', 'dry / desert-like', 'rainy climate'], 'scores': [0.46420326828956604, 0.19200436770915985, 0.12063224613666534, 0.09789919853210449, 0.06425783038139343, 0.06100297346711159]}\n", + "warm destination / summer\n", + "2\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['minimalist', 'ultralight', 'lightweight (but comfortable)', 'luxury (including evening wear)'], 'scores': [0.39545997977256775, 0.2893916964530945, 0.18271127343177795, 0.13243702054023743]}\n", + "minimalist\n", + "3\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['casual', 'conservative', 'formal (business trip)'], 'scores': [0.5253751277923584, 0.3362745940685272, 0.13835026323795319]}\n", + "casual\n", + "4\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['sleeping in a car', 'sleeping in a tent', 'indoor', 'huts with half board'], 'scores': [0.3670501708984375, 0.3663417398929596, 0.14047499001026154, 0.1261330395936966]}\n", + "sleeping in a car\n", + "5\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['own vehicle', 'no own vehicle'], 'scores': [0.6090226173400879, 0.39097732305526733]}\n", + "own vehicle\n", + "6\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['pet-friendly', 'no special conditions to consider', 'off-grid / no electricity', 'self-supported (bring your own cooking gear)', 'travel with children', 'snow, ice and avalanche-prone terrain', 'high alpine terrain', 'snow and ice'], 'scores': [0.20725595951080322, 0.1636238992214203, 0.15567265450954437, 0.15353836119174957, 0.13341671228408813, 0.07974743098020554, 0.05544634908437729, 0.05129864066839218]}\n", + "pet-friendly\n", + "7\n", + "{'sequence': 'We plan a wild camping trip with activities such as snorkeling, kayaking and canoeing. It is a warm place and we want to bring little stuff. We stay in tents and hammocks and travel with a car, it will be 3 days.', 'labels': ['3 days', '1 day', '2 days', '4 days', '7+ days', '6 days', '5 days', '7 days'], 'scores': [0.28729239106178284, 0.13309785723686218, 0.1314256638288498, 0.09929175674915314, 0.09297873079776764, 0.08911224454641342, 0.08659988641738892, 0.08020152151584625]}\n", + "3 days\n", + "8\n", + " superclass pred_class \\\n", + "0 activity_type micro-adventure / weekend trip \n", + "1 activities [] \n", + "2 climate_or_season warm destination / summer \n", + "3 style_or_comfort minimalist \n", + "4 dress_code casual \n", + "5 accommodation sleeping in a car \n", + "6 transportation own vehicle \n", + "7 special_conditions pet-friendly \n", + "8 trip_length_days 3 days \n", + "\n", + " true_class \n", + "0 camping trip (wild camping) \n", + "1 [scuba diving, kayaking / canoeing] \n", + "2 tropical / humid \n", + "3 lightweight (but comfortable) \n", + "4 conservative \n", + "5 sleeping in a tent \n", + "6 own vehicle \n", + "7 no special conditions to consider \n", + "8 3 days \n", + " accuracy true_ident false_pred\n", + "0 0.444444 0.0 NaN\n", + "0 0.555556 1.0 0.000000\n", + "0 0.333333 0.0 1.000000\n", + "0 0.333333 0.0 NaN\n", + "0 0.555556 1.0 0.000000\n", + "0 0.666667 1.0 0.666667\n", + "0 0.777778 0.0 1.000000\n", + "0 0.444444 0.0 NaN\n", + "0 0.666667 0.0 NaN\n", + "0 0.222222 0.0 NaN\n", + " superclass same_value same_value same_value same_value \\\n", + "0 activity_type False True False True \n", + "1 activities False True False False \n", + "2 climate_or_season True False False False \n", + "3 style_or_comfort False False False False \n", + "4 dress_code True True True False \n", + "5 accommodation False True False False \n", + "6 transportation True True True True \n", + "7 special_conditions False False False False \n", + "8 trip_length_days True True True True \n", + "\n", + " same_value same_value same_value same_value same_value same_value \n", + "0 True True True True True False \n", + "1 False False False False False False \n", + "2 True False True True True False \n", + "3 False True True True True False \n", + "4 True True True False True False \n", + "5 False True True False True False \n", + "6 True False True True True True \n", + "7 False True True False False False \n", + "8 True True False False False True \n", + " superclass accuracy\n", + "0 activity_type 0.7\n", + "1 activities 0.1\n", + "2 climate_or_season 0.5\n", + "3 style_or_comfort 0.4\n", + "4 dress_code 0.7\n", + "5 accommodation 0.4\n", + "6 transportation 0.9\n", + "7 special_conditions 0.2\n", + "8 trip_length_days 0.7\n", + "accuracy 0.500000\n", + "true_ident 0.300000\n", + "false_pred 0.533333\n", + "dtype: float64\n" + ] + } + ], + "source": [ + "# List of Hugging Face model names\n", + "model_names = [\n", + " \"facebook/bart-large-mnli\",\n", + " \"MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli\",\n", + " ##\"cross-encoder/nli-deberta-v3-base\",\n", + " \"cross-encoder/nli-deberta-v3-large\",\n", + " \"MoritzLaurer/mDeBERTa-v3-base-mnli-xnli\",\n", + " ##\"joeddav/bart-large-mnli-yahoo-answers\",\n", + " \"MoritzLaurer/DeBERTa-v3-large-mnli-fever-anli-ling-wanli\",\n", + " \"MoritzLaurer/deberta-v3-large-zeroshot-v2.0\",\n", + " \"valhalla/distilbart-mnli-12-1\",\n", + " #\"joeddav/xlm-roberta-large-xnli\" # keeps giving errors\n", + "]\n", + "\n", + "# Apply each model to the test data\n", + "for model_name in model_names:\n", + " print(f\"\\nUsing model: {model_name}\")\n", + " result_list = []\n", + " performance = pd.DataFrame(columns=['accuracy', 'true_ident', 'false_pred'])\n", + " \n", + " start_time = time.time()\n", + " for i in range(len(trip_descriptions)):\n", + " current_trip = trip_descriptions[i]\n", + " current_type = trip_types[i]\n", + " df = pred_trip(model_name, current_trip, current_type, cut_off = 0.5)\n", + " print(df)\n", + " # accuracy, perc true classes identified and perc wrong pred classes\n", + " performance = pd.concat([performance, perf_measure(df)])\n", + " print(performance)\n", + " \n", + " result_list.append(df)\n", + " end_time = time.time()\n", + " elapsed_time = end_time - start_time\n", + " # Extract \"same_value\" column from each DataFrame\n", + " sv_columns = [df['same_value'] for df in result_list] # 'same' needs to be changed\n", + " sv_columns.insert(0, result_list[0]['superclass'])\n", + " # Combine into a new DataFrame (columns side-by-side)\n", + " sv_df = pd.concat(sv_columns, axis=1)\n", + " print(sv_df)\n", + " # Compute accuracy per superclass (row means of same_value matrix excluding the first column)\n", + " row_means = sv_df.iloc[:, 1:].mean(axis=1)\n", + " df_row_means = pd.DataFrame({\n", + " 'superclass': sv_df['superclass'],\n", + " 'accuracy': row_means\n", + " })\n", + " print(df_row_means)\n", + " # Compute performance measures per trip (mean for each column of performance table)\n", + " column_means = performance.mean()\n", + " print(column_means)\n", + " # save results\n", + " model = model_name.replace(\"/\", \"-\")\n", + " model_result = {\n", + " 'model': model,\n", + " 'predictions': result_list,\n", + " 'performance': performance,\n", + " 'perf_summary': column_means,\n", + " 'perf_superclass': df_row_means,\n", + " 'elapsed_time': elapsed_time\n", + " }\n", + " # File path with folder\n", + " filename = os.path.join('results', f'{model}_results.pkl')\n", + " # Save the object\n", + " with open(filename, 'wb') as f:\n", + " pickle.dump(model_result, f)\n", + "\n", + "\n", + "\n" + ] + }, + { + "cell_type": "markdown", + "id": "e1cbb54e-abe6-49b6-957e-0683196f3199", + "metadata": {}, + "source": [ + "## Load and compare results" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "id": "62ca82b0-6909-4e6c-9d2c-fed87971e5b6", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Model: cross-encoder-nli-deberta-v3-base\n", + "Performance Summary:\n", + "accuracy 0.444444\n", + "true_ident 0.533333\n", + "false_pred 0.712500\n", + "dtype: float64\n", + "----------------------------------------\n", + "Model: joeddav-bart-large-mnli-yahoo-answers\n", + "Performance Summary:\n", + "accuracy 0.344444\n", + "true_ident 0.650000\n", + "false_pred 0.553792\n", + "dtype: float64\n", + "----------------------------------------\n", + "Model: cross-encoder-nli-deberta-v3-large\n", + "Performance Summary:\n", + "accuracy 0.466667\n", + "true_ident 0.566667\n", + "false_pred 0.541667\n", + "dtype: float64\n", + "----------------------------------------\n", + "Model: MoritzLaurer-DeBERTa-v3-large-mnli-fever-anli-ling-wanli\n", + "Performance Summary:\n", + "accuracy 0.566667\n", + "true_ident 0.841667\n", + "false_pred 0.546667\n", + "dtype: float64\n", + "----------------------------------------\n", + "Model: MoritzLaurer-mDeBERTa-v3-base-mnli-xnli\n", + "Performance Summary:\n", + "accuracy 0.466667\n", + "true_ident 0.408333\n", + "false_pred 0.481250\n", + "dtype: float64\n", + "----------------------------------------\n", + "Model: MoritzLaurer-deberta-v3-large-zeroshot-v2.0\n", + "Performance Summary:\n", + "accuracy 0.455556\n", + "true_ident 0.325000\n", + "false_pred 0.500000\n", + "dtype: float64\n", + "----------------------------------------\n", + "Model: facebook-bart-large-mnli\n", + "Performance Summary:\n", + "accuracy 0.466667\n", + "true_ident 0.708333\n", + "false_pred 0.400000\n", + "dtype: float64\n", + "----------------------------------------\n", + "Model: valhalla-distilbart-mnli-12-1\n", + "Performance Summary:\n", + "accuracy 0.522222\n", + "true_ident 0.300000\n", + "false_pred 0.533333\n", + "dtype: float64\n", + "----------------------------------------\n", + "Model: MoritzLaurer-DeBERTa-v3-base-mnli-fever-anli\n", + "Performance Summary:\n", + "accuracy 0.522222\n", + "true_ident 0.841667\n", + "false_pred 0.572381\n", + "dtype: float64\n", + "----------------------------------------\n", + "Model: cross-encoder-nli-deberta-v3-base\n", + "Performance Summary:\n", + " superclass accuracy\n", + "0 activity_type 0.7\n", + "1 activities 0.0\n", + "2 climate_or_season 0.4\n", + "3 style_or_comfort 0.4\n", + "4 dress_code 0.7\n", + "5 accommodation 0.6\n", + "6 transportation 0.6\n", + "7 special_conditions 0.0\n", + "8 trip_length_days 0.6\n", + "----------------------------------------\n", + "Model: joeddav-bart-large-mnli-yahoo-answers\n", + "Performance Summary:\n", + " superclass accuracy\n", + "0 activity_type 0.7\n", + "1 activities 0.1\n", + "2 climate_or_season 0.5\n", + "3 style_or_comfort 0.3\n", + "4 dress_code 0.1\n", + "5 accommodation 0.3\n", + "6 transportation 0.3\n", + "7 special_conditions 0.3\n", + "8 trip_length_days 0.6\n", + "----------------------------------------\n", + "Model: cross-encoder-nli-deberta-v3-large\n", + "Performance Summary:\n", + " superclass accuracy\n", + "0 activity_type 0.6\n", + "1 activities 0.1\n", + "2 climate_or_season 0.5\n", + "3 style_or_comfort 0.4\n", + "4 dress_code 0.7\n", + "5 accommodation 0.7\n", + "6 transportation 0.4\n", + "7 special_conditions 0.3\n", + "8 trip_length_days 0.6\n", + "----------------------------------------\n", + "Model: MoritzLaurer-DeBERTa-v3-large-mnli-fever-anli-ling-wanli\n", + "Performance Summary:\n", + " superclass accuracy\n", + "0 activity_type 0.8\n", + "1 activities 0.0\n", + "2 climate_or_season 0.7\n", + "3 style_or_comfort 0.4\n", + "4 dress_code 0.7\n", + "5 accommodation 0.8\n", + "6 transportation 0.9\n", + "7 special_conditions 0.2\n", + "8 trip_length_days 0.6\n", + "----------------------------------------\n", + "Model: MoritzLaurer-mDeBERTa-v3-base-mnli-xnli\n", + "Performance Summary:\n", + " superclass accuracy\n", + "0 activity_type 0.9\n", + "1 activities 0.0\n", + "2 climate_or_season 0.6\n", + "3 style_or_comfort 0.5\n", + "4 dress_code 0.6\n", + "5 accommodation 0.3\n", + "6 transportation 0.8\n", + "7 special_conditions 0.1\n", + "8 trip_length_days 0.4\n", + "----------------------------------------\n", + "Model: MoritzLaurer-deberta-v3-large-zeroshot-v2.0\n", + "Performance Summary:\n", + " superclass accuracy\n", + "0 activity_type 0.7\n", + "1 activities 0.0\n", + "2 climate_or_season 0.5\n", + "3 style_or_comfort 0.3\n", + "4 dress_code 0.7\n", + "5 accommodation 0.5\n", + "6 transportation 0.8\n", + "7 special_conditions 0.0\n", + "8 trip_length_days 0.6\n", + "----------------------------------------\n", + "Model: facebook-bart-large-mnli\n", + "Performance Summary:\n", + " superclass accuracy\n", + "0 activity_type 0.8\n", + "1 activities 0.0\n", + "2 climate_or_season 0.6\n", + "3 style_or_comfort 0.4\n", + "4 dress_code 0.7\n", + "5 accommodation 0.3\n", + "6 transportation 0.8\n", + "7 special_conditions 0.0\n", + "8 trip_length_days 0.6\n", + "----------------------------------------\n", + "Model: valhalla-distilbart-mnli-12-1\n", + "Performance Summary:\n", + " superclass accuracy\n", + "0 activity_type 0.7\n", + "1 activities 0.1\n", + "2 climate_or_season 0.6\n", + "3 style_or_comfort 0.4\n", + "4 dress_code 0.7\n", + "5 accommodation 0.4\n", + "6 transportation 0.9\n", + "7 special_conditions 0.3\n", + "8 trip_length_days 0.7\n", + "----------------------------------------\n", + "Model: MoritzLaurer-DeBERTa-v3-base-mnli-fever-anli\n", + "Performance Summary:\n", + " superclass accuracy\n", + "0 activity_type 0.8\n", + "1 activities 0.0\n", + "2 climate_or_season 0.5\n", + "3 style_or_comfort 0.3\n", + "4 dress_code 0.8\n", + "5 accommodation 0.8\n", + "6 transportation 0.7\n", + "7 special_conditions 0.2\n", + "8 trip_length_days 0.6\n", + "----------------------------------------\n" + ] + } + ], + "source": [ + "# Folder where .pkl files are saved\n", + "results_dir = 'results/before'\n", + "\n", + "# Dictionary to store all loaded results\n", + "all_results = {}\n", + "\n", + "# Loop through all .pkl files in the folder\n", + "for filename in os.listdir(results_dir):\n", + " if filename.endswith('.pkl'):\n", + " model_name = filename.replace('_results.pkl', '') # Extract model name\n", + " file_path = os.path.join(results_dir, filename)\n", + " \n", + " # Load the result\n", + " with open(file_path, 'rb') as f:\n", + " result = pickle.load(f)\n", + " all_results[model_name] = result\n", + "\n", + "# Compare performance across models\n", + "for model, data in all_results.items():\n", + " print(f\"Model: {model}\")\n", + " print(f\"Performance Summary:\\n{data['perf_summary']}\")\n", + " print(\"-\" * 40)\n", + "\n", + "# Compare performance across models\n", + "for model, data in all_results.items():\n", + " print(f\"Model: {model}\")\n", + " print(f\"Performance Summary:\\n{data['perf_superclass']}\")\n", + " print(\"-\" * 40)" + ] + }, + { + "cell_type": "markdown", + "id": "2f65e5b1-bc32-42c2-bbe9-9e3a6ffc72c1", + "metadata": {}, + "source": [ + "**Identify trips that are difficult to predict**" + ] + }, + { + "cell_type": "markdown", + "id": "040055c9-5df4-49b0-921a-5bf98ff01a69", + "metadata": {}, + "source": [ + "Per model" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "id": "57fd150d-1cda-4be5-806b-ef380469243a", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "cross-encoder-nli-deberta-v3-base: Index([0, 2, 3, 4, 5, 6, 7, 8, 9], dtype='int64')\n", + "\n", + "joeddav-bart-large-mnli-yahoo-answers: RangeIndex(start=0, stop=10, step=1)\n", + "\n", + "cross-encoder-nli-deberta-v3-large: Index([0, 1, 2, 3, 4, 6, 7, 8, 9], dtype='int64')\n", + "\n", + "MoritzLaurer-DeBERTa-v3-large-mnli-fever-anli-ling-wanli: Index([2, 5, 6, 7, 8, 9], dtype='int64')\n", + "\n", + "MoritzLaurer-mDeBERTa-v3-base-mnli-xnli: RangeIndex(start=0, stop=10, step=1)\n", + "\n", + "MoritzLaurer-deberta-v3-large-zeroshot-v2.0: Index([0, 1, 2, 3, 4, 5, 6, 7, 9], dtype='int64')\n", + "\n", + "facebook-bart-large-mnli: RangeIndex(start=0, stop=10, step=1)\n", + "\n", + "valhalla-distilbart-mnli-12-1: Index([0, 1, 2, 3, 4, 7, 9], dtype='int64')\n", + "\n", + "MoritzLaurer-DeBERTa-v3-base-mnli-fever-anli: Index([0, 2, 3, 4, 6, 7], dtype='int64')\n", + "\n" + ] + } + ], + "source": [ + "def get_difficult_trips(model_result, cut_off = 0.6):\n", + " # model_result is a dict with dict_keys(['model', 'predictions', \n", + " # 'performance', 'perf_summary', 'perf_superclass', 'elapsed_time'])\n", + " # get performance dataframe and repair index\n", + " df = model_result['performance'].reset_index(drop=True)\n", + " # find index of trips whose accuracy is below cut_off\n", + " index_result = df[df['accuracy'] < cut_off].index\n", + " return(index_result)\n", + "\n", + "# dictionary of trips that have accuracy below cut_off default\n", + "difficult_trips_dict = {}\n", + "for model, data in all_results.items():\n", + " difficult_trips_dict[data[\"model\"]] = get_difficult_trips(data)\n", + "\n", + "for key, value in difficult_trips_dict.items():\n", + " print(f\"{key}: {value}\\n\")" + ] + }, + { + "cell_type": "markdown", + "id": "d91fb932-c5aa-472a-9b8d-a0cfc83a87f8", + "metadata": {}, + "source": [ + "For all models" + ] + }, + { + "cell_type": "code", + "execution_count": 16, + "id": "a2754cb7-59b9-4f1d-ab74-1bf711b3eba2", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "2 . My partner and I are traveling to the Netherlands and Germany to spend Christmas with our family. We are in our late twenties and will start our journey with a two-hour flight to the Netherlands. From there, we will take a 5.5-hour train ride to northern Germany. \n", + "\n", + "city trip\n", + "['relaxing']\n", + "cold destination / winter\n", + "lightweight (but comfortable)\n", + "casual\n", + "indoor\n", + "no own vehicle\n", + "no special conditions to consider\n", + "7+ days\n", + "\n", + "\n", + "7 . We will go to Sweden in the winter, to go for a yoga and sauna/wellness retreat. I prefer lightweight packing and also want clothes to go for fancy dinners and maybe on a winter hike. We stay in hotels. \n", + "\n", + "yoga / wellness retreat\n", + "['hut-to-hut hiking', 'yoga']\n", + "cold destination / winter\n", + "lightweight (but comfortable)\n", + "formal (business trip)\n", + "sleeping in a tent\n", + "no own vehicle\n", + "avalanche-prone terrain\n", + "7 days\n", + "\n", + "\n" + ] + } + ], + "source": [ + "# Which trips are difficult for all models\n", + "common = set.intersection(*(set(v) for v in difficult_trips_dict.values()))\n", + "for index in common:\n", + " print(index, \".\", trip_descriptions[index], \"\\n\")\n", + " for item in trip_types[index]:\n", + " print(item)\n", + " print(\"\\n\")" + ] + }, + { + "cell_type": "markdown", + "id": "be58d66f-a491-4f47-98df-2c0aa4af38e7", + "metadata": {}, + "source": [ + "**Identify superclasses that are difficult to predict**" + ] + }, + { + "cell_type": "markdown", + "id": "7e833c2d-9356-4d40-9b20-0a1eb6628a30", + "metadata": {}, + "source": [ + "Per model" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "id": "adb491b1-3ac3-4c32-934f-5eb6171f2ec9", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "cross-encoder-nli-deberta-v3-base: ['activities', 'climate_or_season', 'style_or_comfort', 'special_conditions']\n", + "\n", + "joeddav-bart-large-mnli-yahoo-answers: ['activities', 'climate_or_season', 'style_or_comfort', 'dress_code', 'accommodation', 'transportation', 'special_conditions']\n", + "\n", + "cross-encoder-nli-deberta-v3-large: ['activities', 'climate_or_season', 'style_or_comfort', 'transportation', 'special_conditions']\n", + "\n", + "MoritzLaurer-DeBERTa-v3-large-mnli-fever-anli-ling-wanli: ['activities', 'style_or_comfort', 'special_conditions']\n", + "\n", + "MoritzLaurer-mDeBERTa-v3-base-mnli-xnli: ['activities', 'style_or_comfort', 'accommodation', 'special_conditions', 'trip_length_days']\n", + "\n", + "MoritzLaurer-deberta-v3-large-zeroshot-v2.0: ['activities', 'climate_or_season', 'style_or_comfort', 'accommodation', 'special_conditions']\n", + "\n", + "facebook-bart-large-mnli: ['activities', 'style_or_comfort', 'accommodation', 'special_conditions']\n", + "\n", + "valhalla-distilbart-mnli-12-1: ['activities', 'style_or_comfort', 'accommodation', 'special_conditions']\n", + "\n", + "MoritzLaurer-DeBERTa-v3-base-mnli-fever-anli: ['activities', 'climate_or_season', 'style_or_comfort', 'special_conditions']\n", + "\n" + ] + } + ], + "source": [ + "def get_difficult_superclasses(model_result, cut_off = 0.6):\n", + " # model_result is a dict with dict_keys(['model', 'predictions', \n", + " # 'performance', 'perf_summary', 'perf_superclass', 'elapsed_time'])\n", + " df = model_result[\"perf_superclass\"]\n", + " # find superclass whose accuracy is below cut_off\n", + " diff_spc = list(df[df['accuracy'] < cut_off][\"superclass\"])\n", + " return(diff_spc)\n", + "\n", + "# make dictionary of superclasses that have accuracy below cut_off default\n", + "difficult_superclass_dict = {}\n", + "for model, data in all_results.items():\n", + " difficult_superclass_dict[data[\"model\"]] = get_difficult_superclasses(data)\n", + "\n", + "for key, value in difficult_superclass_dict.items():\n", + " print(f\"{key}: {value}\\n\")" + ] + }, + { + "cell_type": "markdown", + "id": "fbcebdf8-0975-45cb-96f5-15b4645aa7f6", + "metadata": {}, + "source": [ + "For all models" + ] + }, + { + "cell_type": "code", + "execution_count": 18, + "id": "4e51c11b-9a0a-4f9d-b20c-a6feda2d5a3b", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'style_or_comfort', 'activities', 'special_conditions'}\n" + ] + } + ], + "source": [ + "# Which trips are difficult for all models\n", + "common = set.intersection(*(set(v) for v in difficult_superclass_dict.values()))\n", + "print(common)" + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "id": "f0e31e2c-e87d-4776-b781-991919492430", + "metadata": {}, + "outputs": [], + "source": [ + "# Look at particular predicitons in detail\n", + "# print(all_results[\"joeddav-bart-large-mnli-yahoo-answers\"])" + ] + }, + { + "cell_type": "markdown", + "id": "01e24355-4aac-4ad6-b50c-96f75585ce45", + "metadata": {}, + "source": [ + "**Comparing models**" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "id": "b020f584-1468-4c84-9dac-7ca7fac6e8ca", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "\n", + "dict_keys(['model', 'predictions', 'performance', 'perf_summary', 'perf_superclass', 'elapsed_time'])\n", + "\n", + "accuracy 0.522222\n", + "true_ident 0.841667\n", + "false_pred 0.572381\n", + "dtype: float64\n", + "0.5222222222222223\n" + ] + } + ], + "source": [ + "# Make table of 'perf_summary' for all models inlcude time elapsed\n", + "print(type(all_results))\n", + "print(type(all_results[\"MoritzLaurer-DeBERTa-v3-base-mnli-fever-anli\"]))\n", + "print(all_results[\"MoritzLaurer-DeBERTa-v3-base-mnli-fever-anli\"].keys())\n", + "print(type(all_results[\"MoritzLaurer-DeBERTa-v3-base-mnli-fever-anli\"][\"perf_summary\"]))\n", + "print(all_results[\"MoritzLaurer-DeBERTa-v3-base-mnli-fever-anli\"][\"perf_summary\"])\n", + "print(all_results[\"MoritzLaurer-DeBERTa-v3-base-mnli-fever-anli\"][\"perf_summary\"][\"accuracy\"])\n", + "# make empty data frame\n", + "# fill in for loop with perf_summary per model\n", + "\n", + "\n", + "# Make ranking from that table for each category\n" + ] + }, + { + "cell_type": "markdown", + "id": "17483df4-55c4-41cd-b8a9-61f7a5c7e8a3", + "metadata": {}, + "source": [ + "# Use gradio for user input" + ] + }, + { + "cell_type": "code", + "execution_count": 66, + "id": "cb7fd425-d0d6-458d-97ca-2150dc55f206", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Running on local URL: http://127.0.0.1:7861\n", + "Running on public URL: https://aa06d5d85ffadaa92b.gradio.live\n", + "\n", + "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n" + ] + }, + { + "data": { + "text/html": [ + "
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "0\n", + "1\n", + "2\n", + "3\n", + "4\n", + "5\n", + "6\n", + "7\n", + "8\n", + "0\n", + "1\n", + "2\n", + "3\n", + "4\n", + "5\n", + "6\n", + "7\n", + "8\n" + ] + } + ], + "source": [ + "# use model with gradio\n", + "from transformers import pipeline\n", + "import gradio as gr\n", + "\n", + "# make a function for what I am doing\n", + "def classify(text):\n", + " df = pd.DataFrame(columns=['Superclass', 'class'])\n", + " for i, key in enumerate(keys_list):\n", + " # Run the classification (ca 30 seconds classifying)\n", + " if key == 'activities':\n", + " result = classifier(text, candidate_labels[key], multi_label=True)\n", + " classes = [result['labels'][i] for i in indices]\n", + " else:\n", + " result = classifier(text, candidate_labels[key])\n", + " classes = result[\"labels\"][0]\n", + " print(i)\n", + " df.loc[i] = [key, classes]\n", + "\n", + " return df\n", + "\n", + "demo = gr.Interface(\n", + " fn=classify,\n", + " inputs=\"text\",\n", + " outputs=\"dataframe\",\n", + " title=\"Zero-Shot Classification\",\n", + " description=\"Enter a text describing your trip\",\n", + ")\n", + "\n", + "# Launch the Gradio app\n", + "if __name__ == \"__main__\":\n", + " demo.launch(share=True)" + ] + }, + { + "cell_type": "markdown", + "id": "8e856a9c-a66c-4c4b-b7cf-8c52abbbc6fa", + "metadata": {}, + "source": [ + "Use model with gradio" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "521d9118-b59d-4cc6-b637-20202eaf8f33", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Running on local URL: http://127.0.0.1:7861\n", + "Running on public URL: https://0f70ba5369d721cf8f.gradio.live\n", + "\n", + "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n" + ] + }, + { + "data": { + "text/html": [ + "
" + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "# Define the Gradio interface\n", + "def classify(text):\n", + " return classifier(text, class_labels)\n", + "\n", + "demo = gr.Interface(\n", + " fn=classify,\n", + " inputs=\"text\",\n", + " outputs=\"json\",\n", + " title=\"Zero-Shot Classification\",\n", + " description=\"Enter a text describing your trip\",\n", + ")\n", + "\n", + "# Launch the Gradio app\n", + "if __name__ == \"__main__\":\n", + " demo.launch(share=True)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c8da1c90-d3a3-4b08-801c-b3afa17b2633", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python (huggingface_env)", + "language": "python", + "name": "huggingface_env" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.20" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +}