Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,16 +29,15 @@ for message in st.session_state.messages:
|
|
29 |
|
30 |
|
31 |
# Sidebar
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
# π Streamlit + Hugging Face Demo π€
|
36 |
|
37 |
-
|
38 |
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
|
43 |
|
44 |
option = st.sidebar.selectbox(
|
@@ -52,37 +51,36 @@ st.sidebar.write("---")
|
|
52 |
st.sidebar.markdown("Yiqiao Yin: [Site](https://www.y-yin.io/) | [LinkedIn](https://www.linkedin.com/in/yiqiaoyin/)")
|
53 |
|
54 |
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
To fine-tune LLM such as Llama2 on custom data, please use the following tutorials as resources. For the options above such as `Llama2 on YSA` and `Llama2 on BRK Letters`, they are developed based on the content of the following videos.
|
59 |
|
60 |
-
|
61 |
|
62 |
-
|
63 |
|
64 |
-
|
65 |
|
66 |
-
|
67 |
-
|
68 |
|
69 |
-
|
70 |
|
71 |
-
|
72 |
|
73 |
-
|
74 |
-
|
75 |
|
76 |
-
|
77 |
|
78 |
-
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
|
84 |
-
|
85 |
-
|
86 |
|
87 |
|
88 |
# Reset everything
|
|
|
29 |
|
30 |
|
31 |
# Sidebar
|
32 |
+
st.sidebar.markdown(
|
33 |
+
r"""
|
34 |
+
# π Streamlit + Hugging Face Demo π€
|
|
|
35 |
|
36 |
+
## Introduction π
|
37 |
|
38 |
+
This demo showcases how to interact with Large Language Models (LLMs) on Hugging Face using Streamlit.
|
39 |
+
"""
|
40 |
+
)
|
41 |
|
42 |
|
43 |
option = st.sidebar.selectbox(
|
|
|
51 |
st.sidebar.markdown("Yiqiao Yin: [Site](https://www.y-yin.io/) | [LinkedIn](https://www.linkedin.com/in/yiqiaoyin/)")
|
52 |
|
53 |
|
54 |
+
st.sidebar.markdown(
|
55 |
+
r"""
|
56 |
+
To fine-tune LLM such as Llama2 on custom data, please use the following tutorials as resources. For the options above such as `Llama2 on YSA` and `Llama2 on BRK Letters`, they are developed based on the content of the following videos.
|
|
|
57 |
|
58 |
+
## Video Series Overview
|
59 |
|
60 |
+
### Video 1: Process Your Own PDF Doc into LLM Finetune-Ready Format
|
61 |
|
62 |
+
Learn how to transform PDF documents into AI model fine-tuning ready formats. This video will take you through the steps to make your PDF data AI-ready.
|
63 |
|
64 |
+
- [Watch Video](https://youtu.be/hr2kSC1evQM)
|
65 |
+
- [Tutorial Notebook](https://github.com/yiqiao-yin/WYNAssociates/blob/main/docs/ref-deeplearning/ex24f%20-%20process%20custom%20data%20from%20pdf%20and%20push%20to%20huggingface%20to%20prep%20for%20fine%20tune%20task%20of%20llama%202%20using%20lora.ipynb)
|
66 |
|
67 |
+
### Video 2: Fine-tune Llama2-7b LLM Using Custom Data
|
68 |
|
69 |
+
Dive into customizing the Llama-2 model with your unique dataset. This installment turns your data into a bespoke AI model.
|
70 |
|
71 |
+
- [Watch Video](https://youtu.be/tDkY2gpvylE)
|
72 |
+
- [Guide to Fine-Tuning](https://github.com/yiqiao-yin/WYNAssociates/blob/main/docs/ref-deeplearning/ex24f%20-%20fine%20tune%20Llama%202%20using%20ysa%20data%20in%20colab.ipynb)
|
73 |
|
74 |
+
### Video 3: Deploy Inference Endpoint on HuggingFace!
|
75 |
|
76 |
+
Discover how to make your AI model accessible to the world by deploying it on HuggingFace. This video turns your project into a global phenomenon.
|
77 |
|
78 |
+
- [Watch Video](https://youtu.be/382yy-mCeCA)
|
79 |
+
- [Deployment Guide](https://github.com/yiqiao-yin/WYNAssociates/blob/main/docs/ref-deeplearning/ex24f%20-%20inference%20endpoint%20interaction%20from%20huggingface.ipynb)
|
80 |
+
- [HuggingFace Space](https://huggingface.co/spaces/eagle0504/streamlit-demo)
|
81 |
|
82 |
+
"""
|
83 |
+
)
|
84 |
|
85 |
|
86 |
# Reset everything
|