Downloads · 30 days
23
0% of all-time downloads
pearsonkyle/gpt2-arxiv
gpt2-arxiv is a text generation model from pearsonkyle. Use it when you need the model to write or continue text. It is set up for transformers.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
23
0% of all-time downloads
All-time downloads
30.1K
Public
Repo size
1 GB
Likes
2
Public
Click a slice to open those files.
.bin510 MB · 99%
From the Hugging Face model README
A gpt2 powered predictive keyboard trained on ~1.6M manuscript abstracts from the ArXiv. This model uses https://www.kaggle.com/datasets/Cornell-University/arxiv
from transformers import pipeline
from transformers import GPT2TokenizerFast
tokenizer = GPT2TokenizerFast.from_pretrained("gpt2")
llm = pipeline('text-generation',model='pearsonkyle/gpt2-arxiv', tokenizer=tokenizer)
texts = llm("Directly imaged exoplanets probe",
max_length=50, do_sample=True, num_return_sequences=5,
penalty_alpha=0.65, top_k=40, repetition_penalty=1.25,
temperature=0.95)
for i in range(5):
print(texts[i]['generated_text']+'\n')
that large, deciduous forest fires are composed of mostly dry, unprocessed material that is distributed in a nearly patchy fashion. The distributions of these fires are correlated with temperature, and also with vegetation...the atmospheres of giant planets. The detection of such planets requires high-quality imaging with high contrast and angular resolution, as well asthe planetary conditions including atmospheric temperature and cloud properties, which is essential for understanding how the planet interacts with the atmosphere and how it affects the climate. The primary science objective of this paper is to develop a methodology that can be applied to any kind of observation and measurement data, and to provide a framework that enables the detection and characterization of the atmospheres of exoplanetsGPT-2: 12-layer, 768-hidden, 12-heads, 117M parameters
Coming soon...
Be careful when generating a lot of text or when changing the sampling mode of the language model. It can sometimes produce things that are not truthful, e.g.,
~49 hours on a 3090 training for 1.25M iterations
The following hyperparameters were used during training: