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
File size: 335 Bytes
cc0b62b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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',
],
)
|