Boris Dayma
commited on
Commit
•
193467a
1
Parent(s):
1b8a254
Update README.md
Browse filesRemove custom style
README.md
CHANGED
@@ -7,22 +7,12 @@ widget:
|
|
7 |
- text: "My dream is"
|
8 |
---
|
9 |
|
10 |
-
<link rel="stylesheet" href="https://unpkg.com/@tailwindcss/[email protected]/dist/typography.min.css">
|
11 |
-
|
12 |
-
<style>
|
13 |
-
@media (prefers-color-scheme: dark) {
|
14 |
-
.prose { color: #E2E8F0 !important; }
|
15 |
-
.prose h2, .prose h3, .prose a, .prose thead { color: #F7FAFC !important; }
|
16 |
-
}
|
17 |
-
</style>
|
18 |
-
|
19 |
-
<section class='prose'>
|
20 |
|
21 |
<div>
|
22 |
<div style="width: 132px; height:132px; border-radius: 50%; background-size: cover; background-image: url('https://pbs.twimg.com/profile_images/874276197357596672/kUuht00m_400x400.jpg')">
|
23 |
</div>
|
24 |
<div style="margin-top: 8px; font-size: 19px; font-weight: 800">Donald J. Trump 🤖 AI Bot </div>
|
25 |
-
<div style="font-size: 15px
|
26 |
</div>
|
27 |
|
28 |
I was made with [huggingtweets](https://github.com/borisdayma/huggingtweets).
|
@@ -41,32 +31,12 @@ To understand how the model was developed, check the [W&B report](https://app.wa
|
|
41 |
|
42 |
The model was trained on [@realdonaldtrump's tweets](https://twitter.com/realdonaldtrump).
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
</thead>
|
51 |
-
<tbody style='border-width:0'>
|
52 |
-
<tr style='border-width:0 0 1px 0; border-color: #E2E8F0'>
|
53 |
-
<td style='border-width:0'>Tweets downloaded</td>
|
54 |
-
<td style='border-width:0'>2195</td>
|
55 |
-
</tr>
|
56 |
-
<tr style='border-width:0 0 1px 0; border-color: #E2E8F0'>
|
57 |
-
<td style='border-width:0'>Retweets</td>
|
58 |
-
<td style='border-width:0'>716</td>
|
59 |
-
</tr>
|
60 |
-
<tr style='border-width:0 0 1px 0; border-color: #E2E8F0'>
|
61 |
-
<td style='border-width:0'>Short tweets</td>
|
62 |
-
<td style='border-width:0'>364</td>
|
63 |
-
</tr>
|
64 |
-
<tr style='border-width:0'>
|
65 |
-
<td style='border-width:0'>Tweets kept</td>
|
66 |
-
<td style='border-width:0'>1115</td>
|
67 |
-
</tr>
|
68 |
-
</tbody>
|
69 |
-
</table>
|
70 |
|
71 |
[Explore the data](https://wandb.ai/wandb/huggingtweets/runs/1zmvkb6j/artifacts), which is tracked with [W&B artifacts](https://docs.wandb.com/artifacts) at every step of the pipeline.
|
72 |
|
@@ -84,10 +54,12 @@ At the end of training, [the final model](https://wandb.ai/wandb/huggingtweets/r
|
|
84 |
|
85 |
You can use this model directly with a pipeline for text generation:
|
86 |
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
|
|
|
|
91 |
|
92 |
|
93 |
### Limitations and bias
|
|
|
7 |
- text: "My dream is"
|
8 |
---
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
<div>
|
12 |
<div style="width: 132px; height:132px; border-radius: 50%; background-size: cover; background-image: url('https://pbs.twimg.com/profile_images/874276197357596672/kUuht00m_400x400.jpg')">
|
13 |
</div>
|
14 |
<div style="margin-top: 8px; font-size: 19px; font-weight: 800">Donald J. Trump 🤖 AI Bot </div>
|
15 |
+
<div style="font-size: 15px">@realdonaldtrump bot</div>
|
16 |
</div>
|
17 |
|
18 |
I was made with [huggingtweets](https://github.com/borisdayma/huggingtweets).
|
|
|
31 |
|
32 |
The model was trained on [@realdonaldtrump's tweets](https://twitter.com/realdonaldtrump).
|
33 |
|
34 |
+
| Data | Quantity |
|
35 |
+
| ---- | -------- |
|
36 |
+
| Tweets downloaded | 2195 |
|
37 |
+
| Retweets | 716 |
|
38 |
+
| Short tweets | 364 |
|
39 |
+
| Tweets kept | 1115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
[Explore the data](https://wandb.ai/wandb/huggingtweets/runs/1zmvkb6j/artifacts), which is tracked with [W&B artifacts](https://docs.wandb.com/artifacts) at every step of the pipeline.
|
42 |
|
|
|
54 |
|
55 |
You can use this model directly with a pipeline for text generation:
|
56 |
|
57 |
+
```python
|
58 |
+
from transformers import pipeline
|
59 |
+
generator = pipeline('text-generation',
|
60 |
+
model='huggingtweets/realdonaldtrump')
|
61 |
+
generator("My dream is", num_return_sequences=5)
|
62 |
+
```
|
63 |
|
64 |
|
65 |
### Limitations and bias
|