commit files to HF hub
Browse files- README.md +24 -0
- evaluation_metrics.json +1 -0
- hyperparameters.json +1 -0
README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
widget:
|
| 4 |
+
- text: "context: I would hope that Phylicia Rashad would apologize now that @missjillscott has! You cannot discount 30 victims who come with similar stories.— JDWhitner (@JDWhitner) July 7, 2015, question: what should phylicia rashad do now?"
|
| 5 |
+
example_title: example 1
|
| 6 |
+
- text: "context: I would hope that Phylicia Rashad would apologize now that @missjillscott has! You cannot discount 30 victims who come with similar stories.— JDWhitner (@JDWhitner) July 7, 2015, question: how many victims have come forward?"
|
| 7 |
+
example_title: example 2
|
| 8 |
+
- text: "context: The news about Vegas is devastating. Sending all our love to the people there right now ❤️❤️❤️— HAIM (@HAIMtheband) October 2, 2017, question: where is the news devastating?"
|
| 9 |
+
example_title: example 3
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# cardiffnlp/flan-t5-small-tweetqa
|
| 13 |
+
|
| 14 |
+
This is [google/flan-t5-small](https://huggingface.co/google/flan-t5-small) fine-tuned on [cardiffnlp/super_tweeteval (tweet_qa)](https://huggingface.co/datasets/cardiffnlp/super_tweeteval).
|
| 15 |
+
|
| 16 |
+
### Usage
|
| 17 |
+
|
| 18 |
+
```python
|
| 19 |
+
from transformers import pipeline
|
| 20 |
+
|
| 21 |
+
pipe = pipeline('text2text-generation', model="cardiffnlp/flan-t5-small-tweetqa")
|
| 22 |
+
output = pipe("context: I would hope that Phylicia Rashad would apologize now that @missjillscott has! You cannot discount 30 victims who come with similar stories.— JDWhitner (@JDWhitner) July 7, 2015, question: what should phylicia rashad do now?")
|
| 23 |
+
```
|
| 24 |
+
|
evaluation_metrics.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"eval_loss": 1.7568144798278809, "eval_exact_match": 6.733167082294265, "eval_f1": 31.045346326995162, "eval_runtime": 6.3185, "eval_samples_per_second": 190.392, "eval_steps_per_second": 23.898}
|
hyperparameters.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"learning_rate": 1.099433557476622e-06, "num_train_epochs": 3, "per_device_train_batch_size": 64}
|