Skip to content

huggingface/sharp-transformers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sharp Transformers

A Unity plugin of utilities to run Transformer 🤗 models in Unity games.

Sharp transformers is designed to be functionally equivalent to Hugging Face’s [transformers python library](https://github.com/huggingface/transformers/tree/main).

If you like this library, don't hesitate to ⭐ star this repository. This helps us for discoverability 🤗.

Install with Unity

In your Unity Project:

  1. Go to "Window" > "Package Manager" to open the Package Manager.
  2. Click the "+" in the upper left-hand corner and select "Add package from git URL".
  3. Enter the URL of this repository and click "Add": https://github.com/huggingface/sharp-transformers.git

Quick Tour

We published a tutorial where you're to build this smart robot that can understand player orders and perform them using a Sentence Similarity Model.

Jammo the Robot

The Tutorial 👉 https://open.substack.com/pub/thomassimonini/p/create-an-ai-robot-npc-using-hugging?r=dq5fg&utm_campaign=post&utm_medium=web

The Demo (Windows Executable) 👉 https://singularite.itch.io/jammo-the-robot-with-unity-sentis

Supported tasks

  • For now only BERT models for embedding are supported but we plan to support more models in the future see roadmap

Roadmap 🗺️

  • Bert Tokenizer
  • Llama 2 Tokenizers (BPE)
  • Whisper Tokenizers and PostProcessing
  • STT Tokenizers

About

A Unity plugin for using Transformers models in Unity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages