Run this model with HF Jobs

Run suproteem/StoriesLM-v2-2021 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/suproteem/StoriesLM-v2-2021. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/suproteem/StoriesLM-v2-2021 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

StoriesLM: A Family of Language Models With Time-Indexed Training Data

StoriesLM-v2 is a family of 125 encoder-only language models trained on an expanding sequence of historical language data.

More details are available at suproteem.is/writing/storieslm.

Usage

from transformers import AutoTokenizer, AutoModelForMaskedLM

model_id = "suproteem/StoriesLM-v2-2021"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForMaskedLM.from_pretrained(model_id)
from transformers import pipeline

fill_mask = pipeline("fill-mask", model="suproteem/StoriesLM-v2-2021")
fill_mask("We walked back and [MASK].")

Citation

@article{sarkar2024storieslm,
  author = {Sarkar, Suproteem},
  title = {StoriesLM: A Family of Language Models With Time-Indexed Training Data},
  journal = {SSRN Electronic Journal},
  year = {2024},
  url = {https://ssrn.com/abstract=4881024}
}
Downloads last month
12
Safetensors
Model size
0.1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including suproteem/StoriesLM-v2-2021