Instructions to use Lixpr/bert-disaster-tweets with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Lixpr/bert-disaster-tweets with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'Lixpr/bert-disaster-tweets');
Download export_verification.json from Lixpr/bert-disaster-tweets: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/Lixpr/bert-disaster-tweets/resolve/main/export_verification.json
- Command line
-
hf download hf://Lixpr/bert-disaster-tweets/export_verification.json
-
curl -L -o export_verification.json https://huggingface.co/Lixpr/bert-disaster-tweets/resolve/main/export_verification.json
471 Bytes
| { | |
| "float_onnx_max_abs_logit_error": 4.76837158203125e-07, | |
| "quantized_metrics": { | |
| "accuracy": 0.8388245770258237, | |
| "f1": 0.7977653631284917, | |
| "macro_f1": 0.8318952648358965, | |
| "precision": 0.8561151079136691, | |
| "recall": 0.7468619246861925, | |
| "roc_auc": 0.8895202880217964, | |
| "average_precision": 0.8790177332315636 | |
| }, | |
| "prediction_agreement": 0.968833481745325, | |
| "float_onnx_bytes": 438142903, | |
| "quantized_onnx_bytes": 110241529 | |
| } |