johnpaulbin commited on
Commit
9fa629d
1 Parent(s): 8ccb323

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -6
README.md CHANGED
@@ -5,12 +5,10 @@ tags:
5
  - text-classification
6
  - generated_from_setfit_trainer
7
  widget:
8
- - text: '
9
-
10
- Ex-Labour Bennite in X detox. Pro-planet, anti-capitalist.'
11
  - text: jan o lukin ala e pilin sina.
12
  - text: Nothing…I’m just loudly complaining, I’ll get over it tomorrow.
13
- - text: IDIOT
14
  - text: Pizza cutter 2
15
  metrics:
16
  - accuracy
@@ -65,7 +63,7 @@ The model has been trained using an efficient few-shot learning technique that i
65
  | Label | Examples |
66
  |:----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
67
  | toki pona | <ul><li>'ona li toki "toki" tawa meli.'</li><li>'toki li pona tawa mi.'</li><li>'mi toki e ni tawa ona: "o kama tawa tomo mi."'</li></ul> |
68
- | other | <ul><li>'No te puedo creer el grado de precisión 🤣'</li><li>'i can’t deny i’m invested in the gaiartemis aspect of things :’)'</li><li>"I'm live on #twitch, and speedrunning EarthBound!\r\n\r\nhttps://twitch.tv/lordtacoTV "</li></ul> |
69
 
70
  ## Evaluation
71
 
@@ -92,7 +90,7 @@ from setfit import SetFitModel
92
  # Download from the 🤗 Hub
93
  model = SetFitModel.from_pretrained("johnpaulbin/toki-pona-classifier-v2")
94
  # Run inference
95
- preds = model("IDIOT")
96
  ```
97
 
98
  <!--
 
5
  - text-classification
6
  - generated_from_setfit_trainer
7
  widget:
8
+ - text: 'Wonderful person aboard!'
 
 
9
  - text: jan o lukin ala e pilin sina.
10
  - text: Nothing…I’m just loudly complaining, I’ll get over it tomorrow.
11
+ - text: HEY THERE
12
  - text: Pizza cutter 2
13
  metrics:
14
  - accuracy
 
63
  | Label | Examples |
64
  |:----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
65
  | toki pona | <ul><li>'ona li toki "toki" tawa meli.'</li><li>'toki li pona tawa mi.'</li><li>'mi toki e ni tawa ona: "o kama tawa tomo mi."'</li></ul> |
66
+ | other | <ul><li>'No te puedo creer el grado de precisión 🤣'</li><li>'i can’t deny i’m invested in the aspect of things :’)'</li><li>"I'm live on #twitch, and speedrunning EarthBound!"</li></ul> |
67
 
68
  ## Evaluation
69
 
 
90
  # Download from the 🤗 Hub
91
  model = SetFitModel.from_pretrained("johnpaulbin/toki-pona-classifier-v2")
92
  # Run inference
93
+ preds = model(["Hello!", "toki!"])
94
  ```
95
 
96
  <!--