Skip to main content

tools for using huggingface/transformers more easily

Project description

Transformersx

🤗 Transformers is a great project for the Transformer architecture for NLP and NLG.

/🤗 Transformers (formerly known as pytorch-transformers and pytorch-pretrained-bert) provides state-of-the-art general-purpose architectures (BERT, GPT-2, RoBERTa, XLM, DistilBert, XLNet, T5, CTRL...) for Natural Language Understanding (NLU) and Natural Language Generation (NLG) with over thousands of pretrained models in 100+ languages and deep interoperability between PyTorch & TensorFlow 2.0./

The purpose of this project is to add more tools to easy to use the hugging/transformers library for NLP. And NLP task examples was refactored or added as well.

/**BTW, **/ Because it's hard to download the pretrained models from huggingface, especially in China, here tries to use a trick to solve this problem.

For personal, Aliyun is free to build the docker image, typically, the image building can use the overseas machine to build the docker image. So when the image is built by the overseas machine, it can download the pretrained models from huggingface fastly.

After the image is built, the image can be pulled from Aliyun fastly. And then the pretrained models can be take from the docker image.

TODO:

  • (1) Build a management tools for the models of transformers to categorize the models, and the features also should be including training, finetuning and predict
  • (2) Use the Streamlit to build the UI for the management tools

Project details


Release history Release notifications | RSS feed

This version

0.4.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai-transformersx-0.4.5.tar.gz (49.4 kB view hashes)

Uploaded Source

Built Distribution

ai_transformersx-0.4.5-py2.py3-none-any.whl (100.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page