Downloads · 30 days
10
1% of all-time downloads
UUFO-Aigis/PicoLAiNN-100M-SmallDataset
PicoLAiNN-100M-SmallDataset is a text generation model from UUFO-Aigis. Use it when you need the model to write or continue text. It is set up for transformers.
Hey there fellow researchers, developers, and AI enthusiasts! Today I'm releasing a smol open LLM. This is mainly just a test and I plan to release actually usable models in the near future.
Downloads · 30 days
10
1% of all-time downloads
All-time downloads
782
Public
Parameters
104M
208 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors207 MB · 99%
From the Hugging Face model README
Hey there fellow researchers, developers, and AI enthusiasts! Today I'm releasing a smol open LLM. This is mainly just a test and I plan to release actually usable models in the near future.
This specific version of Pico LAiNN was trained on just 8 billion tokens of the fineweb dataset.
To start using these models, you can simply load them via the Hugging Face transformers library:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
MODEL_NAME = "UUFO-Aigis/Pico-OpenLAiNN-100M" #Replace 100M with 250M or 500M if you prefer those models.
tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME)
model = AutoModelForCausalLM.from_pretrained(MODEL_NAME)
def generate_text(prompt, model, tokenizer, max_length=512, temperature=1, top_k=50, top_p=0.95):
inputs = tokenizer.encode(prompt, return_tensors="pt")
outputs = model.generate(
inputs,
max_length=max_length,
temperature=temperature,
top_k=top_k,
top_p=top_p,
do_sample=True
)
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
return generated_text
def main():
# Define your prompt
prompt = "According to all known laws of aviation, there is no way a bee should be able to fly."
generated_text = generate_text(prompt, model, tokenizer)
print(generated_text)
if __name__ == "__main__":
main()
| Tasks | Value | Stderr | |
|---|---|---|---|
| arc_challenge | 0.1826 | ± | 0.0113 |
| arc_easy | 0.3859 | ± | 0.0100 |
| boolq | 0.5804 | ± | 0.0086 |
| hellaswag | 0.2791 | ± | 0.0045 |
| lambada_openai | 0.2437 | ± | 0.0060 |
| piqa | 0.6159 | ± | 0.0113 |
| winogrande | 0.5067 | ± | 0.0141 |
If you find these models useful and decide to use these models, a link to this repository would be highly appreciated. I am a one man show running this. Thanks 🤗