Views
No views yet
1from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
2
3model = AutoModelForSeq2SeqLM.from_pretrained("Haya-as/mojana-comet-unified")
4tokenizer = AutoTokenizer.from_pretrained("Haya-as/mojana-comet-unified")
5
6# Active Inference query
7prompt = "The robot detects smoke in the kitchen [xEFEAnalysis]"
8inputs = tokenizer(prompt, return_tensors="pt")
9outputs = model.generate(**inputs, max_length=256)
10print(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 |