Metadata-Version: 2.1
Name: exciton
Version: 2.4.0
Summary: Natural Language Processing by the Exciton Research
Home-page: https://excitonresearch.com
Author: The Exciton Research Team
Author-email: excitonresearch@gmail.com
License: UNKNOWN
Keywords: NLP Deep Learning
Platform: UNKNOWN
Classifier: Intended Audience :: Science/Research
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: accelerate (==0.23.0)
Requires-Dist: auto-gptq (==0.4.2)
Requires-Dist: ctranslate2 (==3.11.0)
Requires-Dist: numpy (==1.24.2)
Requires-Dist: optimum (==1.13.2)
Requires-Dist: pysbd (==0.3.4)
Requires-Dist: scikit-learn (==1.2.2)
Requires-Dist: sentence-splitter (==1.4)
Requires-Dist: sentencepiece (==0.1.98)
Requires-Dist: spacy (==3.5.2)
Requires-Dist: torch (==2.1.0)
Requires-Dist: tqdm (==4.65.0)
Requires-Dist: transformers (==4.34.0)

# Exciton NLP - A tool for natural language processing

Exciton NLP is designed and maintained by the Exciton Research for different NLP tasks, including multilingual classification, NER, translation, etc.

## Installation
Use ``pip`` to install exciton. Run:

```
pip install -U exciton
```

## Usage

```

from exciton.nlp.translation import M2M100

model = M2M100(model="m2m100_1.2b", device="cuda")
source = [
    {"id": 1, "source": "I love you!", "source_lang": "en", "target_lang": "zh"},
    {"id": 2, "source": "我爱你！", "source_lang": "zh", "target_lang": "en"}
]
results = model.predict(source)

```

