Text Generation
Transformers
Safetensors
English
gpt2
historical
1780-1830
time-locked
book-of-mormon-authorship
text-generation-inference
Instructions to use etherfuse/timelocked-1830-125m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use etherfuse/timelocked-1830-125m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="etherfuse/timelocked-1830-125m")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("etherfuse/timelocked-1830-125m") model = AutoModelForCausalLM.from_pretrained("etherfuse/timelocked-1830-125m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use etherfuse/timelocked-1830-125m with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "etherfuse/timelocked-1830-125m" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "etherfuse/timelocked-1830-125m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/etherfuse/timelocked-1830-125m
- SGLang
How to use etherfuse/timelocked-1830-125m 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 "etherfuse/timelocked-1830-125m" \ --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": "etherfuse/timelocked-1830-125m", "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 "etherfuse/timelocked-1830-125m" \ --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": "etherfuse/timelocked-1830-125m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use etherfuse/timelocked-1830-125m with Docker Model Runner:
docker model run hf.co/etherfuse/timelocked-1830-125m
Card brought up to date for the finished study: what was found, where to read it, how to use this
Browse files
README.md
CHANGED
|
@@ -6,15 +6,29 @@ pipeline_tag: text-generation
|
|
| 6 |
tags: [gpt2, historical, 1780-1830, time-locked, book-of-mormon-authorship]
|
| 7 |
---
|
| 8 |
|
| 9 |
-
# Time-locked English 1780-1830 (125M
|
| 10 |
|
| 11 |
A GPT-style language model trained from scratch **only on English printed 1780-1830**, with the
|
| 12 |
-
Book of Mormon and everything after 1830 left out. It is the
|
| 13 |
pre-registered study of the authorship, borrowing and dating of the earliest Book of Mormon text
|
| 14 |
(https://github.com/lifehug/book-of-mormon-authorship; pre-registration https://osf.io/6ugxc/).
|
| 15 |
The project does not argue for or against divine inspiration; the model exists to measure how
|
| 16 |
ordinary a passage was for its time.
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
## Use
|
| 19 |
|
| 20 |
```python
|
|
|
|
| 6 |
tags: [gpt2, historical, 1780-1830, time-locked, book-of-mormon-authorship]
|
| 7 |
---
|
| 8 |
|
| 9 |
+
# Time-locked English 1780-1830 (125M)
|
| 10 |
|
| 11 |
A GPT-style language model trained from scratch **only on English printed 1780-1830**, with the
|
| 12 |
+
Book of Mormon and everything after 1830 left out. It is the smallest of the three base models of an open,
|
| 13 |
pre-registered study of the authorship, borrowing and dating of the earliest Book of Mormon text
|
| 14 |
(https://github.com/lifehug/book-of-mormon-authorship; pre-registration https://osf.io/6ugxc/).
|
| 15 |
The project does not argue for or against divine inspiration; the model exists to measure how
|
| 16 |
ordinary a passage was for its time.
|
| 17 |
|
| 18 |
+
## The study and what it found
|
| 19 |
+
|
| 20 |
+
This is one of the models from a finished, open study of the English text of the Book of Mormon:
|
| 21 |
+
who writes like it, what it borrows, and when its language dates from.
|
| 22 |
+
|
| 23 |
+
- **The findings in plain words, with live charts:** https://lifehug.com/book-of-mormon
|
| 24 |
+
- **The paper, the code and every results file:** https://github.com/lifehug/book-of-mormon-authorship
|
| 25 |
+
|
| 26 |
+
In short: the book copies almost nothing from earlier print. Among the eight people usually
|
| 27 |
+
proposed as its author, the closest writing is Joseph Smith's revelations, and a search of 23,872
|
| 28 |
+
authors of the period puts those revelations first or second. No tool we found, ours included, can
|
| 29 |
+
tell a person from the voice they are writing in, or reliably say "it is none of these people".
|
| 30 |
+
The study takes no position on inspiration.
|
| 31 |
+
|
| 32 |
## Use
|
| 33 |
|
| 34 |
```python
|