Comments (10)
you should have a config.yml generated, could you share it please?
from autotrain-advanced.
This is what's generated:
backend: local
base_model: microsoft/Phi-3-mini-128k-instruct
data:
column_mapping:
text: text
path: data/formatted_train.csv
train_split: train
valid_split: null
hub:
push_to_hub: true
token: ${{HF_TOKEN}}
username: ${{HF_USERNAME}}
log: tensorboard
params:
batch_size: 2
block_size: 1024
chat_template: none
epochs: 3
gradient_accumulation: 4
lr: 3.0e-05
mixed_precision: fp16
model_max_length: 2048
optimizer: adamw_torch
peft: true
scheduler: linear
target_modules: all-linear
unsloth: false
project_name: Slottify-Phi-3-mini-128k-instruct
task: llm
from autotrain-advanced.
Same here
backend: local
base_model: openai-community/gpt2
data:
column_mapping:
text: text
path: data/train.csv
train_split: train.csv
valid_split: null
hub:
push_to_hub: true
token: ${{HF_TOKEN}}
username: ${{HF_USERNAME}}
log: tensorboard
params:
batch_size: 2
block_size: 1024
chat_template: none
epochs: 3
gradient_accumulation: 4
lr: 3.0e-05
mixed_precision: fp16
model_max_length: 2048
optimizer: adamw_torch
peft: true
scheduler: linear
target_modules: all-linear
unsloth: false
project_name: autotrain-f954p-3o4yn
task: llm
And these are the first two observations in train.csv
### Human: Can you write a short introduction about the relevance of the term "monopsony" in economics? Please use examples related to potential monopsonies in the labour market and cite relevant research.### Assistant: "Monopsony" refers to a market structure where there is only one buyer for a particular good or service. In economics, this term is particularly relevant in the labor market, where a monopsony employer has significant power over the wages and working conditions of their employees. The presence of a monopsony can result in lower wages and reduced employment opportunities for workers, as the employer has little incentive to increase wages or provide better working conditions. Recent research has identified potential monopsonies in industries such as retail and fast food, where a few large companies control a significant portion of the market (Bivens & Mishel, 2013). In these industries, workers often face low wages, limited benefits, and reduced bargaining power, leading to a situation where they are dependent on the employer for their livelihood. This dependence can result in further suppression of wages and a decline in working conditions. Overall, the concept of monopsony is essential to understanding the dynamics of labor markets and the impact of market power on workers. Further research is needed to understand the extent and impact of monopsonies on the economy and to develop policies to address this issue. References: Bivens, J., & Mishel, L. (2013). The Pay of Corporate Executives and Financial Professionals as Evidence of Rents in Top 1 Percent Incomes. Journal of Economic Perspectives, 27(3), 57-78.### Human: Now explain it to a dog ### Human: ¿CUales son las etapas del desarrollo y en qué consisten según Piaget?### Assistant: Jean Piaget fue un psicólogo suizo que propuso una teoría sobre el desarrollo cognitivo humano que consta de cuatro etapas: Etapa sensoriomotora (0-2 años): Durante esta etapa, el niño aprende a través de sus sentidos y movimientos. Descubre que sus acciones pueden tener un impacto en el entorno y comienza a formarse una idea básica de objetividad y continuidad. Etapa preoperatoria (2-7 años): En esta etapa, el niño comienza a desarrollar un pensamiento simbólico y a comprender que las cosas pueden representar a otras cosas. También comienzan a desarrollar un pensamiento lógico y a comprender conceptos como la causa y el efecto. Etapa de operaciones concretas (7-12 años): Durante esta etapa, el niño desarrolla un pensamiento lógico y comprende las relaciones causales. Empiezan a comprender que las cosas pueden tener múltiples perspectivas y que los conceptos pueden ser más complejos de lo que parecen a simple vista. Etapa de operaciones formales (12 años en adelante): En esta etapa, el individuo desarrolla un pensamiento abstracto y puede comprender conceptos complejos y abstractos. Son capaces de razonar hipotéticamente y tienen la capacidad de reflexionar sobre su propio pensamiento. Estas etapas no son lineales y algunos individuos pueden avanzar en una etapa más rápidamente que en otras. La teoría de Piaget sobre el desarrollo cognitivo ha sido ampliamente utilizada y es una base importante para la investigación y el entendimiento del desarrollo humano.### Human: ¿Hay otras teorías sobre las etapas del desarrollo que reafirmen o contradigan a la teoría de Piaget?from autotrain-advanced.
this issue is now resolved in latest release. please let me know if you are still facing problems.
version 0.7.122+
from autotrain-advanced.
Thank you for your help. I am still facing the same problem. Some relevant info:
Results of pip show autotrain-advanced
Name: autotrain-advanced
Version: 0.7.123
Summary:
Home-page: https://github.com/huggingface/autotrain-advanced
Author: HuggingFace Inc.
Author-email: [email protected]
License: Apache 2.0
Location: /usr/local/lib/python3.10/dist-packages
Requires: accelerate, albumentations, authlib, bitsandbytes, codecarbon, cryptography, datasets, diffusers, einops, evaluate, fastapi, hf-transfer, httpx, huggingface-hub, invisible-watermark, ipadic, itsdangerous, jiwer, joblib, loguru, nltk, nvitop, optuna, packaging, pandas, peft, Pillow, protobuf, py7zr, pycocotools, pydantic, pyngrok, python-multipart, pyyaml, requests, rouge-score, sacremoses, scikit-learn, sentence-transformers, sentencepiece, seqeval, tensorboard, tiktoken, timm, torchmetrics, tqdm, transformers, trl, uvicorn, werkzeug, xgboost
Required-by:
config.yml
backend: local
base_model: google/gemma-2b
data:
column_mapping:
text: text
path: data/train.csv
train_split: train
valid_split: null
hub:
push_to_hub: true
token: ${{HF_TOKEN}}
username: ${{HF_USERNAME}}
log: tensorboard
params:
batch_size: 2
block_size: 1024
epochs: 3
gradient_accumulation: 4
lr: 3.0e-05
mixed_precision: fp16
model_max_length: 2048
optimizer: adamw_torch
peft: true
scheduler: linear
target_modules: all-linear
unsloth: false
project_name: autotrain-jo5a6-odfwk
task: llm
Error
Training is starting... Please wait!
INFO | 2024-06-17 15:31:06 | autotrain.cli.autotrain:main:58 - Using AutoTrain configuration: config.yml
INFO | 2024-06-17 15:31:06 | autotrain.parser:post_init:133 - Running task: lm_training
INFO | 2024-06-17 15:31:06 | autotrain.parser:post_init:134 - Using backend: local
Traceback (most recent call last):
File "/usr/local/bin/autotrain", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/autotrain/cli/autotrain.py", line 59, in main
cp = AutoTrainConfigParser(args.config)
File "", line 4, in init
File "/usr/local/lib/python3.10/dist-packages/autotrain/parser.py", line 136, in post_init
self.parsed_config = self._parse_config()
File "/usr/local/lib/python3.10/dist-packages/autotrain/parser.py", line 151, in _parse_config
params["chat_template"] = self.config["data"]["chat_template"]
KeyError: 'chat_template'
An error occurred while starting training!
Error: Training failed with exit code: 1
from autotrain-advanced.
@arthurgcarvalho the fix was for colab ui. are you using the colab ui? or launching training using autotrain --config command?
from autotrain-advanced.
Yep, I am using Colab UI by running the following commands (from the template at https://github.com/huggingface/autotrain-advanced?tab=readme-ov-file):
!pip install -U autotrain-advanced > install_logs.txt 2>&1
from IPython.display import display
from autotrain.app.colab import colab_app
elements = colab_app()
display(elements)
from autotrain-advanced.
In case it helps (the install_logs.txt file is attached)
install_logs.txt
from autotrain-advanced.
apologies. i overlooked. issue is resolved in latest version now.
from autotrain-advanced.
THANK YOU!
from autotrain-advanced.
Related Issues (20)
- [BUG] ImportError: cannot import name 'get_full_repo_name' from 'huggingface_hub' HOT 2
- NEFT noise alpha request HOT 1
- [BUG] Incorrect Sort Parameter in fetch_models function HOT 3
- [FEATURE REQUEST] SD3 lora training support HOT 1
- stable diffusion 3 support[FEATURE REQUEST]请支持sd3 HOT 2
- Where is the fine-tuned model output? HOT 6
- [BUG]When running a seq2seq training task on the CPU, an error occurs. HOT 2
- [FEATURE REQUEST] Multi-node support
- [BUG] TypeError: can only concatenate list (not "str") to list HOT 12
- Bug or Download Manipulation of Model HOT 1
- Valid Data is set to None when not applying chat template
- RuntimeError: operator torchvision::nms does not exist HOT 10
- Override valid_data[BUG] HOT 1
- [BUG] ModuleNotFoundError: No module named '_ctypes' HOT 1
- [BUG] No such file or directory adapter_model.bin when train with validation dataset HOT 1
- Autotrain-Advanced issues HOT 2
- Gemma2 support[FEATURE REQUEST]
- [FEATURE REQUEST] Allow us to save our models locally HOT 14
- maybe problem with token HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autotrain-advanced.