system HF staff commited on
Commit
afddfa1
1 Parent(s): f61a908

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -11
README.md CHANGED
@@ -9,6 +9,13 @@ widget:
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>
@@ -44,7 +51,7 @@ The model was trained on [@borisdayma's tweets](https://twitter.com/borisdayma).
44
  <tbody style='border-width:0'>
45
  <tr style='border-width:0 0 1px 0; border-color: #E2E8F0'>
46
  <td style='border-width:0'>Tweets downloaded</td>
47
- <td style='border-width:0'>235</td>
48
  </tr>
49
  <tr style='border-width:0 0 1px 0; border-color: #E2E8F0'>
50
  <td style='border-width:0'>Retweets</td>
@@ -56,18 +63,18 @@ The model was trained on [@borisdayma's tweets](https://twitter.com/borisdayma).
56
  </tr>
57
  <tr style='border-width:0'>
58
  <td style='border-width:0'>Tweets kept</td>
59
- <td style='border-width:0'>193</td>
60
  </tr>
61
  </tbody>
62
  </table>
63
 
64
- [Explore the data](https://app.wandb.ai/wandb/huggingtweets-dev/runs/2i43c68k/artifacts), which is tracked with [W&B artifacts](https://docs.wandb.com/artifacts) at every step of the pipeline.
65
 
66
  ## Training procedure
67
 
68
  The model is based on a pre-trained [GPT-2](https://huggingface.co/gpt2) which is fine-tuned on @borisdayma's tweets.
69
 
70
- Hyperparameters and metrics are recorded in the [W&B training run](https://app.wandb.ai/wandb/huggingtweets-dev/runs/1n82dm7f) for full transparency and reproducibility.
71
 
72
  ## Intended uses & limitations
73
 
@@ -75,13 +82,6 @@ Hyperparameters and metrics are recorded in the [W&B training run](https://app.w
75
 
76
  You can use this model directly with a pipeline for text generation:
77
 
78
- ```python
79
- from transformers import pipeline
80
- generator = pipeline('text-generation',
81
- model='huggingtweets/borisdayma')
82
- generator("My dream is", max_length=50, num_return_sequences=5)
83
- ```
84
-
85
  <pre><code><span style="color:#03A9F4">from</span> transformers <span style="color:#03A9F4">import</span> pipeline
86
  generator = pipeline(<span style="color:#FF9800">'text-generation'</span>,
87
  model=<span style="color:#FF9800">'huggingtweets/borisdayma'</span>)
 
9
 
10
  <link rel="stylesheet" href="https://unpkg.com/@tailwindcss/typography@0.2.x/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>
 
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'>236</td>
55
  </tr>
56
  <tr style='border-width:0 0 1px 0; border-color: #E2E8F0'>
57
  <td style='border-width:0'>Retweets</td>
 
63
  </tr>
64
  <tr style='border-width:0'>
65
  <td style='border-width:0'>Tweets kept</td>
66
+ <td style='border-width:0'>194</td>
67
  </tr>
68
  </tbody>
69
  </table>
70
 
71
+ [Explore the data](https://app.wandb.ai/wandb/huggingtweets-dev/runs/2tv8m4yr/artifacts), which is tracked with [W&B artifacts](https://docs.wandb.com/artifacts) at every step of the pipeline.
72
 
73
  ## Training procedure
74
 
75
  The model is based on a pre-trained [GPT-2](https://huggingface.co/gpt2) which is fine-tuned on @borisdayma's tweets.
76
 
77
+ Hyperparameters and metrics are recorded in the [W&B training run](https://app.wandb.ai/wandb/huggingtweets-dev/runs/zbqv100c) for full transparency and reproducibility.
78
 
79
  ## Intended uses & limitations
80
 
 
82
 
83
  You can use this model directly with a pipeline for text generation:
84
 
 
 
 
 
 
 
 
85
  <pre><code><span style="color:#03A9F4">from</span> transformers <span style="color:#03A9F4">import</span> pipeline
86
  generator = pipeline(<span style="color:#FF9800">'text-generation'</span>,
87
  model=<span style="color:#FF9800">'huggingtweets/borisdayma'</span>)