Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +50 -0
- config.json +3 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +3 -0
- vocab.json +3 -0
.gitattributes
CHANGED
@@ -31,3 +31,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
31 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
32 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
33 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
31 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
32 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
33 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- text-regression
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
widget:
|
8 |
+
- text: "I love AutoTrain 🤗"
|
9 |
+
datasets:
|
10 |
+
- orange6996/autotrain-data-testtextexists
|
11 |
+
co2_eq_emissions:
|
12 |
+
emissions: 0.8382331508369333
|
13 |
+
---
|
14 |
+
|
15 |
+
# Model Trained Using AutoTrain
|
16 |
+
|
17 |
+
- Problem type: Single Column Regression
|
18 |
+
- Model ID: 1966366051
|
19 |
+
- CO2 Emissions (in grams): 0.8382
|
20 |
+
|
21 |
+
## Validation Metrics
|
22 |
+
|
23 |
+
- Loss: 4927.679
|
24 |
+
- MSE: 4927.679
|
25 |
+
- MAE: 68.224
|
26 |
+
- R2: -17.019
|
27 |
+
- RMSE: 70.197
|
28 |
+
- Explained Variance: 0.001
|
29 |
+
|
30 |
+
## Usage
|
31 |
+
|
32 |
+
You can use cURL to access this model:
|
33 |
+
|
34 |
+
```
|
35 |
+
$ 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/orange6996/autotrain-testtextexists-1966366051
|
36 |
+
```
|
37 |
+
|
38 |
+
Or Python API:
|
39 |
+
|
40 |
+
```
|
41 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
42 |
+
|
43 |
+
model = AutoModelForSequenceClassification.from_pretrained("orange6996/autotrain-testtextexists-1966366051", use_auth_token=True)
|
44 |
+
|
45 |
+
tokenizer = AutoTokenizer.from_pretrained("orange6996/autotrain-testtextexists-1966366051", use_auth_token=True)
|
46 |
+
|
47 |
+
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
|
48 |
+
|
49 |
+
outputs = model(**inputs)
|
50 |
+
```
|
config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0963842f20a94a90f0ca6dae06cfeb015d5373efa311be85bb490f1dffbed7b9
|
3 |
+
size 861
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:397fd37b11f86b9a855999ebeafdc83b9e5c030c1e37b15132d0a508b9c7c256
|
3 |
+
size 1421580269
|
special_tokens_map.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06e405a36dfe4b9604f484f6a1e619af1a7f7d09e34a8555eb0b77b66318067f
|
3 |
+
size 280
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9db643d4385523699171435eda5683c66243d8d3db6b58368ba4c9f27bdf8823
|
3 |
+
size 2108854
|
tokenizer_config.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6061a5eb007e615c3eaf3d524843da3b1b34a0cb317f0a0f33cc1f93182c5ec6
|
3 |
+
size 377
|
vocab.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed19656ea1707df69134c4af35c8ceda2cc9860bf2c3495026153a133670ab5e
|
3 |
+
size 798293
|