Update README.md
Browse files
README.md
CHANGED
|
@@ -7,10 +7,6 @@ widget:
|
|
| 7 |
- text: "My dream is"
|
| 8 |
---
|
| 9 |
|
| 10 |
-
<link rel="stylesheet" href="https://unpkg.com/@tailwindcss/typography@0.2.x/dist/typography.min.css">
|
| 11 |
-
|
| 12 |
-
<section class='prose'>
|
| 13 |
-
|
| 14 |
<div>
|
| 15 |
<div style="width: 132px; height:132px; border-radius: 50%; background-size: cover; background-image: url('http://pbs.twimg.com/profile_images/1152601773330370560/UhVRDMyp_400x400.jpg')">
|
| 16 |
</div>
|
|
@@ -34,24 +30,24 @@ To understand how the model was developed, check the [W&B report](https://bit.ly
|
|
| 34 |
|
| 35 |
The model was trained on [@borisdayma's tweets](https://twitter.com/borisdayma).
|
| 36 |
|
| 37 |
-
| Data | Quantity
|
| 38 |
|-------------------|--------------|
|
| 39 |
-
| Tweets downloaded |
|
| 40 |
-
| Retweets | 38
|
| 41 |
| Short tweets | 3 |
|
| 42 |
-
| Tweets kept |
|
| 43 |
|
| 44 |
-
[Explore the data](https://app.wandb.ai/wandb/huggingtweets-dev/runs/
|
| 45 |
|
| 46 |
## Training procedure
|
| 47 |
|
| 48 |
The model is based on a pre-trained [GPT-2](https://huggingface.co/gpt2) which is fine-tuned on @borisdayma's tweets.
|
| 49 |
|
| 50 |
-
Hyperparameters and metrics are recorded in the [W&B training run](https://app.wandb.ai/wandb/huggingtweets-dev/runs/
|
| 51 |
|
| 52 |
## Intended uses & limitations
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
You can use this model directly with a pipeline for text generation:
|
| 57 |
|
|
@@ -62,7 +58,7 @@ generator = pipeline('text-generation',
|
|
| 62 |
generator("My dream is", max_length=50, num_return_sequences=5)
|
| 63 |
```
|
| 64 |
|
| 65 |
-
|
| 66 |
|
| 67 |
The model suffers from [the same limitations and bias as GPT-2](https://huggingface.co/gpt2#limitations-and-bias).
|
| 68 |
|
|
@@ -72,12 +68,8 @@ In addition, the data present in the user's tweets further affects the text gene
|
|
| 72 |
|
| 73 |
*Built by Boris Dayma*
|
| 74 |
|
| 75 |
-
</section>
|
| 76 |
-
|
| 77 |
[](https://twitter.com/borisdayma)
|
| 78 |
|
| 79 |
-
<section class='prose'>
|
| 80 |
For more details, visit the project repository.
|
| 81 |
-
</section>
|
| 82 |
|
| 83 |
-
[](https://github.com/borisdayma/huggingtweets)
|
|
|
|
| 7 |
- text: "My dream is"
|
| 8 |
---
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
<div>
|
| 11 |
<div style="width: 132px; height:132px; border-radius: 50%; background-size: cover; background-image: url('http://pbs.twimg.com/profile_images/1152601773330370560/UhVRDMyp_400x400.jpg')">
|
| 12 |
</div>
|
|
|
|
| 30 |
|
| 31 |
The model was trained on [@borisdayma's tweets](https://twitter.com/borisdayma).
|
| 32 |
|
| 33 |
+
| Data | Quantity |
|
| 34 |
|-------------------|--------------|
|
| 35 |
+
| Tweets downloaded | 230 |
|
| 36 |
+
| Retweets | 38 |
|
| 37 |
| Short tweets | 3 |
|
| 38 |
+
| Tweets kept | 189 |
|
| 39 |
|
| 40 |
+
[Explore the data](https://app.wandb.ai/wandb/huggingtweets-dev/runs/2lcq73t9/artifacts), which is tracked with [W&B artifacts](https://docs.wandb.com/artifacts) at every step of the pipeline.
|
| 41 |
|
| 42 |
## Training procedure
|
| 43 |
|
| 44 |
The model is based on a pre-trained [GPT-2](https://huggingface.co/gpt2) which is fine-tuned on @borisdayma's tweets.
|
| 45 |
|
| 46 |
+
Hyperparameters and metrics are recorded in the [W&B training run](https://app.wandb.ai/wandb/huggingtweets-dev/runs/wd7j7n2s) for full transparency and reproducibility.
|
| 47 |
|
| 48 |
## Intended uses & limitations
|
| 49 |
|
| 50 |
+
#### How to use
|
| 51 |
|
| 52 |
You can use this model directly with a pipeline for text generation:
|
| 53 |
|
|
|
|
| 58 |
generator("My dream is", max_length=50, num_return_sequences=5)
|
| 59 |
```
|
| 60 |
|
| 61 |
+
#### Limitations and bias
|
| 62 |
|
| 63 |
The model suffers from [the same limitations and bias as GPT-2](https://huggingface.co/gpt2#limitations-and-bias).
|
| 64 |
|
|
|
|
| 68 |
|
| 69 |
*Built by Boris Dayma*
|
| 70 |
|
|
|
|
|
|
|
| 71 |
[](https://twitter.com/borisdayma)
|
| 72 |
|
|
|
|
| 73 |
For more details, visit the project repository.
|
|
|
|
| 74 |
|
| 75 |
+
[](https://github.com/borisdayma/huggingtweets)
|