Downloads · 30 days
9
21% of all-time downloads
eyad-silx/Quasar-Tiny
Quasar-Tiny is a machine learning model from eyad-silx. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a distilled version of the Quasar Language Model with Parameter Memory Bank and Liquid Neural Networks, featuring true infinite context window capability.
Downloads · 30 days
9
21% of all-time downloads
All-time downloads
42
Public
Parameters
211M
4.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors845 MB · 99%
How the weights are stored.
F32211M · 100%
From the Hugging Face model README
This is a distilled version of the Quasar Language Model with Parameter Memory Bank and Liquid Neural Networks, featuring true infinite context window capability.
The Quasar Language Model combines Liquid Neural Networks with a Parameter Memory Bank for unlimited context processing. Key features:
from transformers import AutoTokenizer
from quasar_lm_100m import QuasarLM100M
import torch
# Load tokenizer and model
tokenizer = AutoTokenizer.from_pretrained("eyad-silx/Quasar-Tiny")
model = QuasarLM100M.from_pretrained("eyad-silx/Quasar-Tiny")
# Generate text
prompt = "The history of artificial intelligence"
prompt_ids = tokenizer.encode(prompt, return_tensors='pt')
output_ids = model.generate(prompt_ids, max_length=100)
generated_text = tokenizer.decode(output_ids[0], skip_special_tokens=True)
print(generated_text)