
# Model Trained Using AutoTrain

- Problem type: Binary Classification
- Model ID: 1252447945
- CO2 Emissions (in grams): 0.8697

## Validation Metrics

- Loss: 0.188
- Accuracy: 0.925
- Precision: 0.926
- Recall: 0.924
- AUC: 0.979
- F1: 0.925

## Usage

You can use cURL to access this model:

```
$ 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/yuan1729/autotrain-Law-0_-1252447945
```

Or Python API:

```
from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("yuan1729/autotrain-Law-0_-1252447945", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("yuan1729/autotrain-Law-0_-1252447945", use_auth_token=True)

inputs = tokenizer("I love AutoTrain", return_tensors="pt")

outputs = model(**inputs)
```
{"language": ["zh"], "tags": ["autotrain", "text-classification"], "datasets": ["yuan1729/autotrain-data-Law-0_"], "widget": [{"text": "I love AutoTrain \ud83e\udd17"}], "co2_eq_emissions": {"emissions": 0.8697328559727794}}
transformers pytorch electra text-classification autotrain zh dataset:yuan1729/autotrain-data-Law-0_ co2_eq_emissions autotrain_compatible endpoints_compatible region:us
TAGS
#transformers #pytorch #electra #text-classification #autotrain #zh #dataset-yuan1729/autotrain-data-Law-0_ #co2_eq_emissions #autotrain_compatible #endpoints_compatible #region-us 


# Model Trained Using AutoTrain

- Problem type: Binary Classification
- Model ID: 1252447945
- CO2 Emissions (in grams): 0.8697

## Validation Metrics

- Loss: 0.188
- Accuracy: 0.925
- Precision: 0.926
- Recall: 0.924
- AUC: 0.979
- F1: 0.925

## Usage

You can use cURL to access this model:



Or Python API:


# Model Trained Using AutoTrain

- Problem type: Binary Classification
- Model ID: 1252447945
- CO2 Emissions (in grams): 0.8697 ## Validation Metrics

- Loss: 0.188
- Accuracy: 0.925
- Precision: 0.926
- Recall: 0.924
- AUC: 0.979
- F1: 0.925 ## Usage

You can use cURL to access this model:



Or Python API:
TAGS
#transformers #pytorch #electra #text-classification #autotrain #zh #dataset-yuan1729/autotrain-data-Law-0_ #co2_eq_emissions #autotrain_compatible #endpoints_compatible #region-us 
 # Model Trained Using AutoTrain

- Problem type: Binary Classification
- Model ID: 1252447945
- CO2 Emissions (in grams): 0.8697 ## Validation Metrics

- Loss: 0.188
- Accuracy: 0.925
- Precision: 0.926
- Recall: 0.924
- AUC: 0.979
- F1: 0.925 ## Usage

You can use cURL to access this model:



Or Python API:
passage: TAGS
#transformers #pytorch #electra #text-classification #autotrain #zh #dataset-yuan1729/autotrain-data-Law-0_ #co2_eq_emissions #autotrain_compatible #endpoints_compatible #region-us 
# Model Trained Using AutoTrain

- Problem type: Binary Classification
- Model ID: 1252447945
- CO2 Emissions (in grams): 0.8697## Validation Metrics

- Loss: 0.188
- Accuracy: 0.925
- Precision: 0.926
- Recall: 0.924
- AUC: 0.979
- F1: 0.925## Usage

You can use cURL to access this model:



Or Python API: