joshuapsa commited on
Commit
3faa435
·
1 Parent(s): 8ae3bff

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -14,6 +14,8 @@ This is a [SetFit model](https://github.com/huggingface/setfit) that can be used
14
  1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
15
  2. Training a classification head with features from the fine-tuned Sentence Transformer.
16
 
 
 
17
  ## Usage
18
 
19
  To use this model for inference, first install the SetFit library:
@@ -30,7 +32,8 @@ from setfit import SetFitModel
30
  # Download from Hub and run inference
31
  model = SetFitModel.from_pretrained("joshuapsa/setfit-ai-generated-sent")
32
  # Run inference
33
- preds = model(["i loved the spiderman movie!", "pineapple on pizza is the worst 🤮"])
 
34
  ```
35
 
36
  ## BibTeX entry and citation info
 
14
  1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
15
  2. Training a classification head with features from the fine-tuned Sentence Transformer.
16
 
17
+ This model was finetuned with the dataset `joshuapsa/gpt-generated-news-sentences`. Please refer to this to understand the label meanings.
18
+
19
  ## Usage
20
 
21
  To use this model for inference, first install the SetFit library:
 
32
  # Download from Hub and run inference
33
  model = SetFitModel.from_pretrained("joshuapsa/setfit-ai-generated-sent")
34
  # Run inference
35
+ preds = model(["Tensions escalated in the Taiwan Strait as Chinese and Taiwanese naval vessels engaged in a standoff, raising fears of a potential conflict.",\
36
+ "Following the highway closure in Toronto, transportation officials announce plans for the construction of additional lanes and improved traffic management systems."])
37
  ```
38
 
39
  ## BibTeX entry and citation info