asahi417 commited on
Commit
02d0921
1 Parent(s): a3268e0

model update

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -5,7 +5,7 @@ metrics:
5
  - f1
6
  - accuracy
7
  model-index:
8
- - name: roberta-base-tweet-topic-single-all
9
  results:
10
  - task:
11
  type: text-classification
@@ -32,7 +32,7 @@ widget:
32
  - text: "Love to take night time bike rides at the jersey shore. Seaside Heights boardwalk. Beautiful weather. Wishing everyone a safe Labor Day weekend in the US."
33
  example_title: "Example 2"
34
  ---
35
- # roberta-base-tweet-topic-single-all
36
 
37
  This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the [tweet_topic_single](https://huggingface.co/datasets/cardiffnlp/tweet_topic_single). This model is fine-tuned on `train_all` split and validated on `test_2021` split of tweet_topic.
38
  Fine-tuning script can be found [here](https://huggingface.co/datasets/cardiffnlp/tweet_topic_single/blob/main/lm_finetuning.py). It achieves the following results on the test_2021 set:
@@ -47,7 +47,7 @@ Fine-tuning script can be found [here](https://huggingface.co/datasets/cardiffnl
47
  ```python
48
  from transformers import pipeline
49
 
50
- pipe = pipeline("text-classification", "roberta-base-tweet-topic-single-all")
51
  topic = pipe("Love to take night time bike rides at the jersey shore. Seaside Heights boardwalk. Beautiful weather. Wishing everyone a safe Labor Day weekend in the US.")
52
  print(topic)
53
  ```
 
5
  - f1
6
  - accuracy
7
  model-index:
8
+ - name: cardiffnlp/roberta-base-tweet-topic-single-all
9
  results:
10
  - task:
11
  type: text-classification
 
32
  - text: "Love to take night time bike rides at the jersey shore. Seaside Heights boardwalk. Beautiful weather. Wishing everyone a safe Labor Day weekend in the US."
33
  example_title: "Example 2"
34
  ---
35
+ # cardiffnlp/roberta-base-tweet-topic-single-all
36
 
37
  This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the [tweet_topic_single](https://huggingface.co/datasets/cardiffnlp/tweet_topic_single). This model is fine-tuned on `train_all` split and validated on `test_2021` split of tweet_topic.
38
  Fine-tuning script can be found [here](https://huggingface.co/datasets/cardiffnlp/tweet_topic_single/blob/main/lm_finetuning.py). It achieves the following results on the test_2021 set:
 
47
  ```python
48
  from transformers import pipeline
49
 
50
+ pipe = pipeline("text-classification", "cardiffnlp/roberta-base-tweet-topic-single-all")
51
  topic = pipe("Love to take night time bike rides at the jersey shore. Seaside Heights boardwalk. Beautiful weather. Wishing everyone a safe Labor Day weekend in the US.")
52
  print(topic)
53
  ```