ybisk/piqa
Updated • 63.8k • 105
How to use Haya-as/mojana-comet-unified with COMET:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
Fine-tuned COMET model with Active Inference and Stackelberg Game Theory reasoning for robotics applications.
Based on Flan-T5-base (247M parameters), extended with:
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
model = AutoModelForSeq2SeqLM.from_pretrained("Haya-as/mojana-comet-unified")
tokenizer = AutoTokenizer.from_pretrained("Haya-as/mojana-comet-unified")
# Active Inference query
prompt = "The robot detects smoke in the kitchen [xEFEAnalysis]"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
| Type | Relations |
|---|---|
| Active Inference | xStateSpace, xPriorBeliefs, xPriorEntropy, xGoalState, xActionSpace, xEFEAnalysis, xSelectedAction, xBeliefUpdateProcess |
| Stackelberg | xGameAgents, xLeaderStrategies, xFollowerStrategies, xPayoffStructure, xFollowerBestResponses, xLeaderOptimization, xStackelbergEquilibrium, xCommitmentValue |
| ATOMIC | xWant, xNeed, xEffect, xIntent, xAttr, HinderedBy, ObjectUse |
| Physical | xPhysicalSolution, xPhysicalAlternative |
MIT