Downloads · 30 days
7
21% of all-time downloads
yungisimon/lfm_offigiri_merge_task_epoch_10
lfm_offigiri_merge_task_epoch_10 is a machine learning model from yungisimon. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model was trained using the MAM (Memory As a Model) framework, which uses a small model as parametric memory instead of traditional RAG's non-parametric datastore.
Downloads · 30 days
7
21% of all-time downloads
All-time downloads
34
Public
Parameters
1.2B
4.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.3 GB · 100%
From the Hugging Face model README
This model was trained using the MAM (Memory As a Model) framework, which uses a small model as parametric memory instead of traditional RAG's non-parametric datastore.
The model was trained on academic papers, learning to build connections between concepts across different chunks/papers.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("yungisimon/lfm_offigiri_paper_1_epoch_10")
tokenizer = AutoTokenizer.from_pretrained("yungisimon/lfm_offigiri_paper_1_epoch_10")
# Example: Query the model's accumulated knowledge
prompt = "What is the relationship between attention mechanisms and memory?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
If you use this model, please cite the MAM paper.