Spaces:
Sleeping
Sleeping
umm-maybe
commited on
Commit
·
836e3d9
1
Parent(s):
ee7bc16
Add description and contact information
Browse files
app.py
CHANGED
|
@@ -69,8 +69,6 @@ def getTour(income,size,years,sex,edu,wrk):
|
|
| 69 |
return activity_list
|
| 70 |
|
| 71 |
with gr.Interface(fn=getTour, inputs=[
|
| 72 |
-
gr.Markdown("# Activity Sequence Modeling Using Transformers"),
|
| 73 |
-
gr.Markdown("This demo uses a GPT-2 model fine-tuned on activity sequences from the 2017 National Household Travel Survey (NHTS) to generate activity sequences for a given person. The model is trained to predict the next activity in a sequence given the previous activities, and is conditioned on person-level and household-level attributes."),
|
| 74 |
gr.Textbox(label="Annual Household Income (in dollars)"),
|
| 75 |
gr.Textbox(label="Household Size (number of people)"),
|
| 76 |
gr.Textbox(label="Traveler Age (years)"),
|
|
|
|
| 69 |
return activity_list
|
| 70 |
|
| 71 |
with gr.Interface(fn=getTour, inputs=[
|
|
|
|
|
|
|
| 72 |
gr.Textbox(label="Annual Household Income (in dollars)"),
|
| 73 |
gr.Textbox(label="Household Size (number of people)"),
|
| 74 |
gr.Textbox(label="Traveler Age (years)"),
|