Downloads · 30 days
2
8% of all-time downloads
Oxpose/Planck-OpenLAiNN-10M-Cust
Planck-OpenLAiNN-10M-Cust is a machine learning model from Oxpose. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Hey there fellow researchers, developers, and AI enthusiasts! Today I'm releasing a new family of Models, Planck LAiNN, These are probably some of the smallest LLMs that are on HF. They aren't super useful but it was…
Downloads · 30 days
2
8% of all-time downloads
All-time downloads
26
Public
Parameters
13M
26.5 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors26 MB · 91%
From the Hugging Face model README
Hey there fellow researchers, developers, and AI enthusiasts! Today I'm releasing a new family of Models, Planck LAiNN, These are probably some of the smallest LLMs that are on HF. They aren't super useful but it was a fun expierment!~
These are the GGUF quants of the models. For the original models, you can find them here.
Plank-OpenLAiNN was trained on 32B tokens of the Fineweb dataset, it's the same one that was used for the Pico-LAiNN family of models. The model was pretrained with a context length of 1024 tokens.
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/Panck-OpenLAiNN-10M"
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.1766 | ± | 0.0111 |
| arc_easy | 0.3144 | ± | 0.0095 |
| boolq | 0.5847 | ± | 0.0086 |
| hellaswag | 0.2622 | ± | 0.0044 |
| lambada_openai | 0.0047 | ± | 0.0009 |
| piqa | 0.5718 | ± | 0.0115 |
| winogrande | 0.4957 | ± | 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 and I'm doing this for free, Thanks 🤗
If you have questions, Please reach out to me at [email protected]
<p align="center"> <img src="UUFO.png" alt="U.U.F.O Research Logo" width="250"/> </p>