hidude562 commited on
Commit
547a210
1 Parent(s): b846b32
Files changed (1) hide show
  1. README.md +7 -3
README.md CHANGED
@@ -2,11 +2,15 @@
2
  tags: autotrain
3
  language: en
4
  widget:
5
- - text: "I quite enjoy using AutoTrain due to its simplicity"
6
  datasets:
7
  - hidude562/autotrain-data-SimpleDetect
8
  co2_eq_emissions: 0.21691606119445225
9
  ---
 
 
 
 
10
 
11
  # Model Trained Using AutoTrain
12
 
@@ -34,7 +38,7 @@ co2_eq_emissions: 0.21691606119445225
34
  You can use cURL to access this model:
35
 
36
  ```
37
- $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/hidude562/Wiki-Complexity
38
  ```
39
 
40
  Or Python API:
@@ -46,7 +50,7 @@ model = AutoModelForSequenceClassification.from_pretrained("hidude562/Wiki-Compl
46
 
47
  tokenizer = AutoTokenizer.from_pretrained("hidude562/Wiki-Complexity", use_auth_token=True)
48
 
49
- inputs = tokenizer("I love AutoTrain", return_tensors="pt")
50
 
51
  outputs = model(**inputs)
52
  ```
 
2
  tags: autotrain
3
  language: en
4
  widget:
5
+ - text: "I quite enjoy using AutoTrain due to its simplicity."
6
  datasets:
7
  - hidude562/autotrain-data-SimpleDetect
8
  co2_eq_emissions: 0.21691606119445225
9
  ---
10
+ # Model Description
11
+ This model detects if you are writing in a format that is more similar to Simple English Wikipedia or English Wikipedia. This can be extended to applications that aren't Wikipedia as well.
12
+
13
+ Please also note there is a major bias to special characters (Mainly the hyphen mark, but it also applies to others) so I would recommend removing them from your input text.
14
 
15
  # Model Trained Using AutoTrain
16
 
 
38
  You can use cURL to access this model:
39
 
40
  ```
41
+ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I quite enjoy using AutoTrain due to its simplicity."}' https://api-inference.huggingface.co/models/hidude562/Wiki-Complexity
42
  ```
43
 
44
  Or Python API:
 
50
 
51
  tokenizer = AutoTokenizer.from_pretrained("hidude562/Wiki-Complexity", use_auth_token=True)
52
 
53
+ inputs = tokenizer("I quite enjoy using AutoTrain due to its simplicity.", return_tensors="pt")
54
 
55
  outputs = model(**inputs)
56
  ```