Giter VIP home page Giter VIP logo

Comments (3)

poteminr avatar poteminr commented on May 31, 2024

@Sogl
Фикс:

import os
os.mkdir(model_dir)

HF проверяет размер директории, в которую сохраняет модель. Если ее не существует, падает такая ошибка

from rulm.

IlyaGusev avatar IlyaGusev commented on May 31, 2024

Да, всё верно, спасибо. Раньше snapshot_download создавал папку, если её не было. Ноутбук поправлю.

from rulm.

Sogl avatar Sogl commented on May 31, 2024

Ок, это сработало, но теперь валится на шаге "Запускаем обучение!"

---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
[<ipython-input-8-6f957e699393>](https://localhost:8080/#) in <cell line: 7>()
      5 get_ipython().system("cd {self_instruct_dir} && python3 -m src.train      --config-file {config_path.relative_to(self_instruct_dir)}      --train-file {content_dir / 'train.jsonl'}      --val-file {content_dir / 'val.jsonl'}      --output-dir {output_dir}")
      6 
----> 7 assert (output_dir / 'adapter_config.json').exists()

AssertionError:

Подсвечивает эту строку:
image

Я пока мало что понимаю в файнтюнинге моделей, хочу хотя бы тестовый пример нормально запустить для начала.

from rulm.

Related Issues (18)

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.