hyperledger-labs / pdo-contracts

Apache License 2.0
3 stars 5 forks source link

Token Object Contracts for policy-based usage of Hugging Face Models #55

Closed prakashngit closed 1 month ago

prakashngit commented 1 month ago

This PR provides a PoC for tokenization and policy-based access of (possibly private) models hosted on Hugging Face, and made available for inferencing via Serverless Inference API. The PoC in spirit is similar to what is demonstrated via the inference contract family, where we provided PDO contracts/guardians for policy-based access control of ML models hosted via OpenVINO model server.

Please see hfmodels-contract/README.md for problem statement, solution overview, and details on how to test the PoC.

prakashngit commented 1 month ago

opened the same PR against dev branch since this is still work in progress