- From: Paola Di Maio <paoladimaio10@gmail.com>
- Date: Sat, 2 Mar 2024 12:10:43 +0100
- To: Peter Rivett <pete.rivett@federatedknowledge.com>
- Cc: W3C AIKR CG <public-aikr@w3.org>, Leigh Dodds <leigh.dodds@talis.com>, "francois.remy@ugent.be" <francois.remy@ugent.be>
Thank you Peter, this is the feedback I was looking for so 1. first flesh the schema out (shall I just take out the labels that refer to the modelc card instance and create schema type labels, more generalized? I think there are a bunch of lines that dont need to be there so I ll try to figure out but maybe you can guide them there 2, then transform to JSON with your help (never done that but there is always first time) does that sound right? On Sat, Mar 2, 2024 at 9:16 AM Peter Rivett <pete.rivett@federatedknowledge.com> wrote: > > Things have changed since I last published an xml schema > > Sad to say (as an XML and XSLT whizz myself), things have changed since XML itself was felt useful. > Most people are now all about JSON and JSON Schema. See, for example https://blog.axway.com/learning-center/apis/api-management/why-json-won-over-xml > > I see Model Card seems to use YAML for its metadata https://huggingface.co/docs/hub/en/model-cards. And that's readily transformable to-from JSON with no loss. And can be validated with JSON Schema https://json-schema-everywhere.github.io/yaml > > BTW this file https://huggingface.co/STARBORN/modelcardML_V1/blob/main/MODELCARDML_V1.xml is not an XML Schema at all but what seems to be the HTML of the web page saved as a document in Open Office XML format. So you did convert the web page to XML but not an XML schema that could be used to validate Model Cards. > > Regards, > Pete > > > Pete Rivett (pete.rivett@federatedknowledge.com) > Federated Knowledge, LLC (LEI 98450013F6D4AFE18E67) > tel: +1-701-566-9534 > Schedule a meeting at https://calendly.com/rivettp > > ________________________________ > From: Paola Di Maio <paola.dimaio@gmail.com> > Sent: Friday, March 1, 2024 6:27 PM > To: W3C AIKR CG <public-aikr@w3.org>; Leigh Dodds <leigh.dodds@talis.com>; francois.remy@ugent.be <francois.remy@ugent.be> > Subject: Model card ML v1 no brainer, no errors found > > Things have changed since I last published an xml schema, using foaf > generator (cc Leigh Dodds!) > > Things have become faster, easier, I generated an xml schema for a model card > https://huggingface.co/STARBORN/modelcardML_V1/tree/main > > following the process described below > 1. found an annotate model card, scraped html > https://huggingface.co/docs/hub/en/model-card-annotated > > 2. converted to xml using a cool tool (vertopal, thank you) > > 2. validated using another cool tool (vertopal) and xml validator > No errors found > > Questions:, is this it? Is it useful? not useful? (either way, I may > have a paper) <g> > > Can it be improved? > are there any redundant elements or can it be modelled more meaningfullY >
Received on Saturday, 2 March 2024 11:14:22 UTC