yelpreview_base
This is a BERTopic model. BERTopic is a flexible and modular topic modeling framework that allows for the generation of easily interpretable topics from large datasets.
Usage
To use this model, please install BERTopic:
pip install -U bertopic
You can use the model as follows:
from bertopic import BERTopic
topic_model = BERTopic.load("Kamaljp/yelpreview_base")
topic_model.get_topic_info()
Topic overview
- Number of topics: 106
- Number of training documents: 10000
<details> <summary>Click here for an overview of all topics.</summary>
Topic ID | Topic Keywords | Topic Frequency | Label |
---|---|---|---|
-1 | good - food - place - great - like | 10 | -1_good_food_place_great |
0 | mexican - tacos - salsa - burrito - mexican food | 3627 | 0_mexican_tacos_salsa_burrito |
1 | pizza - crust - italian - pizzas - good | 746 | 1_pizza_crust_italian_pizzas |
2 | burger - fries - burgers - good - bun | 537 | 2_burger_fries_burgers_good |
3 | bar - music - night - drinks - place | 286 | 3_bar_music_night_drinks |
4 | scottsdale - bar - place - great - food | 264 | 4_scottsdale_bar_place_great |
5 | ordered - shrimp - good - sauce - bread | 232 | 5_ordered_shrimp_good_sauce |
6 | minutes - table - asked - order - food | 220 | 6_minutes_table_asked_order |
7 | hotel - pool - room - stay - rooms | 188 | 7_hotel_pool_room_stay |
8 | coffee - starbucks - coffee shop - espresso - latte | 183 | 8_coffee_starbucks_coffee shop_espresso |
9 | store - shoes - clothes - dress - clothing | 183 | 9_store_shoes_clothes_dress |
10 | sushi - roll - rolls - happy hour - happy | 160 | 10_sushi_roll_rolls_happy hour |
11 | thai - curry - pad - pad thai - thai food | 152 | 11_thai_curry_pad_pad thai |
12 | chinese - chinese food - food - asian - china | 150 | 12_chinese_chinese food_food_asian |
13 | pho - vietnamese - spring rolls - spring - rolls | 141 | 13_pho_vietnamese_spring rolls_spring |
14 | phoenix - food - az - best - good | 97 | 14_phoenix_food_az_best |
15 | theater - movie - seats - movies - theaters | 94 | 15_theater_movie_seats_movies |
16 | beer - beers - peaks - brewery - craft | 81 | 16_beer_beers_peaks_brewery |
17 | breakfast - pancakes - eggs - toast - french toast | 81 | 17_breakfast_pancakes_eggs_toast |
18 | sandwich - sandwiches - sacks - bread - sandwich shop | 74 | 18_sandwich_sandwiches_sacks_bread |
19 | wine - wines - bottle - list - wine list | 71 | 19_wine_wines_bottle_list |
20 | nails - nail - pedicure - manicure - gel | 65 | 20_nails_nail_pedicure_manicure |
21 | yogurt - frozen yogurt - frozen - flavors - toppings | 64 | 21_yogurt_frozen yogurt_frozen_flavors |
22 | service - food - servers - hostess - service food | 64 | 22_service_food_servers_hostess |
23 | airport - flight - sky - sky harbor - terminal | 62 | 23_airport_flight_sky_sky harbor |
24 | great - place - love - food - love place | 62 | 24_great_place_love_food |
25 | trail - hike - mountain - park - view | 61 | 25_trail_hike_mountain_park |
26 | happy hour - hour - happy - tavern - great happy | 58 | 26_happy hour_hour_happy_tavern |
27 | cupcakes - cupcake - cake - frosting - sprinkles | 57 | 27_cupcakes_cupcake_cake_frosting |
28 | stars - star - reason - food - steak | 55 | 28_stars_star_reason_food |
29 | ice - ice cream - cream - flavors - cookies | 54 | 29_ice_ice cream_cream_flavors |
30 | car - auto - repair - whiteys - honest | 54 | 30_car_auto_repair_whiteys |
31 | dr - doctor - care - office - doctors | 52 | 31_dr_doctor_care_office |
32 | steak - steaks - steakhouse - ordered - prime | 47 | 32_steak_steaks_steakhouse_ordered |
33 | stadium - game - spring training - spring - training | 47 | 33_stadium_game_spring training_spring |
34 | vegan - mock - meat - vegetarian - green | 45 | 34_vegan_mock_meat_vegetarian |
35 | indian - indian food - buffet - masala - naan | 45 | 35_indian_indian food_buffet_masala |
36 | brisket - bbq - ribs - sauce - bbq sauce | 44 | 36_brisket_bbq_ribs_sauce |
37 | donuts - donut - dunkin - bosa - dunkin donuts | 41 | 37_donuts_donut_dunkin_bosa |
38 | foods - produce - trader joes - joes - trader | 41 | 38_foods_produce_trader joes_joes |
39 | vet - dog - animals - dogs - pet | 41 | 39_vet_dog_animals_dogs |
40 | sandwich - chicken - salad - turkey - bread | 41 | 40_sandwich_chicken_salad_turkey |
41 | massage - spa - therapist - massages - room | 38 | 41_massage_spa_therapist_massages |
42 | bbq - joes - bbq sauce - ribs - bbq place | 35 | 42_bbq_joes_bbq sauce_ribs |
43 | gym - fitness - classes - workout - trainers | 34 | 43_gym_fitness_classes_workout |
44 | store - products - office max - helpful - items | 34 | 44_store_products_office max_helpful |
45 | sub - subway - subs - sandwich - subways | 34 | 45_sub_subway_subs_sandwich |
46 | fez - yelp - event - yelp event - yelpers | 34 | 46_fez_yelp_event_yelp event |
47 | great food - great - food - service - great service | 33 | 47_great food_great_food_service |
48 | phone - address - company - shipping - store | 31 | 48_phone_address_company_shipping |
49 | bruschetta - postinos - wine - postino - fig | 31 | 49_bruschetta_postinos_wine_postino |
50 | dentist - dr - dental - teeth - office | 29 | 50_dentist_dr_dental_teeth |
51 | pizza - told - coupon - manager - order | 29 | 51_pizza_told_coupon_manager |
52 | gelato - angel sweet - gelato spot - angel - flavors | 29 | 52_gelato_angel sweet_gelato spot_angel |
53 | car - wash - car wash - clean - air freshener | 29 | 53_car_wash_car wash_clean |
54 | dog - pet - dog food - petsmart - pets | 28 | 54_dog_pet_dog food_petsmart |
55 | books - library - book - bookstore - bookmans | 28 | 55_books_library_book_bookstore |
56 | staff - friendly staff - friendly - great - great staff | 28 | 56_staff_friendly staff_friendly_great |
57 | wings - wing - beer - hot - love wings | 27 | 57_wings_wing_beer_hot |
58 | tea - boba - teas - drink - milk tea | 27 | 58_tea_boba_teas_drink |
59 | pita - pita jungle - jungle - hummus - chicken | 26 | 59_pita_pita jungle_jungle_hummus |
60 | bagel - bagels - cream cheese - lox - bodos | 26 | 60_bagel_bagels_cream cheese_lox |
61 | closed - location closed - open - doors - closed good | 25 | 61_closed_location closed_open_doors |
62 | greek - greek food - gyros - food - pita | 25 | 62_greek_greek food_gyros_food |
63 | haircut - hair - barber - cut - hair cut | 25 | 63_haircut_hair_barber_cut |
64 | dog - hot dog - dogs - hot - leash | 23 | 64_dog_hot dog_dogs_hot |
65 | mall - malls - stores - food court - court | 23 | 65_mall_malls_stores_food court |
66 | good food - food good - good - food - expensive | 23 | 66_good food_food good_good_food |
67 | kids - children - fun - museum - floor | 22 | 67_kids_children_fun_museum |
68 | date - romantic - place - good - fondue | 22 | 68_date_romantic_place_good |
69 | dog - park - dogs - dog park - active | 20 | 69_dog_park_dogs_dog park |
70 | hair - facial - salon - stylist - cut | 20 | 70_hair_facial_salon_stylist |
71 | course - holes - tee - golf - greens | 20 | 71_course_holes_tee_golf |
72 | ring - jewelry - piercing - hyde park - hyde | 19 | 72_ring_jewelry_piercing_hyde park |
73 | sushi - roll - sashimi - tuna - rolls | 18 | 73_sushi_roll_sashimi_tuna |
74 | italian beef - beef - italian - als - sandwich | 18 | 74_italian beef_beef_italian_als |
75 | waffles - lolos - chicken - chicken waffles - fried chicken | 18 | 75_waffles_lolos_chicken_chicken waffles |
76 | olive - oil - defalcos - tour - buca | 17 | 76_olive_oil_defalcos_tour |
77 | efes - drumettes - efes mix - pretzels - patio | 16 | 77_efes_drumettes_efes mix_pretzels |
78 | mongolian - mongolian bbq - ycs - bowl - stir fry | 16 | 78_mongolian_mongolian bbq_ycs_bowl |
79 | staff - office - nephews - corporate office - selection awesome | 16 | 79_staff_office_nephews_corporate office |
80 | gyro - gyros - best gyro - pita - meat | 16 | 80_gyro_gyros_best gyro_pita |
81 | store - girl - items - michaels - help | 15 | 81_store_girl_items_michaels |
82 | korean - kimchi - korean food - bbq - korean bbq | 15 | 82_korean_kimchi_korean food_bbq |
83 | soup - yummy - lunch - cu - zupas | 15 | 83_soup_yummy_lunch_cu |
84 | tires - tire - discount tire - discount - new tires | 15 | 84_tires_tire_discount tire_discount |
85 | museum - art - exhibits - love - preserve | 14 | 85_museum_art_exhibits_love |
86 | pei - pei wei - wei - asian - chinese | 14 | 86_pei_pei wei_wei_asian |
87 | intense great - help excellent - excellent good - gem yummy - job super | 14 | 87_intense great_help excellent_excellent good_gem yummy |
88 | zia - record - stinkweeds - store - music | 14 | 88_zia_record_stinkweeds_store |
89 | lunch - jamuns - gulab jamuns - gulab - dilly bird | 14 | 89_lunch_jamuns_gulab jamuns_gulab |
90 | gardens - cacti - desert - dbg - botanical | 14 | 90_gardens_cacti_desert_dbg |
91 | love - love love - yard - theyll tell - nursery | 13 | 91_love_love love_yard_theyll tell |
92 | irish - irish pub - pub - irish music - fish chips | 13 | 92_irish_irish pub_pub_irish music |
93 | classes - campus - teacher - school - students | 13 | 93_classes_campus_teacher_school |
94 | breakfast - bacon - pancakes - omelet - pigs blanket | 13 | 94_breakfast_bacon_pancakes_omelet |
95 | cheesesteak - cheesesteaks - forefathers - wiz - philly | 12 | 95_cheesesteak_cheesesteaks_forefathers_wiz |
96 | yoga - studio - classes - class - instructors | 12 | 96_yoga_studio_classes_class |
97 | hummus - middle eastern - eastern - middle - baiz | 12 | 97_hummus_middle eastern_eastern_middle |
98 | japanese - tokyo - grazing - tokyo stop - bulgogi | 12 | 98_japanese_tokyo_grazing_tokyo stop |
99 | lux - coffee - espresso - love space - im | 12 | 99_lux_coffee_espresso_love space |
100 | staff - love place - generally - walk door - walk | 12 | 100_staff_love place_generally_walk door |
101 | paradise - wildflower - paradise bakery - bakery - potato cream | 11 | 101_paradise_wildflower_paradise bakery_bakery |
102 | ethiopian - injera - watt - lentils - ethiopian food | 11 | 102_ethiopian_injera_watt_lentils |
103 | groupon - chefs station - chef - ceremony - held | 11 | 103_groupon_chefs station_chef_ceremony |
104 | croissants - crepes - croissant - crepe - almond | 10 | 104_croissants_crepes_croissant_crepe |
</details>
Training hyperparameters
- calculate_probabilities: True
- language: english
- low_memory: False
- min_topic_size: 10
- n_gram_range: (1, 1)
- nr_topics: None
- seed_topic_list: None
- top_n_words: 10
- verbose: True
Framework versions
- Numpy: 1.22.4
- HDBSCAN: 0.8.29
- UMAP: 0.5.3
- Pandas: 1.5.3
- Scikit-Learn: 1.2.2
- Sentence-transformers: 2.2.2
- Transformers: 4.30.2
- Numba: 0.56.4
- Plotly: 5.13.1
- Python: 3.10.12