Sagar Desai commited on
Commit
0f0093d
·
1 Parent(s): 7675310

added info to info file

Browse files
Files changed (2) hide show
  1. pages/Intro.py +0 -34
  2. pages/info.py +39 -0
pages/Intro.py DELETED
@@ -1,34 +0,0 @@
1
- import os
2
- import streamlit as st
3
-
4
- st.title("Intro")
5
-
6
- st.write("")
7
- st.write("")
8
-
9
- st.subheader("Available Models")
10
- st.markdown(
11
- "Random Model - generates the name randomly"
12
- )
13
- st.markdown(
14
- "Bigram model - character level model, 2 character understanding"
15
- )
16
-
17
- st.markdown(
18
- "[repo link](https://github.com/SDcodehub/make_over.git)"
19
- )
20
-
21
- st.markdown(
22
- "[Dataset](https://github.com/SDcodehub/make_over/blob/main/data/names.txt)"
23
- )
24
-
25
-
26
- st.subheader("Ref")
27
- st.markdown(
28
- "https://youtu.be/PaCmpygFfXo?si=MjyUM2oBykhJNuy1"
29
- )
30
-
31
- st.subheader("Credit to")
32
- st.markdown(
33
- "Andrej Karpathy"
34
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
pages/info.py ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import streamlit as st
3
+
4
+ st.title("Name Generation Application")
5
+
6
+ st.write("Welcome to the Name Generation Application! This application allows you to generate names using a character-level language model. There are two models available for experimentation: the Random Model and the Bigram Model.")
7
+
8
+ st.subheader("Available Models")
9
+ st.markdown("Random Model - generates the name randomly")
10
+ st.markdown("Bigram Model - character level model, 2 character understanding")
11
+
12
+ st.subheader("Getting Started")
13
+ st.write("To get started with the Name Generation Application, follow these steps:")
14
+ st.write("1. Clone the repository to your local machine.")
15
+ st.write("2. Install the required dependencies by running:")
16
+ st.code("pip install -r requirements.txt")
17
+ st.write("3. Run the Streamlit application:")
18
+ st.code("streamlit run Name_Generator.py")
19
+ st.write("4. The application will open in your default web browser, and you can start generating names using the available models.")
20
+
21
+ st.subheader("Usage")
22
+ st.write("Once you have the application up and running, you can experiment with the two available models: [model](https://huggingface.co/spaces/sagarsdesai/make_more)")
23
+ st.markdown("### Random Model")
24
+ st.write("1. Select the 'Random Model' option.")
25
+ st.write("2. Adjust any desired settings, such as number of output names.")
26
+ st.write("3. Click the 'Generate' button to generate a random name.")
27
+ st.write("### Bigram Model")
28
+ st.write("1. Select the 'Bigram Model' option from the navigation menu.")
29
+ st.write("2. Adjust any desired settings, such as number of output names.")
30
+ st.write("4. Click the 'Generate' button to generate a name using the Bigram Model.")
31
+
32
+ st.subheader("Dataset")
33
+ st.write("The Bigram Model is trained on a dataset comprising 32,033 input names. These names have been carefully selected to cover a diverse range of styles and origins. The model has learned from this dataset to generate names that exhibit characteristics observed during training.")
34
+ st.markdown("[Dataset](https://github.com/SDcodehub/make_over/blob/main/data/names.txt)")
35
+
36
+ st.subheader("Acknowledgments")
37
+ st.write("Special thanks to Andrej Karpathy for providing a great series of language model explanation videos. [ref](https://youtu.be/PaCmpygFfXo?si=MjyUM2oBykhJNuy1)")
38
+ st.write("Thanks to the Hugging Face team for providing free hosting.")
39
+ st.write("Feel free to explore and experiment with the Name Generation Application. We hope you enjoy generating creative and inspiring names with our models!")