Coder Social home page Coder Social logo

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

Hamed's Projects

fftransformer icon fftransformer

Multi-Step Spatio-Temporal Forecasting: https://authors.elsevier.com/sd/article/S0306-2619(22)01822-0

gams icon gams

Determining the degree of importance of knowledge, in the knowledge space!

informer2020 icon informer2020

The GitHub repository for the paper "Informer" accepted by AAAI 2021.

itransformer icon itransformer

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

maria icon maria

Introducing the 'Maria' class: A versatile Python module for advanced data manipulation and preprocessing, tailored for the 'Sugar' project's biomedical signal analysis needs.

mr.dga icon mr.dga

EmoTriangulate: Unveiling emotions through Delaunay's triangles in photos.

r-learning-course icon r-learning-course

It will guide you from beginner to hopefully professional level to start learning the fascinating and comprehensive R programming language.

simple-network icon simple-network

A basic tool designed for the construction and visualization of complex, multilayer networks.

text-similarity-analysis icon text-similarity-analysis

This repository contains the code for a text similarity analysis tool that uses Natural Language Processing (NLP) techniques to compare pairs of sentences and compute their similarity.

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.