File size: 1,211 Bytes
66a81c0
1e79f78
 
eb29b70
 
9f8e9e2
26878f1
66a81c0
4ed5bf0
d6adbbc
3edcb5b
d6adbbc
b1a6afb
89e6ba0
4669428
d0f5329
4669428
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
title: Smarter NPC
emoji: 🤖
colorFrom: pink
colorTo: purple
sdk: static
pinned: true
---
<body onload="window.scrollTo({top: document.body.scrollHeight, behavior: 'smooth'});">
<h1 id="smarter-npc-non-player-character-">Smarter NPC (non-player character)</h1>
<h4>Given a user input, <a href="https://huggingface.co//typeform/distilbert-base-uncased-mnli">typeform/distilbert-base-uncased-mnli</a> (Zero-Shot classification model) is used to find the closest action from the available set of actions ("dance","text","fight","run")</h4>
<p>This WebGL demo demonstrates how you can create smart NPC easily by using <a href="https://huggingface.co/inference-api">🤗 Inference API</a>.</p>
<p>Find the source code in <a href="https://huggingface.co/spaces/mishig/smarter_npc/tree/main">Files and Versions</a> of this Space.</p>
<p>Find the PlayCanvas project <a href="https://playcanvas.com/project/832033/overview/smarter-npc">here</a></p>
<div style="max-width: 100%;max-height: 100%;width: 100vw;height: 100vh;overflow: hidden;">
  <iframe style="min-width: 100%; min-height: 100%; background: black;" allowfullscreen="true" frameborder="0" src="https://playcanv.as/p/d3jMhnMm">></iframe>
</div>
</body>