Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F41734704
raw-paste-data.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
klausman
Jan 31 2024, 1:09 PM
2024-01-31 13:09:16 (UTC+0)
Size
995 B
Referenced Files
None
Subscribers
None
raw-paste-data.txt
View Options
$ time curl -sq localhost:8080/v1/models/revertrisk-language-agnostic:predict -X POST -d '{"lang": "en", "rev_id": 12345}'|jq
{
"model_name": "revertrisk-language-agnostic",
"model_version": "3",
"wiki_db": "enwiki",
"revision_id": 12345,
"cache_hit": false, <------------------------------------ NOTE
"output": {
"prediction": false,
"probabilities": {
"true": 0.17687281966209412,
"false": 0.8231271803379059
}
}
}
real 0m0.409s
user 0m0.010s
sys 0m0.011s
~ $ time curl -sq localhost:8080/v1/models/revertrisk-language-agnostic:predict -X POST -d '{"lang": "en", "rev_id": 12345}'|jq
{
"model_name": "revertrisk-language-agnostic",
"model_version": "3",
"wiki_db": "enwiki",
"revision_id": 12345,
"cache_hit": true, <------------------------------------ NOTE
"output": {
"prediction": false,
"probabilities": {
"true": 0.17687281966209412,
"false": 0.8231271803379059
}
}
}
real 0m0.018s
user 0m0.007s
sys 0m0.012s
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14511667
Default Alt Text
raw-paste-data.txt (995 B)
Attached To
Mode
P55958 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment