Downloads · 30 days
19
3% of all-time downloads
linkanjarad/Bloom-Alpaca-560m
Bloom-Alpaca-560m is a text generation model from linkanjarad. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as bigscience-bloom-rail-1.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
19
3% of all-time downloads
All-time downloads
710
Public
Repo size
4.5 GB
Likes
1
Public
Click a slice to open those files.
.bin2.2 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of bigscience/bloom-560m on the tatsu-lab/alpaca dataset. This is a test to check if the concept of Databrick's databricks/dolly-v1-6b can be applied to smaller models.
This is an LLM trained to follow instructions, similar to ChatGPT, except much much smaller.
from transformers import pipeline
generator = pipeline('text-generation', model='linkanjarad/Bloom-Alpaca-560m')
prompt = '''### Instruction:
Who is the first person on the moon?
### Response:'''
output = generator(prompt, do_sample=True, min_length=10, max_length=50, temperature=0.5)
print(output[0]['generated_text'])
The model works best when given input in the format of the dataset it was trained on. Here is an example of the format of the tatsu-lab/alpaca dataset:
### Instruction:
What are the three primary colors?
### Response:
The three primary colors are red, blue, and yellow.
Here are a few sample model outputs:
### Instruction:
Write a poem about pancakes in the style of Dr. Suess.
### Response:
Gently bake the delicious cup of pancake goodness away
In the sweet light of a sunken window
Stay away from those who take it for granted
The magic of those who will bake and preserve
The sweetness of baked pancakes.
Once more I'm gonna bake my dreams for ever
No matter what my journey might bring
No matter how hard I come
### Instruction:
Generate a program in Python to generate prime numbers.
### Response:
"""
Generate a program in Python to generate prime numbers.
"""
import random
import math
import math.exp
def generate_primes():
m = random.randint(1, 10)
result = random.randint(1, 10)
for i in range(m):
result = generate_primes()
if result == result:
break
return result
### Instruction:
How was the steam engine invented?
### Response:
The steam engine was invented by William George Taylor, a French engineer and inventor who used the technology of steam turbines to create engines. Taylor first designed a turbine that used a rotating disc with a spiral gear that accelerated the air through an annular passage. By expanding the annular passage, Taylor's turbine gained power and became a powerful engine. Taylor then used the spiral gear to create a turbine that drove a rail with a
### Instruction:
Generate a list of marketing strategies to promote a new mobile app.
### Response:
1. Create a campaign to promote the app's launch.
2. Provide a promotional video and posters.
3. Create a mobile app store campaign.
4. Publish a newsletter to attract potential customers.
5. Make a list of key features of the app.
6. Establish a referral program.
7. Attend marketing conferences and events.
8. Participate in customer surveys.
9. Offer loyalty rewards and discounts.
10. Utilize social media to promote the app.
11. Create a user-friendly advertising campaign.
12. Utilize social media to promote the app.
The model was trained with Huggingface's 🤗 Trainer for about 1 epoch.
The following hyperparameters were used during training: