Git Product home page Git Product logo

tal's Introduction

Transformer Architecture Library

image

I developed a Python library for transformers, leveraging the architecture I previously designed. With this library, users can freely install and utilize the transformer architecture.


  1. Create a Directory Structure: Start by creating a directory structure for your package, For instance:
    • create a folder called transformer_package, then save this files in the folder.
    my_transformer_package/
    ├── my_transformer/
    │   ├── __init__.py
    │   ├── transformer.py
    └── setup.py
    
  2. the setup.py: This file is used to define metadata about your package and how to install it. Here's a minimal example, you can change it for example the version:
    from setuptools import setup, find_packages
    
    setup(
        name='transformer_lib',
        version='0.1',
        packages=find_packages(),
        install_requires=[
            'torch>=1.6.0',
        ],
        python_requires='>=3.6',
    )
  3. After installing the repo, go to the terminal and type:
    pip install .
  4. And then, run the test file.

    Now you should be able to use the transformer architecture in any python file you build.

tal's People

Contributors

esmail-ibraheem avatar

Stargazers

 avatar Ebraheem Alhetari avatar Watheq Alshowaiter avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

yemenopensource

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.