Kakaarot commited on
Commit
0ce71c2
·
verified ·
1 Parent(s): 4b486c5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -0
README.md CHANGED
@@ -10,4 +10,38 @@ pinned: false
10
  short_description: Cool and Awesome initial prototype for GSOC Proposal
11
  ---
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
10
  short_description: Cool and Awesome initial prototype for GSOC Proposal
11
  ---
12
 
13
+ # Gemma Text Generator
14
+
15
+ A streamlined web application that leverages Google's Gemma-2B language model to generate text with customizable tones and parameters.
16
+
17
+ ## Overview
18
+
19
+ This project is a Streamlit-based web application that allows users to generate text using Google DeepMind's Gemma-2B language model. The application features an intuitive interface where users can input prompts, select different tones (Funny, Serious, or Poetic), and adjust various generation parameters to customize the output.
20
+
21
+ ## Features
22
+
23
+ - **Text Generation**: Generate text completions from user prompts
24
+ - **Tone Selection**: Choose from three different writing styles:
25
+ - Funny: Witty and humorous responses with unexpected twists
26
+ - Serious: Thoughtful and professional responses with logical reasoning
27
+ - Poetic: Vivid, lyrical responses with metaphors and imagery
28
+ - **Customizable Parameters**:
29
+ - Word count: Control the approximate length of generated text
30
+ - Temperature: Adjust the creativity and randomness
31
+ - Top-p (Nucleus Sampling): Control the diversity of outputs
32
+ - Repetition Penalty: Prevent repetitive phrases
33
+ - **Word Cloud Visualization**: See a visual representation of word frequency in the generated text
34
+ - **One-Click Examples**: Try pre-configured examples with a single click
35
+
36
+ ## Technology Stack
37
+
38
+ - **Streamlit**: Web application framework
39
+ - **Hugging Face Transformers**: Library for accessing pre-trained language models
40
+ - **Google Gemma-2B**: The underlying language model for text generation
41
+ - **PyTorch**: Deep learning framework
42
+ - **WordCloud**: Library for creating visual representations of text data
43
+ - **Matplotlib**: For visualizing the word cloud
44
+
45
+
46
+
47
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference