Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

setup.py 1.9 KB

You have to be logged in to leave a comment. Sign In
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
  1. # Copyright (c) Meta Platforms, Inc. and affiliates
  2. # All rights reserved.
  3. #
  4. # This source code is licensed under the license found in the
  5. # MIT_LICENSE file in the root directory of this source tree.
  6. from setuptools import find_packages, setup
  7. setup(
  8. name="seamless_communication",
  9. version="1.0.0",
  10. packages=find_packages(where="src"),
  11. package_dir={"": "src"},
  12. package_data={"": ["py.typed", "cards/*.yaml"]},
  13. description="SeamlessM4T -- Massively Multilingual & Multimodal Machine Translation Model",
  14. long_description=open("README.md", encoding="utf-8").read(),
  15. long_description_content_type="text/markdown",
  16. readme="README.md",
  17. python_requires=">=3.8",
  18. author="Fundamental AI Research (FAIR) at Meta",
  19. url="https://github.com/facebookresearch/seamless_communication",
  20. license="Creative Commons",
  21. install_requires=[
  22. "datasets==2.18.0",
  23. "fairseq2==0.2.*",
  24. "fire",
  25. "librosa",
  26. "openai-whisper",
  27. "simuleval~=1.1.3",
  28. "sonar-space==0.2.*",
  29. "soundfile",
  30. "scipy",
  31. "torchaudio",
  32. "tqdm",
  33. ],
  34. entry_points={
  35. "console_scripts": [
  36. "m4t_evaluate=seamless_communication.cli.m4t.evaluate.evaluate:main",
  37. "m4t_predict=seamless_communication.cli.m4t.predict.predict:main",
  38. "m4t_finetune=seamless_communication.cli.m4t.finetune.finetune:main",
  39. "m4t_prepare_dataset=seamless_communication.cli.m4t.finetune.dataset:main",
  40. "m4t_audio_to_units=seamless_communication.cli.m4t.audio_to_units.audio_to_units:main",
  41. "expressivity_evaluate=seamless_communication.cli.expressivity.evaluate.evaluate:main",
  42. "expressivity_predict=seamless_communication.cli.expressivity.predict.predict:main",
  43. "streaming_evaluate=seamless_communication.cli.streaming.evaluate:main",
  44. ],
  45. },
  46. include_package_data=True,
  47. )
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...