Comments (2)
Thank you for reporting this
#90 should fix this issue
from llm-foundry.
@vchiley This problem will still occur when the default value for a specific config key is not a mapping but the override value is. This is the case for e.g., llama-2-hf
scaled rope embeddings. The relevant part of the config.json
is null
by default, but to activate the scaling you replace it with a map
like so:
model:
name: hf_causal_lm
init_device: mixed
pretrained_model_name_or_path: meta-llama/Llama-2-13b-hf
pretrained: true
use_auth_token: true
attention_patch_type: triton
config_overrides:
max_position_embeddings: ${half_max_seq_len}
rope_scaling:
type: linear
factor: 2
from llm-foundry.
Related Issues (20)
- Opt-3b Pretrain YAML config failing with mosaicml/llm-foundry/2.2.1_cu121_flash2-4aef5de docker HOT 2
- Observing 1/2 the throughput on AMD MI250 HOT 4
- Add State Space Models / Mamba Layer Support
- Possibility of training with hostname instead IP HOT 1
- Train with attention mask HOT 1
- MoE with FSDP HOT 1
- Conversion Sharded -> Monolithic checkpoint HOT 1
- Finetuning does not work on nightly HOT 2
- LLaMA PRO training resume problem HOT 6
- could you give an elaborated steps about how to run llm-foundry on AMD mi250 devices HOT 1
- How to continue pretrain LLM fp8 with hf_causal_lm HOT 1
- Fill in the middle HOT 2
- Why is there a warmup in hf_generate.py? HOT 1
- Managing Timeout on Training Errors and Simultaneous Restart of All Nodes in LLM Foundry HOT 1
- Allow multiprocessing when preparing ICL dataset HOT 8
- MPT training with ALiBi and Flash Attention 2 HOT 4
- Unable to use self developed pre-trained model for finetuning in MosaicML HOT 1
- Composer lora weights conversion HOT 3
- Update StreamingTextDataset to support truncation with multiple truncated items out. HOT 2
- Any example script to run multi-node training for slurm? HOT 7
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 llm-foundry.