MCPcopy Create free account
hub / github.com/modelscope/modelscope / check_example

Method check_example

modelscope/preprocessors/templates/base.py:248–250  ·  view source on GitHub ↗

Check example valid

(self, example: Dict[str, Any])

Source from the content-addressed store, hash-verified

246 return {}
247
248 def check_example(self, example: Dict[str, Any]) -> None:
249 """Check example valid"""
250 pass
251
252 def add_default_tags(self, example: Dict[str, Any]) -> None:
253 """Add default tags to example, this is for the multi-modal datasets

Callers 1

preprocessMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected