chiyuzhang commited on
Commit
95c1330
1 Parent(s): 02b42c6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -4,12 +4,12 @@ license: cc-by-nc-3.0
4
 
5
  PragS2: Pragmatic Masked Language Modeling with Emoji_any dataset followed by Hashtag-Based Surrogate Fine-Tuning
6
 
7
- You can load these model and use for downstream fine-tuning. For example:
8
  ```python
9
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
10
 
11
- tokenizer = AutoTokenizer.from_pretrained('UBC-NLP/prags1', use_fast = True)
12
- model = AutoModelForSequenceClassification.from_pretrained('UBC-NLP/prags1',num_labels=lable_size)
13
  ```
14
 
15
 
 
4
 
5
  PragS2: Pragmatic Masked Language Modeling with Emoji_any dataset followed by Hashtag-Based Surrogate Fine-Tuning
6
 
7
+ You can load this model and use for downstream fine-tuning. For example:
8
  ```python
9
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
10
 
11
+ tokenizer = AutoTokenizer.from_pretrained('UBC-NLP/prags2', use_fast = True)
12
+ model = AutoModelForSequenceClassification.from_pretrained('UBC-NLP/prags2',num_labels=lable_size)
13
  ```
14
 
15