File size: 825 Bytes
03eec87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c3fa42a
03eec87
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from setuptools import setup, find_packages

setup(
    name='commafixer',
    version='0.1.0',
    description='Fixing commas using Deep Learning.',
    author='Karol Lasocki',
    author_email='karolasocki@gmail.com',
    url='https://huggingface.co/spaces/klasocki/comma-fixer',
    packages=find_packages(include=['commafixer', 'commafixer.*']),
    install_requires=[
        "fastapi == 0.101.1",
        "uvicorn == 0.23.2",
        "torch == 2.0.1",
        "transformers == 4.31.0",
        # for the tokenizer of the baseline model
        "protobuf == 4.24.0",
        "sentencepiece == 0.1.99",

    ],
    extras_require={
        'training': [
            'datasets==2.14.4',
            'seqeval'
            'notebook'
        ],
        'test': [
            'pytest',
            'httpx'
        ]
    },
)