Downloads · 30 days
169
12% of all-time downloads
FrostAura/gpt-neox-20b-fiction-novel-generation
gpt-neox-20b-fiction-novel-generation is a text generation model from FrostAura. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
<p align="center" <img src="https://github.com/faGH/fa.creative/blob/master/Icons/FrostAura/FA%20Logo/FrostAura.Logo.Complex.png?raw=true" width="75" title="hover text" </p
Downloads · 30 days
169
12% of all-time downloads
All-time downloads
1.5K
Public
Repo size
82.6 GB
Likes
11
Public
Click a slice to open those files.
.bin41.3 GB · 100%
From the Hugging Face model README
This FrostAura Intelligence model is a fine-tuned version of EleutherAI/gpt-neox-20b for fictional text content generation.
pip install -U --no-cache-dir transformers
from transformers import GPTNeoXForCausalLM, GPTNeoXTokenizerFast
model_name = 'FrostAura/gpt-neox-20b-fiction-novel-generation'
model = GPTNeoXForCausalLM.from_pretrained(model_name)
tokenizer = GPTNeoXTokenizerFast.from_pretrained(model_name)
prompt = 'GPTNeoX20B is a 20B-parameter autoregressive Transformer model developed by EleutherAI.'
input_ids = tokenizer(prompt, return_tensors="pt").input_ids
gen_tokens = model.generate(
input_ids,
do_sample=True,
temperature=0.9,
max_length=100,
)
gen_text = tokenizer.batch_decode(gen_tokens)[0]
print(f'Result: {gen_text}')
in development
If you enjoy FrostAura open-source content and would like to support us in continuous delivery, please consider a donation via a platform of your choice.
| Supported Platforms | Link |
|---|---|
| PayPal | Donate via Paypal |
For any queries, contact [email protected].