adding-readme (#1)
Browse files- [DEV]: Adding README. (64402bfce229161ce91a550eef8f10a8f561b2f3)
README.md
CHANGED
@@ -1,3 +1,50 @@
|
|
1 |
---
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
thumbnail: "https://github.com/faGH/fa.creative/blob/master/Icons/FrostAura/FA%20Logo/FrostAura.Logo.Complex.png?raw=true"
|
5 |
+
tags:
|
6 |
+
- text-generation
|
7 |
+
- novel-generation
|
8 |
+
- fiction
|
9 |
+
- gpt-neo
|
10 |
+
- pytorch
|
11 |
+
license: "mit"
|
12 |
---
|
13 |
+
|
14 |
+
<p align="center">
|
15 |
+
<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">
|
16 |
+
</p>
|
17 |
+
|
18 |
+
# fa.intelligence.models.generative.novels.fiction
|
19 |
+
## Description
|
20 |
+
This FrostAura Intelligence model is a fine-tuned version of [EleutherAI/gpt-neo-1.3B](https://huggingface.co/EleutherAI/gpt-neo-1.3B) for fictional text content generation.
|
21 |
+
|
22 |
+
## Getting Started
|
23 |
+
### PIP Installation
|
24 |
+
```
|
25 |
+
pip install -U --no-cache-dir transformers
|
26 |
+
```
|
27 |
+
### Usage
|
28 |
+
```
|
29 |
+
from transformers import pipeline
|
30 |
+
|
31 |
+
model_name: str = 'EleutherAI/gpt-neo-1.3B'
|
32 |
+
generator: pipeline = pipeline('text-generation', model=model_name)
|
33 |
+
|
34 |
+
prompt: str = 'EleutherAI has'
|
35 |
+
gen_text: str = generator(prompt, do_sample=True, min_length=50)
|
36 |
+
|
37 |
+
print(f'Result: {gen_text}')
|
38 |
+
```
|
39 |
+
|
40 |
+
## Further Fine-Tuning
|
41 |
+
[in development](https://github.com/dredwardhyde/gpt-neo-fine-tuning-example/blob/main/gpt_neo.py)
|
42 |
+
|
43 |
+
## Support
|
44 |
+
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.
|
45 |
+
|
46 |
+
| Supported Platforms | Link |
|
47 |
+
| ------------------- | ---- |
|
48 |
+
| PayPal | [Donate via Paypal](https://www.paypal.com/donate/?hosted_button_id=SVEXJC9HFBJ72) |
|
49 |
+
|
50 |
+
For any queries, contact dean.martin@frostaura.net.
|