A fine-tuned
roberta-base
model for
trip-related multi-class text classification
.
This model predicts the most likely
location or service
a user is referring to in a sentence, based on intent and context.
Note: Scores based on evaluation with a custom validation set.
๐ Dataset
Custom dataset containing user queries labeled with categories like:
pharmacy
restaurant
bus station
hotel
gym
... and 80+ more classes
Each row in the training data contains:
sentence
: user query
category
: true label
๐ง How to Use
from transformers import pipeline # ๐ค Load the Hugging Face Transformers pipeline# ๐งญ Load the custom RoBERTa model for trip-related location/service classification
classifier = pipeline("text-classification", model="boltuix/bert-trip-classification")
# ๐ฃ๏ธ User wants to work out โ let's classify the intent!
result = classifier("i wanna to work out") # ๐ช Should predict something like "gym"print(result) # ๐จ๏ธ Output: [{'label': 'gym', 'score': 0.9999}]
๐๏ธ Categories with Emoji
Label ID
Category
Emoji
0
airport
โ๏ธ
1
amusement park
๐ข
2
aquarium
๐
3
art gallery
๐ผ๏ธ
4
atm
๐ง
5
auto dealership
๐
6
auto repair shop
๐ง
7
bakery
๐ฅ
8
bank
๐ฆ
9
barber shop
๐
10
beach
๐๏ธ
11
bowling alley
๐ณ
12
bus station
๐
13
butcher shop
๐ฅฉ
14
cafe
โ
15
car rental
๐
16
car wash
๐งฝ
17
church
โช
18
clinic
๐ฅ
19
coffee shop
๐ง
20
convenience store
๐ช
21
cooking school
๐จโ๐ณ
22
copy center
๐จ๏ธ
23
courier service
๐ฆ
24
craft store
๐จ
25
dance studio
๐
26
dentist
๐ฆท
27
dry cleaner
๐งบ
28
electrician
๐ก
29
electronics store
๐ฑ
30
fire station
๐
31
florist
๐บ
32
flower shop
๐ธ
33
furniture store
๐ช
34
gaming center
๐ฎ
35
gardening service
๐ชด
36
gift shop
๐
37
grocery store
๐
38
gym
๐๏ธ
39
handyman
๐ ๏ธ
40
hardware store
๐ฉ
41
hospital
๐ฅ
42
hotel
๐จ
43
house cleaning
๐งน
44
jewelry store
๐
45
laundromat
๐
46
lawyer
โ๏ธ
47
library
๐
48
locksmith
๐
49
market
๐งบ
50
movie theater
๐ฌ
51
moving company
๐
52
museum
๐๏ธ
53
music school
๐ผ
54
music store
๐ต
55
night club
๐บ
56
nursery
๐งธ
57
park
๐ณ
58
pet grooming
โ๏ธ๐ถ
59
pet store
๐พ
60
pharmacy
๐
61
photography studio
๐ท
62
physiotherapist
๐ง
63
piercing shop
๐
64
plumbing service
๐ฐ
65
police station
๐
66
public library
๐๏ธ
67
public restroom
๐ป
68
restaurant
๐ฝ๏ธ
69
roofing contractor
๐
70
shipping center
๐
71
shoe store
๐
72
shopping mall
๐๏ธ
73
skating rink
โธ๏ธ
74
spa
๐
75
sport store
๐
76
stadium
๐๏ธ
77
stationary store
๐๏ธ
78
storage facility
๐ฆ
79
swimming pool
๐
80
tailor
๐ชก
81
tire shop
๐
82
tourist attraction
๐ธ
83
toy store
๐งธ
84
train station
๐
85
travel agency
๐
86
wine shop
๐ท
87
yoga studio
๐ง
88
zoo
๐ฆ
Runs of boltuix bert-trip-classification on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About bert-trip-classification huggingface.co Model
bert-trip-classification huggingface.co is an AI model on huggingface.co that provides bert-trip-classification's model effect (), which can be used instantly with this boltuix bert-trip-classification model. huggingface.co supports a free trial of the bert-trip-classification model, and also provides paid use of the bert-trip-classification. Support call bert-trip-classification model through api, including Node.js, Python, http.
bert-trip-classification huggingface.co is an online trial and call api platform, which integrates bert-trip-classification's modeling effects, including api services, and provides a free online trial of bert-trip-classification, you can try bert-trip-classification online for free by clicking the link below.
boltuix bert-trip-classification online free url in huggingface.co:
bert-trip-classification is an open source model from GitHub that offers a free installation service, and any user can find bert-trip-classification on GitHub to install. At the same time, huggingface.co provides the effect of bert-trip-classification install, users can directly use bert-trip-classification installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
bert-trip-classification install url in huggingface.co: