ProCreations commited on
Commit
37a709c
·
1 Parent(s): fdfa47d
Files changed (1) hide show
  1. my_text_to_text_dataset.py +5 -1
my_text_to_text_dataset.py CHANGED
@@ -7,7 +7,11 @@ def generate_text_to_text_data():
7
  # Your data generation logic here
8
  prompts = ["Tell a story about", "Describe a scene with", "Explain the concept of"]
9
 
10
- your_model = YourTextGenerationModel()
 
 
 
 
11
  generated_texts = [your_model.generate_text(prompt) for prompt in prompts]
12
 
13
  data = {
 
7
  # Your data generation logic here
8
  prompts = ["Tell a story about", "Describe a scene with", "Explain the concept of"]
9
 
10
+ vocab_size = 10000 # Replace with your actual vocabulary size
11
+ embedding_dim = 128 # Replace with your desired embedding dimension
12
+ hidden_dim = 256 # Replace with your desired hidden dimension
13
+
14
+ your_model = YourTextGenerationModel(vocab_size, embedding_dim, hidden_dim)
15
  generated_texts = [your_model.generate_text(prompt) for prompt in prompts]
16
 
17
  data = {