Instructions to use colinryan/hf-deepmoji with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use colinryan/hf-deepmoji with Transformers:
# Load model directly from transformers import AutoTokenizer, DistilBertForMultilabelSequenceClassification tokenizer = AutoTokenizer.from_pretrained("colinryan/hf-deepmoji") model = DistilBertForMultilabelSequenceClassification.from_pretrained("colinryan/hf-deepmoji", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| from setuptools import setup | |
| setup( | |
| name='torchmoji', | |
| version='1.0', | |
| packages=['torchmoji'], | |
| description='torchMoji', | |
| include_package_data=True, | |
| install_requires=[ | |
| 'emoji==0.4.5', | |
| 'numpy==1.13.1', | |
| 'scipy==0.19.1', | |
| 'scikit-learn==0.19.0', | |
| 'text-unidecode==1.0', | |
| ], | |
| ) | |