mwitiderrick commited on
Commit
fb0385b
·
1 Parent(s): 267ec00

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +44 -35
README.md CHANGED
@@ -11,38 +11,46 @@ prompt = "How to make banana bread?"
11
  formatted_prompt = f"<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n"
12
 
13
  model = TextGeneration(model="hf:nm-testing/TinyLlama-1.1B-Chat-v0.4-pruned50-quant")
14
- print(model(formatted_prompt, max_new_tokens=300).generations[0].text)
15
 
16
  """
17
- Banana bread is a delicious and healthy recipe that is easy to make. Here is a recipe for banana bread:
18
 
19
  Ingredients:
20
 
21
- 1. 15 bananas
22
- 2. 1 cup of mashed bananas
23
- 3. 1 cup of milk
24
- 4. 1 cup of eggs
25
- 5. 1 cup of sugar
26
- 6. 1 cup of flour
27
- 7. 1 teaspoon of baking powder
28
- 8. 1 teaspoon of baking sugar
29
- 9. 1 cup of whole wheat flour
30
- 10. 1 cup of whole wheat sugar
31
- 11. 1 cup of whole wheat flour
32
- 12. 1 cup of whole wheat flour
33
- 13. 1 cup of whole wheat flour
34
- 14. 1 cup of whole wheat flour
35
- 15. 1 cup of whole wheat flour
36
-
37
- Step 1: Preheat the oven to 325°F (164°C).
38
-
39
- Step 2: Grease a 10- to 12-inch (25- to 35-centimeter) round baking pan.
40
-
41
- Step 3: Add the ingredients for the batter.
42
-
43
- Step 4: Pour the batter into the prepared pan.
44
-
45
- Step 5
 
 
 
 
 
 
 
 
46
  """
47
  ```
48
  ```python
@@ -55,16 +63,17 @@ model = TextGeneration(model="hf:nm-testing/TinyLlama-1.1B-Chat-v0.4-pruned50-qu
55
  print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
56
 
57
  """
58
- There are several factors to consider when choosing a university:
 
 
 
 
 
 
59
 
60
- 1. Location: Where is the university located? Is it close to a city where you want to live?
61
- 2. Faculty: What faculty members are teaching at the university? Is there a specialty you want to pursue?
62
- 3. Tuition: How much does the university cost?
63
- 4. Amenities: What amenities does the university offer? Is there a library, a gym, or other resources?
64
- 5. Communication: How easy is it to get to campus? Is there a campus-wide bus system?
65
- 6. Jobs: What jobs are available at the university? Is there a job market?
66
 
67
- It's important to consider the location, faculty, and amenities when choosing a university. It's also important to research the job market and the salaries for jobs in the university. It's also important to research the job market and the
68
  """
69
  ```
70
  ## One-shot and Export
 
11
  formatted_prompt = f"<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n"
12
 
13
  model = TextGeneration(model="hf:nm-testing/TinyLlama-1.1B-Chat-v0.4-pruned50-quant")
14
+ print(model(formatted_prompt, max_new_tokens=500).generations[0].text)
15
 
16
  """
17
+ Banana bread is a delicious and easy-to-make recipe that is sure to please. Here is a recipe for making banana bread:
18
 
19
  Ingredients:
20
 
21
+ For the Banana Bread:
22
+
23
+ - 1 cup of sugar
24
+ - 1 cup of flour
25
+ - 1/2 cup of mashed bananas
26
+ - 1/4 cup of milk
27
+ - 1/2 cup of melted butter
28
+ - 1/4 cup of baking powder
29
+ - 1/4 cup of baking soda
30
+ - 1/4 cup of eggs
31
+ - 1/4 cup of milk
32
+ - 1/4 cup of sugar
33
+
34
+
35
+ Instructions:
36
+
37
+ 1. Preheat the oven to 325°F (160°C).
38
+ 2. In a large bowl, combine the sugar and flour.
39
+ 3. In a separate bow, combine the mashed bananas, milk, butter, baking powder, baking soda, milk, sugar.
40
+ 4. Add the bananas and milk into the flour-sugar mixture.
41
+ 5. Pour the milk into the bowl of the flour-sugar mixture.
42
+ 6. Pour the baking powder into the bowl of the flour-sugar mixture.
43
+ 7. Pour the mashed bananas into the bowl of the flour-sugar mixture.
44
+ 8. Add the eggs into the bowl of the flour-sugar mixture.
45
+ 9. Stir the mixture until it becomes a dough.
46
+ 10. Grease a 9-inch (23 cm) square pan.
47
+ 11. Pour the mixture into the pan.
48
+ 12. Bake the banana bread in the oven for 40 minutes.
49
+ 13. Remove the banana bread from the oven and cool it.
50
+ 14. Cut the bread into 16 pieces.
51
+ 15. Make the glaze:
52
+ 16. Sprinkle the sugar over the bread.
53
+ 17. Bake the bread in the oven for 30 minutes.
54
  """
55
  ```
56
  ```python
 
63
  print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
64
 
65
  """
66
+ There are many factors to consider when choosing a university. Here are some tips for getting into a good university:
67
+
68
+ 1. Research your options: Consider the schools in your area and the ones in your desired location. Research their reputation, tuition, and academic programs.
69
+
70
+ 2. Apply to multiple universities: Apply to multiple universities, ensuring that you are applying to the best option for you.
71
+
72
+ 3. Get a job: If you are applying to a university, you will need to find a job to support your studies. This will help you budget and manage your time.
73
 
74
+ 4. Get involved with your community: Your university will likely have a community of students and faculty. Engage with this community by volunteering, participating in clubs, and engaging with others in your community.
 
 
 
 
 
75
 
76
+ 5. Get involved with extracurricular activities: Universities often have many extracurricular activities, which can help you meet new people
77
  """
78
  ```
79
  ## One-shot and Export