Skip to content

Instantly share code, notes, and snippets.

@daffahilmyf
Created March 2, 2023 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daffahilmyf/ef43e7bd79083f6a017a66ba7da4b8be to your computer and use it in GitHub Desktop.
Save daffahilmyf/ef43e7bd79083f6a017a66ba7da4b8be to your computer and use it in GitHub Desktop.
Preproccesing not working on prodigy model training cli
{
"text": "in order fulfil requir some railway possibl provid altern mean link assur indic",
"spans": [
{
"start": 0,
"end": 35,
"token_start": 0,
"token_end": 5,
"label": "PRECONDITION"
},
{
"start": 36,
"end": 79,
"token_start": 6,
"token_end": 12,
"label": "POSTCONDITION"
}
],
"meta": {
"pattern": ""
},
"_input_hash": 2092507399,
"_task_hash": 208484880,
"tokens": [
{
"text": "in",
"start": 0,
"end": 2,
"id": 0,
"ws": true
},
{
"text": "order",
"start": 3,
"end": 8,
"id": 1,
"ws": true
},
{
"text": "fulfil",
"start": 9,
"end": 15,
"id": 2,
"ws": true
},
{
"text": "requir",
"start": 16,
"end": 22,
"id": 3,
"ws": true
},
{
"text": "some",
"start": 23,
"end": 27,
"id": 4,
"ws": true
},
{
"text": "railway",
"start": 28,
"end": 35,
"id": 5,
"ws": true
},
{
"text": "possibl",
"start": 36,
"end": 43,
"id": 6,
"ws": true
},
{
"text": "provid",
"start": 44,
"end": 50,
"id": 7,
"ws": true
},
{
"text": "altern",
"start": 51,
"end": 57,
"id": 8,
"ws": true
},
{
"text": "mean",
"start": 58,
"end": 62,
"id": 9,
"ws": true
},
{
"text": "link",
"start": 63,
"end": 67,
"id": 10,
"ws": true
},
{
"text": "assur",
"start": 68,
"end": 73,
"id": 11,
"ws": true
},
{
"text": "indic",
"start": 74,
"end": 79,
"id": 12,
"ws": false
}
],
"options": [
{
"id": "NONE",
"text": "NONE"
},
{
"id": "PRECONDITION",
"text": "PRECONDITION"
},
{
"id": "POSTCONDITION",
"text": "POSTCONDITION"
},
{
"id": "BOTH",
"text": "BOTH"
}
],
"_view_id": "blocks",
"accept": [
"BOTH"
],
"config": {
"choice_style": "single"
},
"answer": "accept",
"_timestamp": 1676984069
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment