Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it correct format for dataset.json file #4

Open
gsood-gaurav opened this issue Mar 1, 2024 · 1 comment
Open

Is it correct format for dataset.json file #4

gsood-gaurav opened this issue Mar 1, 2024 · 1 comment

Comments

@gsood-gaurav
Copy link

gsood-gaurav commented Mar 1, 2024

Hi @yul091

Thanks for the wonderful paper and code. This question has been asked few times. for dataset.json do we need to manually create it.
I went through the code and created the following format based on logic in "NER.py". Is it correct?

[
    {
            "logex:example": "1117838570 2005.06.03 R02-M1-N0-C:J12-U11 2005-06-03-15.42.50.363779 R02-M1-N0-C:J12-U11 RAS KERNEL INFO instruction cache parity error corrected",
            "logex:hasParameterList": ["R02-M1-N0-C:J12-U11"],
            "logex:hasNERtag": ["server"]
},

{
    "logex:example": "1118211686 2005.06.07 R22-M0-NB-C:J08-U01 2005-06-07-23.21.26.166009 R22-M0-NB-C:J08-U01 RAS KERNEL INFO generating core.258",
    "logex:hasParameterList": ["R22-M0-NB-C:J08-U01"],
    "logex:hasNERtag": ["server"]
},
{
    "logex:example": "1121408432 2005.07.14 R16-M1-N4-I:J18-U11 2005-07-14-23.20.32.350090 R16-M1-N4-I:J18-U11 RAS APP FATAL ciod: Error creating node map from file /home/pakin1/comms-conc/xyzt-1x1x32768x1.map: Bad address",
    "logex:hasParameterList": ["R16-M1-N4-I:J18-U11", "/home/pakin1/comms-conc/xyzt-1x1x32768x1.map"],
    "logex:hasNERtag": ["server", "path"]
}
]

@banli2
Copy link

banli2 commented Jul 5, 2024

Hi @yul091

Thanks for the wonderful paper and code. This question has been asked few times. for dataset.json do we need to manually create it. I went through the code and created the following format based on logic in "NER.py". Is it correct?

[
    {
            "logex:example": "1117838570 2005.06.03 R02-M1-N0-C:J12-U11 2005-06-03-15.42.50.363779 R02-M1-N0-C:J12-U11 RAS KERNEL INFO instruction cache parity error corrected",
            "logex:hasParameterList": ["R02-M1-N0-C:J12-U11"],
            "logex:hasNERtag": ["server"]
},

{
    "logex:example": "1118211686 2005.06.07 R22-M0-NB-C:J08-U01 2005-06-07-23.21.26.166009 R22-M0-NB-C:J08-U01 RAS KERNEL INFO generating core.258",
    "logex:hasParameterList": ["R22-M0-NB-C:J08-U01"],
    "logex:hasNERtag": ["server"]
},
{
    "logex:example": "1121408432 2005.07.14 R16-M1-N4-I:J18-U11 2005-07-14-23.20.32.350090 R16-M1-N4-I:J18-U11 RAS APP FATAL ciod: Error creating node map from file /home/pakin1/comms-conc/xyzt-1x1x32768x1.map: Bad address",
    "logex:hasParameterList": ["R16-M1-N4-I:J18-U11", "/home/pakin1/comms-conc/xyzt-1x1x32768x1.map"],
    "logex:hasNERtag": ["server", "path"]
}
]

请问,你实现这个代码了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants