CoolFace
Modelpublic

digitalwas-developer/Fail-1B

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes8downloads
README.md54 linesDownload Raw Back to root
1---2tags:3- autotrain4- text-classification5language:6- en7widget:8- text: "I love digitalWAS.de"9co2_eq_emissions:10  emissions: 0.01237983880687134111---12 13# Model Trained for digitalWAS.solutions14 15- Problem type: Multi-class Classification16- Model ID: 9863514712717- CO2 Emissions (in grams): 0.012418 19## Validation Metrics20 21- Loss: 2.83722- Accuracy: 0.05923- Macro F1: 0.00724- Micro F1: 0.05925- Weighted F1: 0.00726- Macro Precision: 0.00327- Micro Precision: 0.05928- Weighted Precision: 0.00329- Macro Recall: 0.05930- Micro Recall: 0.05931- Weighted Recall: 0.05932 33 34## Usage35 36You can use cURL to access this model:37 38```39$ 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/digitalwas-developer/autotrain-test-9863514712740```41 42Or Python API:43 44```45from transformers import AutoModelForSequenceClassification, AutoTokenizer46 47model = AutoModelForSequenceClassification.from_pretrained("digitalwas-developer/autotrain-test-98635147127", use_auth_token=True)48 49tokenizer = AutoTokenizer.from_pretrained("digitalwas-developer/autotrain-test-98635147127", use_auth_token=True)50 51inputs = tokenizer("I love AutoTrain", return_tensors="pt")52 53outputs = model(**inputs)54```