Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,12 @@ class ChatBot:
|
|
25 |
return self.history
|
26 |
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
st.set_page_config(layout="wide")
|
29 |
st.title("Yin's Profile π€")
|
30 |
|
@@ -51,6 +57,15 @@ with st.sidebar:
|
|
51 |
st.success("Example: What are some online links by Yiqiao I can read about?")
|
52 |
st.success("Example: What is Yiqiao's view on stock market?")
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
# Add a button to clear the session state
|
56 |
if st.button("Clear Session"):
|
@@ -73,11 +88,13 @@ for message in st.session_state.messages:
|
|
73 |
with st.chat_message(message["role"]):
|
74 |
st.markdown(message["content"])
|
75 |
|
|
|
76 |
yiqiaoyin_profile = f"""
|
77 |
Yin's Profile:
|
78 |
|
79 |
Full Name: Yiqiao Yin
|
80 |
Pronoun: He/Him
|
|
|
81 |
|
82 |
Yiqiao has been in the AI/ML space since 2015, leading all forms of AI-backed solutions including but not limited to Computer Vision, Natural Language Models (NLP), and most recently Large Language Models (LLMs) and Generative AI. He is currently a Tech Lead at Vertex Inc, a global leading provider of tax technologies ππ». Previously, he was a Senior ML Engineer at an S&P 500 company, LabCorp, developing AI-driven solutions π§ π» in drug diagnostics, drug development, operations management, and financial decisions for our global leaders in life sciences ππ¬ (see Labcorp SEC filings here). He has also held positions such as enterprise-level Data Scientist at Bayer (a EURO STOXX 50 company), Quantitative Researcher (apprenticeship) at AQR (a global hedge fund pioneering in alternative quantitative strategies to portfolio management and factor-based trading), and Equity Trader at T3 Trading on Wall Street (where I was briefly licensed Series 56 by FINRA). He supervises a small fund specializing in algorithmic trading (since 2011, performance is here) in equity market, cryptocurrencies, and real estate investment. He also runs his own monetized YouTube Channel. Feel free to add me on LinkedIn. ππ
|
83 |
|
|
|
25 |
return self.history
|
26 |
|
27 |
|
28 |
+
# Credit: Time
|
29 |
+
def current_year():
|
30 |
+
now = datetime.now()
|
31 |
+
return now
|
32 |
+
|
33 |
+
|
34 |
st.set_page_config(layout="wide")
|
35 |
st.title("Yin's Profile π€")
|
36 |
|
|
|
57 |
st.success("Example: What are some online links by Yiqiao I can read about?")
|
58 |
st.success("Example: What is Yiqiao's view on stock market?")
|
59 |
|
60 |
+
# Credit:
|
61 |
+
current_year = current_year().year # This will print the current year
|
62 |
+
st.markdown(
|
63 |
+
f"""
|
64 |
+
<h6 style='text-align: left;'>Copyright Β© 2010-{current_year} Present Yiqiao Yin</h6>
|
65 |
+
""",
|
66 |
+
unsafe_allow_html=True,
|
67 |
+
)
|
68 |
+
|
69 |
|
70 |
# Add a button to clear the session state
|
71 |
if st.button("Clear Session"):
|
|
|
88 |
with st.chat_message(message["role"]):
|
89 |
st.markdown(message["content"])
|
90 |
|
91 |
+
time_now = current_year()
|
92 |
yiqiaoyin_profile = f"""
|
93 |
Yin's Profile:
|
94 |
|
95 |
Full Name: Yiqiao Yin
|
96 |
Pronoun: He/Him
|
97 |
+
Current time: {time_now}
|
98 |
|
99 |
Yiqiao has been in the AI/ML space since 2015, leading all forms of AI-backed solutions including but not limited to Computer Vision, Natural Language Models (NLP), and most recently Large Language Models (LLMs) and Generative AI. He is currently a Tech Lead at Vertex Inc, a global leading provider of tax technologies ππ». Previously, he was a Senior ML Engineer at an S&P 500 company, LabCorp, developing AI-driven solutions π§ π» in drug diagnostics, drug development, operations management, and financial decisions for our global leaders in life sciences ππ¬ (see Labcorp SEC filings here). He has also held positions such as enterprise-level Data Scientist at Bayer (a EURO STOXX 50 company), Quantitative Researcher (apprenticeship) at AQR (a global hedge fund pioneering in alternative quantitative strategies to portfolio management and factor-based trading), and Equity Trader at T3 Trading on Wall Street (where I was briefly licensed Series 56 by FINRA). He supervises a small fund specializing in algorithmic trading (since 2011, performance is here) in equity market, cryptocurrencies, and real estate investment. He also runs his own monetized YouTube Channel. Feel free to add me on LinkedIn. ππ
|
100 |
|