Coder Social home page Coder Social logo

cloner174 / itransformer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thuml/itransformer

0.0 0.0 0.0 11.84 MB

Official implementation for "iTransformer: Inverted Transformers Are Effective for Time Series Forecasting"

License: MIT License

Shell 31.07% Python 57.84% Jupyter Notebook 11.09%

itransformer's Introduction

Some personal Stuff

Here is a brief description of the problems: 1- During the execution of index.sh, we come across two clone commands that are not executed because their destination URL is not a repository but It is the absolute file. I think one for Yuna's main model and another for Vision. Anyway, this is the way that will probably solve the problems:

First do not attempt to run ( or start ) Yuna till these steps be done!

1- After you have installed the required items through options 2 and 3 on the index.sh page, do this: Close the index.sh page using number 5 or 6 ( I'm not sure for now!) Navigate terminal to the root directory of the project, which is the folder named ' yuna-ai ' . Run this command , carefully:

  •    $ mkdir ./lib/models/yuna/
    

After that, you can do one of two things below, It depends on which you feel comfortable with:

Way_Number_1:

a) Run the 'Python Command Line' in your terminal with its Environment Variable's name which could be one of ( python /or/ python3 /or/ python311 /or/ py ).

b) Try running these lines in your 'Python Command Line Environment ' :

  •    >>> import urllib
    
  •    >>> url = "https://huggingface.co/TheBloke/Pygmalion-2-7B-GGUF/resolve/main/pygmalion-2-7b.Q5_K_M.gguf";
    
  •    >>> filename = "/content/yuna-ai/lib/models/yuna/yuna-ai-2-7b-role-play.gguf");
    
  •    >>> try: urllib.URLopener().retrieve(url, filename)
       ......  except: urllib.request.urlretrieve(url, filename)
    

AND WAIT TILL IT DONE!

c) You can exit 'Python Command Line' with pass the 'exit()' syntax to it.

Way_Number_2:

a) simply create a temp.py file using txt editor app from your OS and copy these lines:

import urllib url = "https://huggingface.co/TheBloke/Pygmalion-2-7B-GGUF/resolve/main/pygmalion-2-7b.Q5_K_M.gguf"; filename = "/content/yuna-ai/lib/models/yuna/yuna-ai-2-7b-role-play.gguf"); try: urllib.URLopener().retrieve(url, filename) except: urllib.request.urlretrieve(url, filename)

b) then open a terminal and try to execute the temp.py file using your python's Environment Variable's name which could be one of ( python /or/ python3 /or/ python311 /or/ py ) along with the path of our temp.py file.

  •   $ python3  path/to/your/temp.py
    

__________________________________________________________-

2- there is another model which you can do the exact same thing to we just did, with these changes:

( IN THE mkdir PART )::
first navigate terminal to the root of yuna project witch is 'yuna-ai folder'

  •                                 $ mkdir ./lib/models/agi/art/
    

( IN THE python PART )::

  •                                   >>> url = "https://huggingface.co/yukiarimo/anyloli/resolve/main/any_loli.safetensors";
    
  •                                   >>> filename = "/content/yuna-ai/lib/models/agi/art/any_loli.safetensors"
    

done:)


3- There are some forgotten dependencies, too:

 whisper
 pydub

itransformer's People

Contributors

cloner174 avatar eltociear avatar kashif avatar wenweithu avatar zdandsomsp avatar

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.