Instructions to use jaydeepb/pythia-1.4b-enron-run1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jaydeepb/pythia-1.4b-enron-run1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jaydeepb/pythia-1.4b-enron-run1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jaydeepb/pythia-1.4b-enron-run1") model = AutoModelForCausalLM.from_pretrained("jaydeepb/pythia-1.4b-enron-run1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jaydeepb/pythia-1.4b-enron-run1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jaydeepb/pythia-1.4b-enron-run1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jaydeepb/pythia-1.4b-enron-run1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jaydeepb/pythia-1.4b-enron-run1
- SGLang
How to use jaydeepb/pythia-1.4b-enron-run1 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "jaydeepb/pythia-1.4b-enron-run1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jaydeepb/pythia-1.4b-enron-run1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "jaydeepb/pythia-1.4b-enron-run1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jaydeepb/pythia-1.4b-enron-run1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jaydeepb/pythia-1.4b-enron-run1 with Docker Model Runner:
docker model run hf.co/jaydeepb/pythia-1.4b-enron-run1
pythia-1.4b-enron-run1
Pythia-1.4B fine-tuned for one epoch on a 1M-sequence (128-token) sample of Enron emails.
Paper: Predicting Memorization Before Fine-Tuning Language Models
Jaydeep Borkar, Niloofar Mireshghallah, and David A. Smith.
In Proceedings of The 20th Conference of the European Chapter of the Association for Computational Linguistics (EACL) 2027.
This is the Run 1 model from Predicting Memorization Before Fine-Tuning Language Models. We use the sequences it memorizes to train our classifier, which predicts memorization from the base model before fine-tuning.
- Base model, EleutherAI/pythia-1.4b
- Dataset, Enron emails (corbt/enron-emails)
- Training, 1 epoch, sequence length 128, learning rate 5e-5, cosine schedule
Citation
@misc{borkar2026predictingmemorizationfinetuninglanguage,
title={Predicting Memorization Before Fine-Tuning Language Models},
author={Jaydeep Borkar and Niloofar Mireshghallah and David A. Smith},
year={2026},
eprint={2611.38437},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2611.38437},
}
- Downloads last month
- 286
Model tree for jaydeepb/pythia-1.4b-enron-run1
Base model
EleutherAI/pythia-1.4b