A small GPT-2 language model trained from scratch with Auto-PreTrain.
It is a standard
GPT2LMHeadModel
, so no custom code or
trust_remote_code
is needed.
Usage
from transformers import pipeline
generator = pipeline("text-generation", model="FlameF0X/arXivGPT")
print(generator("Once upon a time", max_new_tokens=50)[0]["generated_text"])
Model
Parameters
8,562,048
Layers / heads / hidden
8 / 8 / 128
FFN size
768
Context length
128
Activation
gelu_new
Dropout
0.1
Tied embeddings
True
Tokenizer
gpt2
(vocab 50257)
Training data
FlameF0X/arXiv-AI-ML
, split
train
, first 100,000 rows.
4,682 train, 247 eval examples (~630,912 tokens), packed into full-length blocks.
Training setup
Epochs / steps
5 / 2930
Batch size (x accumulation)
8 (x1)
Learning rate
0.0005 (cosine, warmup 0.05)
Weight decay
0.01
Precision
fp32
Seed
42
Device
CPU
Results
Metric
Value
train_loss
5.6627
eval_loss
5.1668
perplexity
175.36
Example output
Prompt:
Once upon a time
Once upon a time-of-art dataset, allowing the target model's number of the proposed method with the model's training-to-step and a single-training framework for our method. AB-based approach is an multi-based approach that generates a comprehensive
Limitations
This is a tiny model trained on a small data sample. Expect limited coherence and
factual accuracy, and it may reproduce biases present in the training data.
It is intended for experimentation and learning, not production use.
Runs of FlameF0X arXivGPT on huggingface.co
606
Total runs
22
24-hour runs
76
3-day runs
118
7-day runs
131
30-day runs
More Information About arXivGPT huggingface.co Model
arXivGPT huggingface.co
arXivGPT huggingface.co is an AI model on huggingface.co that provides arXivGPT's model effect (), which can be used instantly with this FlameF0X arXivGPT model. huggingface.co supports a free trial of the arXivGPT model, and also provides paid use of the arXivGPT. Support call arXivGPT model through api, including Node.js, Python, http.
arXivGPT huggingface.co is an online trial and call api platform, which integrates arXivGPT's modeling effects, including api services, and provides a free online trial of arXivGPT, you can try arXivGPT online for free by clicking the link below.
FlameF0X arXivGPT online free url in huggingface.co:
arXivGPT is an open source model from GitHub that offers a free installation service, and any user can find arXivGPT on GitHub to install. At the same time, huggingface.co provides the effect of arXivGPT install, users can directly use arXivGPT installed effect in huggingface.co for debugging and trial. It also supports api for free installation.