Hacker News new | past | comments | ask | show | jobs | submit login

If you want to play with Transformers you can go here https://transformer.huggingface.co/

They have a really easy to use library in Python called Transformers. Below is an example of how to use it.

  >>> from transformers import pipeline

  # Allocate a pipeline for sentiment-analysis
  >>> classifier = pipeline('sentiment-analysis')
  >>> classifier('We are very happy to introduce pipeline to the transformers repository.')
  [{'label': 'POSITIVE', 'score': 0.9996980428695679}]



Huggingface is great! The only issue is the documentation which is rather lacking if you want to get more serious about writing custom models and solving more complex issues than what normally documented in the examples there.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: