diff --git a/qdrant-landing/content/documentation/101-foundations/04_qdrant_101_cv.md b/qdrant-landing/content/documentation/101-foundations/04_qdrant_101_cv.md new file mode 100644 index 000000000..608a74e7b --- /dev/null +++ b/qdrant-landing/content/documentation/101-foundations/04_qdrant_101_cv.md @@ -0,0 +1,899 @@ +--- +notebook_path: 101-foundations/qdrant_101_image_data/04_qdrant_101_cv.ipynb +reading_time_min: 38 +title: Qdrant & Image Data +--- + +# Qdrant & Image Data + +![crab](documentation/101-foundations/04_qdrant_101_cv/crabmera.png) + +In this tutorial, you will learn how use semantic search for accurate skin cancer image comparison usign Qdrant and the +Hugging Face `transformers` and `datasets` libraries. + +## 1. Overview + +This aim of this tutorial is to walk you through the process of implementing semantic search techniques with image data and +vector databases. In particular, we'll go over an example on how to assist doctors in comparing rare or challenging images +with labels representing different skin diseases. + +Why did we choose this example? With the power of semantic search, medical professionals could enhance +their diagnostic capabilities and make more accurate decisions regarding skin disease diagnosis. Effectively helping out +people in need of such medical evaluations. + +That said, you can swap the dataset used in this tutorial with your own and follow along with minimal adjustments to the code. + +The dataset used can be found in the [Hugging Face Hub](https://huggingface.co/datasets/marmal88/skin_cancer) and you don't +need to take any additional step to download it other than to run the code below. + +Here is a short description of each of the variables available in the dataset. + +- `image` - PIL objct of size 600x450 +- `image_id` - unique id for the image +- `lesion_id` - unique id for the type of lesion on the skin of the patient +- `dx` - diagnosis given to the patient (e.g., melanocytic_Nevi, melanoma, benign_keratosis-like_lesions, basal_cell_carcinoma, + actinic_keratoses, vascular_lesions, dermatofibroma) +- `dx_type` - type of diagnosis (e.g., histo, follow_up, consensus, confocal) +- `age` - the age of the patients from 5 to 86 (some values are missing) +- `sex` - the gender of the patient (female, male, and unknown) +- `localization` - location of the spot in the body (e.g., 'lower extremity', 'upper extremity', 'neck', 'face', 'back', + 'chest', 'ear', 'abdomen', 'scalp', 'hand', 'trunk', 'unknown', 'foot', 'genital', 'acral') + +By the end of the tutorial, you will be able to extract embeddings from images using transformers and conduct image-to-image +semantic search with Qdrant. Please note, we do assume a bit of familiarity with machine learning and vector databases concepts. + +## 2. Set Up + +Before you run any line of code, please make sure you have + +1. downloaded the data +1. created a virtual environment (if not in Google Colab) +1. installed the packages below +1. started a container with Qdrant + +The open source version of Qdrant is available as a docker image and it can be pulled and run from any machine with docker +installed. If you don't have Docker installed in your PC you can follow the instructions in the official documentation +[here](https://docs.docker.com/get-docker/). After that, open your terminal and start by downloading the latest Qdrant +image with the following command. + +```sh +docker pull qdrant/qdrant +``` + +Next, initialize Qdrant with the following command, and you should be good to go. + +```sh +docker run -p 6333:6333 \ + -v $(pwd)/qdrant_storage:/qdrant/storage \ + qdrant/qdrant +``` + +Verify that you are ready to go by importing the following libraries and connecting to Qdrant via its Python client. + +```python +# install packages +%pip install qdrant-client transformers datasets pandas numpy torch librosa tensorflow openl3 panns-inference pedalboard streamlit +``` + +
+ | userId | +movieId | +rating | +
---|---|---|---|
0 | +1 | +1 | +0.429960 | +
1 | +1 | +1036 | +1.369846 | +
2 | +1 | +1049 | +-0.509926 | +
3 | +1 | +1066 | +0.429960 | +
4 | +1 | +110 | +0.429960 | +
+ | 4248 | +5784 | +8839 | +9128 | +3981 | +
---|---|---|---|---|---|
Uniq Id | +8fef5093eb479b4d6e57e9da43a7f2c6 | +95eae46a6d1531897b36b4533571e401 | +2bb3761b6fe3bbba43eca93ebe735678 | +aa1ee02920a0175c5f924b95d58b83fe | +88165b349420bf28bdad83d297142e86 | +
Product Name | +Eureka Classroom Supplies Learn to Count Count... | +Rockland Luggage 17 Inch Rolling Backpack, Ban... | +Losi High Endurance Clutch Bell, 14T: 2.0, LOS... | +Hygloss Products Emoji Emoticon Stickers - 240... | +In the Breeze Thin Patriot Tails, 24-Inch | +
Brand Name | +NaN | +NaN | +NaN | +NaN | +NaN | +
Asin | +NaN | +NaN | +NaN | +NaN | +NaN | +
Category | +NaN | +Clothing, Shoes & Jewelry | Luggage & Travel G... | +Toys & Games | Hobbies | Remote & App Controll... | +Toys & Games | Arts & Crafts | Stickers | +Toys & Games | Sports & Outdoor Play | Kites &... | +
Upc Ean Code | +NaN | +NaN | +NaN | +NaN | +NaN | +
List Price | +NaN | +NaN | +NaN | +NaN | +NaN | +
Selling Price | +$10.36 | +$28.00 | +$21.99 | +$8.17 | +$8.60 | +
Quantity | +NaN | +NaN | +NaN | +NaN | +NaN | +
Model Number | +867470 | +R01-BANDANA | +LOSA9127 | +1896 | +NaN | +
About Product | +Make sure this fits by entering your model num... | +Make sure this fits by entering your model num... | +Losi High Endurance Clutch Bell, 14T: 2.0, LOS... | +Make sure this fits by entering your model num... | +Make sure this fits by entering your model num... | +
Product Specification | +ASIN:B000T2YKIM|ShippingWeight:7.4ounces(Views... | +ProductDimensions:13x10x17inches|ItemWeight:10... | +ProductDimensions:4x2.1x1.2inches|ItemWeight:0... | +ProductDimensions:7.8x4.6x0.1inches|ItemWeight... | +NaN | +
Technical Details | +Color:Animal Counters show up to 2 reviews by ... | +Go to your orders and start the return Select ... | +0.8 ounces (View shipping rates and policies) ... | +Go to your orders and start the return Select ... | +Go to your orders and start the return Select ... | +
Shipping Weight | +7.4 ounces | +3.8 pounds | +0.8 ounces | +0.8 ounces | +NaN | +
Product Dimensions | +NaN | +NaN | +NaN | +NaN | +NaN | +
Image | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +
Variants | +https://www.amazon.com/Eureka-Classroom-Suppli... | +https://www.amazon.com/Rockland-Luggage-Rollin... | +NaN | +https://www.amazon.com/Hygloss-Products-Emoji-... | +https://www.amazon.com/Breeze-Thin-Patriot-Tai... | +
Sku | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Url | +https://www.amazon.com/Eureka-Classroom-Suppli... | +https://www.amazon.com/Rockland-Luggage-Rollin... | +https://www.amazon.com/Team-Losi-High-Enduranc... | +https://www.amazon.com/Hygloss-Products-Emoji-... | +https://www.amazon.com/Breeze-Thin-Patriot-Tai... | +
Stock | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Details | +NaN | +NaN | +NaN | +NaN | +NaN | +
Dimensions | +NaN | +NaN | +NaN | +NaN | +NaN | +
Color | +NaN | +NaN | +NaN | +NaN | +NaN | +
Ingredients | +NaN | +NaN | +NaN | +NaN | +NaN | +
Direction To Use | +NaN | +NaN | +NaN | +NaN | +NaN | +
Is Amazon Seller | +Y | +Y | +Y | +Y | +Y | +
Size Quantity Variant | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Description | +NaN | +NaN | +NaN | +NaN | +NaN | +
+ | 7646 | +1705 | +1656 | +6934 | +2912 | +
---|---|---|---|---|---|
Uniq Id | +c87f138612fe395f96266d0a1597faf7 | +a3daad923af839e1e0c4adf447f1b0d8 | +925f24d67d03a19f33f83015c759c23a | +83177fad1c5979dc0a5b46bbb9580260 | +78d3087cc7035ed78eeb102366a76e02 | +
Product Name | +Amscan Dream Big Disposable Paper Dessert Plat... | +12 Inch Trolls Girls' Bike | +Home Dynamix Harper Ash Accent Rug, 48" Round,... | +FanWraps Star Wars Resistance Droids Passenger... | +MightySkins Skin Compatible with Hover-1 H1 Ho... | +
Brand Name | +NaN | +NaN | +NaN | +NaN | +NaN | +
Asin | +NaN | +NaN | +NaN | +NaN | +NaN | +
Category | +Home & Kitchen | Event & Party Supplies | Tabl... | +Sports & Outdoors | Outdoor Recreation | Cycli... | +Home & Kitchen | Home DΓ©cor | Kids' Room DΓ©cor... | +NaN | +Sports & Outdoors | Outdoor Recreation | Skate... | +
Upc Ean Code | +NaN | +NaN | +NaN | +NaN | +NaN | +
List Price | +NaN | +NaN | +NaN | +NaN | +NaN | +
Selling Price | +$12.89 | +$99.99 | +$52.39 | +$19.99 | +$9.86 - $11.86 | +
Quantity | +NaN | +NaN | +NaN | +NaN | +NaN | +
Model Number | +741377 | +8008-50ZTJ | +NaN | +FW 1221 | +HOVH1-Laughing Skulls | +
About Product | +Make sure this fits by entering your model num... | +Make sure this fits by entering your model num... | +Make sure this fits by entering your model num... | +Make sure this fits by entering your model num... | +SET THE TREND: Show off your own unique style ... | +
Product Specification | +ProductDimensions:7x7x2.3inches|ItemWeight:0.3... | +Product Dimensions: 28.2 x 6.8 x 15 in... | +NaN | +ProductDimensions:19.8x13.8x0.1inches|ItemWeig... | +ProductDimensions:13x0.1x12inches|ItemWeight:0... | +
Technical Details | +Dream big graduate! Share them to your guests ... | +Go to your orders and start the return Select ... | +Go to your orders and start the return Select ... | +show up to 2 reviews by default Made from perf... | +Do You Want Your Hover-1 Ultra Hover board Sco... | +
Shipping Weight | +9.6 ounces | +23.1 pounds | +NaN | +5 ounces | +0.96 ounces | +
Product Dimensions | +NaN | +28.2 x 6.8 x 15 inches 20.3 pounds | +NaN | +NaN | +NaN | +
Image | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +
Variants | +NaN | +NaN | +https://www.amazon.com/Home-Dynamix-Harper-Acc... | +NaN | +NaN | +
Sku | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Url | +https://www.amazon.com/Disposable-Dessert-Grad... | +https://www.amazon.com/Trolls-12-Inch-Girls-Bi... | +https://www.amazon.com/Home-Dynamix-Harper-Acc... | +https://www.amazon.com/FanWraps-Resistance-Dro... | +https://www.amazon.com/MightySkins-Hover-1-Ult... | +
Stock | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Details | +NaN | +NaN | +NaN | +NaN | +NaN | +
Dimensions | +NaN | +NaN | +NaN | +NaN | +NaN | +
Color | +NaN | +NaN | +NaN | +NaN | +NaN | +
Ingredients | +NaN | +NaN | +NaN | +NaN | +NaN | +
Direction To Use | +NaN | +NaN | +NaN | +NaN | +NaN | +
Is Amazon Seller | +Y | +Y | +Y | +Y | +N | +
Size Quantity Variant | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Description | +NaN | +NaN | +NaN | +NaN | +NaN | +
+ | 64 | +2591 | +3483 | +3045 | +7589 | +
---|---|---|---|---|---|
Uniq Id | +b4358a38037a7e7fbcd7fe16970e7bff | +853ae53d4c3dd833d07787f452e3c13a | +cb7e81a2574c42628feb2ea88cc465c8 | +76cd3a9b8a05103b70fefe3766459d60 | +10801e1b6ef7e39eb8875234a49b7d70 | +
Product Name | +DC Collectibles DCTV: Black Lightning Resin St... | +Click N' Play Set of 8 Kids Pretend Play Beaut... | +Application DC Comics Originals Justice League... | +Suck UK TV Lunch Box I Food Storage Containers... | +LEGO Disney Arielβs Seaside Castle 41160 4+ Bu... | +
Brand Name | +NaN | +NaN | +NaN | +NaN | +NaN | +
Asin | +NaN | +NaN | +NaN | +NaN | +NaN | +
Category | +Toys & Games | Collectible Toys | Statues, Bob... | +Toys & Games | Dress Up & Pretend Play | Beaut... | +Toys & Games | Arts & Crafts | +Home & Kitchen | Kitchen & Dining | Storage & ... | +Toys & Games | Building Toys | Building Sets | +
Upc Ean Code | +NaN | +NaN | +NaN | +NaN | +NaN | +
List Price | +NaN | +NaN | +NaN | +NaN | +NaN | +
Selling Price | +$17.75 | +$19.99 | +$6.99 | +$18.48 | +$19.78 $ 19 . 78 | +
Quantity | +NaN | +NaN | +NaN | +NaN | +NaN | +
Model Number | +DEC170420 | +CNP01008 | +P-DC-0136-S | +SK LUNCHTV3 | +6250992 | +
About Product | +Make sure this fits by entering your model num... | +Make sure this fits by entering your model num... | +Make sure this fits by entering your model num... | +Make sure this fits by entering your model num... | +Make sure this fits by entering your model num... | +
Product Specification | +ProductDimensions:3x3x12.4inches|ItemWeight:2p... | +ProductDimensions:12x12x2inches|ItemWeight:11.... | +ProductDimensions:4.8x0x6inches|ItemWeight:0.8... | +ProductDimensions:3.9x8.1x7.7inches|ItemWeight... | +ProductDimensions:10.3x7.5x2.4inches|ItemWeigh... | +
Technical Details | +show up to 2 reviews by default Jefferson Pier... | +Go to your orders and start the return Select ... | +show up to 2 reviews by default C&D Visionary ... | +Go to your orders and start the return Select ... | +show up to 2 reviews by default Let your child... | +
Shipping Weight | +3.7 pounds | +11.2 ounces | +0.8 ounces | +15.5 ounces | +11.2 ounces | +
Product Dimensions | +NaN | +NaN | +NaN | +NaN | +NaN | +
Image | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +
Variants | +NaN | +NaN | +NaN | +https://www.amazon.com/Suck-UK-Storage-Contain... | +NaN | +
Sku | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Url | +https://www.amazon.com/DC-Collectibles-DCTV-Li... | +https://www.amazon.com/Click-Play-Pretend-Hair... | +https://www.amazon.com/Application-Comics-Orig... | +https://www.amazon.com/Suck-UK-Storage-Contain... | +https://www.amazon.com/LEGO-Disney-Ariels-Seas... | +
Stock | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Details | +NaN | +NaN | +NaN | +NaN | +NaN | +
Dimensions | +NaN | +NaN | +NaN | +NaN | +NaN | +
Color | +NaN | +NaN | +NaN | +NaN | +NaN | +
Ingredients | +NaN | +NaN | +NaN | +NaN | +NaN | +
Direction To Use | +NaN | +NaN | +NaN | +NaN | +NaN | +
Is Amazon Seller | +Y | +Y | +Y | +Y | +Y | +
Size Quantity Variant | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Description | +NaN | +NaN | +NaN | +NaN | +NaN | +
LocalImage | +./data/images/41vJ5amvKeL.jpg | +./data/images/51sNsHAae4L.jpg | +./data/images/61g66OGcaaL.jpg | +./data/images/41EULQJ9LxL.jpg | +./data/images/41Np1paMBvL.jpg | +
+ | 8688 | +2453 | +7846 | +9192 | +642 | +
---|---|---|---|---|---|
Uniq Id | +4f870803642cd124be4b6f0c89e9d4bf | +1b038ee56304c43ba0feb5e405c05c47 | +0b65e29108345f6d68e9eb18fd1ee020 | +c4ebd4572a2a0710b3b074fd4302bd10 | +198651a0f2df856435f4e7401d2329ca | +
Product Name | +Safescan ScanSafe Concierge Card Case with RFI... | +Playgro 0184557 Bendy Ball for Baby Infant Tod... | +EPIKGO Sport Balance Board Self Balance Scoote... | +Rubie's Costume Men's Batman Arkham City Adult... | +DJI Smart Controller | +
Brand Name | +NaN | +NaN | +NaN | +NaN | +NaN | +
Asin | +NaN | +NaN | +NaN | +NaN | +NaN | +
Category | +Toys & Games | Novelty & Gag Toys | +Baby Products | Baby Care | Pacifiers, Teether... | +Sports & Outdoors | Outdoor Recreation | Skate... | +Clothing, Shoes & Jewelry | Costumes & Accesso... | +Toys & Games | Hobbies | Remote & App Controll... | +
Upc Ean Code | +NaN | +NaN | +NaN | +NaN | +NaN | +
List Price | +NaN | +NaN | +NaN | +NaN | +NaN | +
Selling Price | +$8.32 | +$12.03 | +$199.00 | +$38.00 | +$718.98 | +
Quantity | +NaN | +NaN | +NaN | +NaN | +NaN | +
Model Number | +SCON-TEA | +0184557 | +EPIKGO Sport | +NaN | +NaN | +
About Product | +Make sure this fits by entering your model num... | +Rattle sounds for baby's auditory stimulation ... | +Make sure this fits by entering your model num... | +100% Synthetic | Imported | Hand Wash | Printe... | +Make sure this fits by entering your model num... | +
Product Specification | +ProductDimensions:4.1x3x0.2inches|ItemWeight:0... | +NaN | +Product Dimensions: 31 x 12 x 12 inche... | +NaN | +NaN | +
Technical Details | +Color:Teal Β |Β Size:One Size show up to 2 revi... | +Style:Bendy Ball show up to 2 reviews by defau... | +Introducing the EPIKGO SPORTS Self-Balancing B... | +With costumes designed for toddlers through pl... | +NaN | +
Shipping Weight | +0.64 ounces | +9.1 ounces | +41.2 pounds | +10.7 ounces | +NaN | +
Product Dimensions | +NaN | +NaN | +31 x 12 x 12 inches 33 pounds | +NaN | +NaN | +
Image | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +https://images-na.ssl-images-amazon.com/images... | +
Variants | +https://www.amazon.com/Scansafe-Concierge-Card... | +NaN | +NaN | +https://www.amazon.com/Rubies-Batman-Arkham-Mu... | +NaN | +
Sku | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Url | +https://www.amazon.com/Scansafe-Concierge-Card... | +https://www.amazon.com/Playgro-0184557-Childre... | +https://www.amazon.com/EPIKGO-Sport-All-Terrai... | +https://www.amazon.com/Rubies-Batman-Arkham-Mu... | +https://www.amazon.com/DJI-CP-MA-00000080-01-S... | +
Stock | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Details | +NaN | +NaN | +NaN | +NaN | +NaN | +
Dimensions | +NaN | +NaN | +NaN | +NaN | +NaN | +
Color | +NaN | +NaN | +NaN | +NaN | +NaN | +
Ingredients | +NaN | +NaN | +NaN | +NaN | +NaN | +
Direction To Use | +NaN | +NaN | +NaN | +NaN | +NaN | +
Is Amazon Seller | +Y | +Y | +Y | +Y | +Y | +
Size Quantity Variant | +NaN | +NaN | +NaN | +NaN | +NaN | +
Product Description | +NaN | +NaN | +NaN | +NaN | +NaN | +
LocalImage | +./data/images/51Sws0v1GkL.jpg | +./data/images/416vTIPTJDL.jpg | +./data/images/51pCEz-LL0L.jpg | +./data/images/51p0gDolMyL.jpg | +./data/images/41Y6SkFMnTL.jpg | +
Embedding | +[-0.01141652837395668, 0.014521843753755093, 0... | +[0.004719291348010302, 0.0180919598788023, -0.... | +[-0.01707524061203003, -0.008010529913008213, ... | +[0.009645373560488224, 0.0459967665374279, 0.0... | +[0.017103899270296097, 0.009327375330030918, 0... | +
+ | instruction | +input | +output | +
---|---|---|---|
0 | +Answer the question based on the following con... | +Question: Is naturopathy as effective as conve... | +Naturopathy appears to be an effective alterna... | +
1 | +Answer the question based on the following con... | +Question: Can randomised trials rely on existi... | +Routine data have the potential to support hea... | +
2 | +Answer the question based on the following con... | +Question: Is laparoscopic radical prostatectom... | +The results of our non-randomized study show t... | +
3 | +Answer the question based on the following con... | +Question: Does bacterial gastroenteritis predi... | +Symptoms consistent with IBS and functional di... | +
4 | +Answer the question based on the following con... | +Question: Is early colonoscopy after admission... | +No significant association is apparent between... | +
+ | user_id | +gender | +age | +occupation | +zip | +
---|---|---|---|---|---|
0 | +1 | +F | +1 | +10 | +48067 | +
1 | +2 | +M | +56 | +16 | +70072 | +
2 | +3 | +M | +25 | +15 | +55117 | +
3 | +4 | +M | +45 | +7 | +02460 | +
4 | +5 | +M | +25 | +20 | +55455 | +
... | +... | +... | +... | +... | +... | +
6035 | +6036 | +F | +25 | +15 | +32603 | +
6036 | +6037 | +F | +45 | +1 | +76006 | +
6037 | +6038 | +F | +56 | +1 | +14706 | +
6038 | +6039 | +F | +45 | +0 | +01060 | +
6039 | +6040 | +M | +25 | +6 | +11106 | +
6040 rows Γ 5 columns
++ | movie_id | +title | +genres | +
---|---|---|---|
0 | +1 | +Toy Story (1995) | +Animation|Children's|Comedy | +
1 | +2 | +Jumanji (1995) | +Adventure|Children's|Fantasy | +
2 | +3 | +Grumpier Old Men (1995) | +Comedy|Romance | +
3 | +4 | +Waiting to Exhale (1995) | +Comedy|Drama | +
4 | +5 | +Father of the Bride Part II (1995) | +Comedy | +
... | +... | +... | +... | +
3878 | +3948 | +Meet the Parents (2000) | +Comedy | +
3879 | +3949 | +Requiem for a Dream (2000) | +Drama | +
3880 | +3950 | +Tigerland (2000) | +Drama | +
3881 | +3951 | +Two Family House (2000) | +Drama | +
3882 | +3952 | +Contender, The (2000) | +Drama|Thriller | +
3883 rows Γ 3 columns
++ | link | +headline | +category | +short_description | +authors | +date | +
---|---|---|---|---|---|---|
0 | +https://www.huffpost.com/entry/covid-boosters-... | +Over 4 Million Americans Roll Up Sleeves For O... | +U.S. NEWS | +Health experts said it is too early to predict... | +Carla K. Johnson, AP | +2022-09-23 | +
1 | +https://www.huffpost.com/entry/american-airlin... | +American Airlines Flyer Charged, Banned For Li... | +U.S. NEWS | +He was subdued by passengers and crew when he ... | +Mary Papenfuss | +2022-09-23 | +
2 | +https://www.huffpost.com/entry/funniest-tweets... | +23 Of The Funniest Tweets About Cats And Dogs ... | +COMEDY | +"Until you have a dog you don't understand wha... | +Elyse Wanshel | +2022-09-23 | +
3 | +https://www.huffpost.com/entry/funniest-parent... | +The Funniest Tweets From Parents This Week (Se... | +PARENTING | +"Accidentally put grown-up toothpaste on my to... | +Caroline Bologna | +2022-09-23 | +
4 | +https://www.huffpost.com/entry/amy-cooper-lose... | +Woman Who Called Cops On Black Bird-Watcher Lo... | +U.S. NEWS | +Amy Cooper accused investment firm Franklin Te... | +Nina Golgowski | +2022-09-22 | +
oversampling | +1 | +2 | +3 | +|||
---|---|---|---|---|---|---|
rescore | +False | +True | +False | +True | +False | +True | +
limit | ++ | + | + | + | + | + |
10 | +0.6950 | +0.9430 | +0.6950 | +0.9860 | +0.6950 | +0.9930 | +
20 | +0.7050 | +0.9520 | +0.7050 | +0.9860 | +0.7050 | +0.9915 | +
50 | +0.6962 | +0.9546 | +0.6962 | +0.9838 | +0.6968 | +0.9926 | +
100 | +0.6991 | +0.9561 | +0.7003 | +0.9904 | +0.7007 | +0.9964 | +
+ | country | +description | +points | +price | +title | +variety | +
---|---|---|---|---|---|---|
1 | +Portugal | +This is ripe and fruity, a wine that is smooth... | +87 | +15.0 | +Quinta dos Avidagos 2011 Avidagos Red (Douro) | +Portuguese Red | +
2 | +US | +Tart and snappy, the flavors of lime flesh and... | +87 | +14.0 | +Rainstorm 2013 Pinot Gris (Willamette Valley) | +Pinot Gris | +
3 | +US | +Pineapple rind, lemon pith and orange blossom ... | +87 | +13.0 | +St. Julian 2013 Reserve Late Harvest Riesling ... | +Riesling | +
4 | +US | +Much like the regular bottling from 2012, this... | +87 | +65.0 | +Sweet Cheeks 2012 Vintner's Reserve Wild Child... | +Pinot Noir | +
5 | +Spain | +Blackberry and raspberry aromas show a typical... | +87 | +15.0 | +Tandem 2011 Ars In Vitro Tempranillo-Merlot (N... | +Tempranillo-Merlot | +